Re: [PATCH 7/7] powerpc/85xx: Add eSDHC support for MPC8536DS boards

2009-08-11 Thread Kumar Gala


On Aug 7, 2009, at 2:58 PM, Anton Vorontsov wrote:


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 
---
arch/powerpc/boot/dts/mpc8536ds.dts |8 
1 files changed, 8 insertions(+), 0 deletions(-)


Can you update the mpc8536ds_36b.dts as well (its in my next branch)

- k
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev


[PATCH 7/7] powerpc/85xx: Add eSDHC support for MPC8536DS boards

2009-08-07 Thread Anton Vorontsov
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 
---
 arch/powerpc/boot/dts/mpc8536ds.dts |8 
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/arch/powerpc/boot/dts/mpc8536ds.dts 
b/arch/powerpc/boot/dts/mpc8536ds.dts
index 22caf69..815cebb 100644
--- a/arch/powerpc/boot/dts/mpc8536ds.dts
+++ b/arch/powerpc/boot/dts/mpc8536ds.dts
@@ -250,6 +250,14 @@
phy_type = "ulpi";
};
 
+   sd...@2e000 {
+   compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
+   reg = <0x2e000 0x1000>;
+   interrupts = <72 0x2>;
+   interrupt-parent = <&mpic>;
+   clock-frequency = <25000>;
+   };
+
serial0: ser...@4500 {
cell-index = <0>;
device_type = "serial";
-- 
1.6.3.3
___
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev