diff options
author | Tony Prisk <linux@prisktech.co.nz> | 2013-04-11 15:00:29 -0400 |
---|---|---|
committer | Olof Johansson <olof@lixom.net> | 2013-04-13 01:40:28 -0400 |
commit | 3e87515a2f5a4b6dc2147b9b0556cd76d67071a8 (patch) | |
tree | 63c19f4af2c349fc56db8a2a97505e94c17feaa2 | |
parent | 768cc7675dc9b10f08d369b3a282a58f7020061c (diff) |
arm: vt8500: Add SDHC support to WM8505 DT
This patch adds the required node for the SDHC controller on WM8505 SoCs.
Signed-off-by: Tony Prisk <linux@prisktech.co.nz>
Signed-off-by: Olof Johansson <olof@lixom.net>
-rw-r--r-- | arch/arm/boot/dts/wm8505.dtsi | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/wm8505.dtsi b/arch/arm/boot/dts/wm8505.dtsi index e74a1c0fb9a2..388f26d0d449 100644 --- a/arch/arm/boot/dts/wm8505.dtsi +++ b/arch/arm/boot/dts/wm8505.dtsi | |||
@@ -60,6 +60,19 @@ | |||
60 | clock-frequency = <24000000>; | 60 | clock-frequency = <24000000>; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | ref25: ref25M { | ||
64 | #clock-cells = <0>; | ||
65 | compatible = "fixed-clock"; | ||
66 | clock-frequency = <25000000>; | ||
67 | }; | ||
68 | |||
69 | pllb: pllb { | ||
70 | #clock-cells = <0>; | ||
71 | compatible = "via,vt8500-pll-clock"; | ||
72 | clocks = <&ref25>; | ||
73 | reg = <0x204>; | ||
74 | }; | ||
75 | |||
63 | clkuart0: uart0 { | 76 | clkuart0: uart0 { |
64 | #clock-cells = <0>; | 77 | #clock-cells = <0>; |
65 | compatible = "via,vt8500-device-clock"; | 78 | compatible = "via,vt8500-device-clock"; |
@@ -107,6 +120,16 @@ | |||
107 | enable-reg = <0x250>; | 120 | enable-reg = <0x250>; |
108 | enable-bit = <23>; | 121 | enable-bit = <23>; |
109 | }; | 122 | }; |
123 | |||
124 | clksdhc: sdhc { | ||
125 | #clock-cells = <0>; | ||
126 | compatible = "via,vt8500-device-clock"; | ||
127 | clocks = <&pllb>; | ||
128 | divisor-reg = <0x328>; | ||
129 | divisor-mask = <0x3f>; | ||
130 | enable-reg = <0x254>; | ||
131 | enable-bit = <18>; | ||
132 | }; | ||
110 | }; | 133 | }; |
111 | }; | 134 | }; |
112 | 135 | ||
@@ -187,5 +210,13 @@ | |||
187 | reg = <0xd8100000 0x10000>; | 210 | reg = <0xd8100000 0x10000>; |
188 | interrupts = <48>; | 211 | interrupts = <48>; |
189 | }; | 212 | }; |
213 | |||
214 | sdhc@d800a000 { | ||
215 | compatible = "wm,wm8505-sdhc"; | ||
216 | reg = <0xd800a000 0x1000>; | ||
217 | interrupts = <20 21>; | ||
218 | clocks = <&clksdhc>; | ||
219 | bus-width = <4>; | ||
220 | }; | ||
190 | }; | 221 | }; |
191 | }; | 222 | }; |