diff options
author | Usama Arif <usama.arif@arm.com> | 2020-06-10 16:27:53 +0100 |
---|---|---|
committer | Usama Arif <usama.arif@arm.com> | 2020-08-27 11:20:14 +0100 |
commit | a41973a9dae17d38980b2062f5452353e38855cc (patch) | |
tree | c0f035272a093d2dfb2cb8f38429baba14f05ae1 /fdts | |
parent | a4c979ade4438dfdd69c1b6e23b64e88eb648183 (diff) | |
download | platform_external_arm-trusted-firmware-a41973a9dae17d38980b2062f5452353e38855cc.tar.gz platform_external_arm-trusted-firmware-a41973a9dae17d38980b2062f5452353e38855cc.tar.bz2 platform_external_arm-trusted-firmware-a41973a9dae17d38980b2062f5452353e38855cc.zip |
fdts: tc0: Add node for mmc
The pl180 mmc uses 3.3V fixed regulator and vexpress
sysreg for card detection and write protect.
Change-Id: I2513cfcb97217e282a081a700f3a9f723e8207ff
Signed-off-by: Usama Arif <usama.arif@arm.com>
Diffstat (limited to 'fdts')
-rw-r--r-- | fdts/tc0.dts | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/fdts/tc0.dts b/fdts/tc0.dts index e736e4975..140f47f82 100644 --- a/fdts/tc0.dts +++ b/fdts/tc0.dts @@ -272,6 +272,35 @@ interrupts = <0 204 4>; }; + sysreg: sysreg@1c010000 { + compatible = "arm,vexpress-sysreg"; + reg = <0x0 0x001c010000 0x0 0x1000>; + gpio-controller; + #gpio-cells = <2>; + }; + + fixed_3v3: v2m-3v3 { + compatible = "regulator-fixed"; + regulator-name = "3V3"; + regulator-min-microvolt = <3300000>; + regulator-max-microvolt = <3300000>; + regulator-always-on; + }; + + mmci@1c050000 { + compatible = "arm,pl180", "arm,primecell"; + reg = <0x0 0x001c050000 0x0 0x1000>; + interrupts = <0 107 0x4>, + <0 108 0x4>; + cd-gpios = <&sysreg 0 0>; + wp-gpios = <&sysreg 1 0>; + bus-width = <8>; + max-frequency = <12000000>; + vmmc-supply = <&fixed_3v3>; + clocks = <&bp_clock24mhz>, <&bp_clock24mhz>; + clock-names = "mclk", "apb_pclk"; + }; + dp0: display@2cc00000 { #address-cells = <1>; #size-cells = <0>; |