diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-08-18 19:38:18 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2009-08-25 10:43:58 -0400 |
commit | ec80fb2d89a0a93db46bdc968b6a849be5340531 (patch) | |
tree | f864028805e8aa629cb2a5e1e5dcfe9649fc587e /arch | |
parent | c9c419773d2a84af8ff2f91c859d3d16592c947b (diff) |
powerpc/85xx: Add eSDHC support for MPC8536DS boards
This patch simply adds sdhci node to the device tree.
We specify clock-frequency manually, so that eSDHC will work without
upgrading U-Boot. Though, that'll only work for default setup (1500
MHz) on new board revisions. For non-default setups, it's recommended
to upgrade U-Boot, since it will fixup clock-frequency automatically.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/powerpc/boot/dts/mpc8536ds.dts | 8 | ||||
-rw-r--r-- | arch/powerpc/boot/dts/mpc8536ds_36b.dts | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/boot/dts/mpc8536ds.dts b/arch/powerpc/boot/dts/mpc8536ds.dts index 22caf69e6efd..815cebb2e3e5 100644 --- a/arch/powerpc/boot/dts/mpc8536ds.dts +++ b/arch/powerpc/boot/dts/mpc8536ds.dts | |||
@@ -250,6 +250,14 @@ | |||
250 | phy_type = "ulpi"; | 250 | phy_type = "ulpi"; |
251 | }; | 251 | }; |
252 | 252 | ||
253 | sdhci@2e000 { | ||
254 | compatible = "fsl,mpc8536-esdhc", "fsl,esdhc"; | ||
255 | reg = <0x2e000 0x1000>; | ||
256 | interrupts = <72 0x2>; | ||
257 | interrupt-parent = <&mpic>; | ||
258 | clock-frequency = <250000000>; | ||
259 | }; | ||
260 | |||
253 | serial0: serial@4500 { | 261 | serial0: serial@4500 { |
254 | cell-index = <0>; | 262 | cell-index = <0>; |
255 | device_type = "serial"; | 263 | device_type = "serial"; |
diff --git a/arch/powerpc/boot/dts/mpc8536ds_36b.dts b/arch/powerpc/boot/dts/mpc8536ds_36b.dts index 113ed8b7c898..d95b26021e62 100644 --- a/arch/powerpc/boot/dts/mpc8536ds_36b.dts +++ b/arch/powerpc/boot/dts/mpc8536ds_36b.dts | |||
@@ -250,6 +250,14 @@ | |||
250 | phy_type = "ulpi"; | 250 | phy_type = "ulpi"; |
251 | }; | 251 | }; |
252 | 252 | ||
253 | sdhci@2e000 { | ||
254 | compatible = "fsl,mpc8536-esdhc", "fsl,esdhc"; | ||
255 | reg = <0x2e000 0x1000>; | ||
256 | interrupts = <72 0x2>; | ||
257 | interrupt-parent = <&mpic>; | ||
258 | clock-frequency = <250000000>; | ||
259 | }; | ||
260 | |||
253 | serial0: serial@4500 { | 261 | serial0: serial@4500 { |
254 | cell-index = <0>; | 262 | cell-index = <0>; |
255 | device_type = "serial"; | 263 | device_type = "serial"; |