]> rtime.felk.cvut.cz Git - lisovros/linux_canprio.git/commitdiff
powerpc/85xx: Add eSDHC support for MPC8536DS boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 18 Aug 2009 23:38:18 +0000 (03:38 +0400)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 25 Aug 2009 14:43:58 +0000 (09:43 -0500)
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>
arch/powerpc/boot/dts/mpc8536ds.dts
arch/powerpc/boot/dts/mpc8536ds_36b.dts

index 22caf69e6efdf4e3ed6f5d4947dec3bd0053b0b2..815cebb2e3e593641feae4101fde07d419641110 100644 (file)
                        phy_type = "ulpi";
                };
 
+               sdhci@2e000 {
+                       compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
+                       reg = <0x2e000 0x1000>;
+                       interrupts = <72 0x2>;
+                       interrupt-parent = <&mpic>;
+                       clock-frequency = <250000000>;
+               };
+
                serial0: serial@4500 {
                        cell-index = <0>;
                        device_type = "serial";
index 113ed8b7c8982a8fc41aca750ac0108d661d060d..d95b26021e625edcce2178df75ff5a1372a08908 100644 (file)
                        phy_type = "ulpi";
                };
 
+               sdhci@2e000 {
+                       compatible = "fsl,mpc8536-esdhc", "fsl,esdhc";
+                       reg = <0x2e000 0x1000>;
+                       interrupts = <72 0x2>;
+                       interrupt-parent = <&mpic>;
+                       clock-frequency = <250000000>;
+               };
+
                serial0: serial@4500 {
                        cell-index = <0>;
                        device_type = "serial";