powerpc/83xx: Add FSL eSDHC support for MPC837x-RDB boards
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Thu, 5 Feb 2009 19:04:59 +0000 (22:04 +0300)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 6 Feb 2009 16:49:08 +0000 (10:49 -0600)
Simply add appropriate sdhci nodes.

Note that U-Boot should configure pin multiplexing for eSDHC prior
to Linux could use it. U-Boot should also fill-in the clock-frequency
property (eSDHC clock depends on board-specific SCCR[ESDHCCM] bits).

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/boot/dts/mpc8377_rdb.dts
arch/powerpc/boot/dts/mpc8378_rdb.dts
arch/powerpc/boot/dts/mpc8379_rdb.dts

index 54b4520..fb1d884 100644 (file)
                        fsl,descriptor-types-mask = <0x3ab0ebf>;
                };
 
+               sdhci@2e000 {
+                       compatible = "fsl,mpc8377-esdhc", "fsl,mpc8379-esdhc";
+                       reg = <0x2e000 0x1000>;
+                       interrupts = <42 0x8>;
+                       interrupt-parent = <&ipic>;
+                       /* Filled in by U-Boot */
+                       clock-frequency = <0>;
+               };
+
                sata@18000 {
                        compatible = "fsl,mpc8377-sata", "fsl,pq-sata";
                        reg = <0x18000 0x1000>;
index 7243374..37c8555 100644 (file)
                        fsl,descriptor-types-mask = <0x3ab0ebf>;
                };
 
+               sdhci@2e000 {
+                       compatible = "fsl,mpc8378-esdhc", "fsl,mpc8379-esdhc";
+                       reg = <0x2e000 0x1000>;
+                       interrupts = <42 0x8>;
+                       interrupt-parent = <&ipic>;
+                       /* Filled in by U-Boot */
+                       clock-frequency = <0>;
+               };
+
                /* IPIC
                 * interrupts cell = <intr #, sense>
                 * sense values match linux IORESOURCE_IRQ_* defines:
index 6dac476..e2f98e6 100644 (file)
                        fsl,descriptor-types-mask = <0x3ab0ebf>;
                };
 
+               sdhci@2e000 {
+                       compatible = "fsl,mpc8379-esdhc";
+                       reg = <0x2e000 0x1000>;
+                       interrupts = <42 0x8>;
+                       interrupt-parent = <&ipic>;
+                       /* Filled in by U-Boot */
+                       clock-frequency = <0>;
+               };
+
                sata@18000 {
                        compatible = "fsl,mpc8379-sata", "fsl,pq-sata";
                        reg = <0x18000 0x1000>;