]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: at91/dts: add nodes for atmel hsmci controllers for atmel boards
authorLudovic Desroches <ludovic.desroches@atmel.com>
Mon, 19 Nov 2012 11:24:02 +0000 (12:24 +0100)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Mon, 19 Nov 2012 17:10:23 +0000 (01:10 +0800)
Add mci controller nodes to atmel boards.

Signed-off-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
arch/arm/boot/dts/at91sam9263ek.dts
arch/arm/boot/dts/at91sam9g20ek_2mmc.dts
arch/arm/boot/dts/at91sam9g20ek_common.dtsi
arch/arm/boot/dts/at91sam9m10g45ek.dts
arch/arm/boot/dts/at91sam9n12ek.dts
arch/arm/boot/dts/at91sam9x5ek.dtsi

index e6a57a37156d585c374cda78b9fa4ee6364049b1..8e319bbd7ae1ca2bdd2bf494b3b1b5e4be52dada 100644 (file)
                                atmel,vbus-gpio = <&pioA 25 0>;
                                status = "okay";
                        };
+
+                       mmc0: mmc@fff80000 {
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioE 18 0>;
+                                       wp-gpios = <&pioE 19 0>;
+                               };
+                       };
                };
 
                nand0: nand@40000000 {
index f1b2e148ac8cd679be6e3b00f6b9b0c1d65aedc8..684b22982f8a1586228789d4ea4483949a047145 100644 (file)
        model = "Atmel at91sam9g20ek 2 mmc";
        compatible = "atmel,at91sam9g20ek_2mmc", "atmel,at91sam9g20", "atmel,at91sam9";
 
+       ahb {
+               apb{
+                       mmc0: mmc@fffa8000 {
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioC 2 0>;
+                               };
+                       };
+               };
+       };
+
        leds {
                compatible = "gpio-leds";
 
index 63a0e5ddd0a15d353c6d9e7296193e44c435c841..0090015a7d5446a0809ab3b68bd3830f946fd1d2 100644 (file)
                                atmel,vbus-gpio = <&pioC 5 0>;
                                status = "okay";
                        };
+
+                       mmc0: mmc@fffa8000 {
+                               status = "okay";
+                               slot@1 {
+                                       reg = <1>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioC 9 0>;
+                               };
+                       };
                };
 
                nand0: nand@40000000 {
index afd586720b154c90df681fa82b4104d12c650875..1fc299fe66bc64c139d33eab997d5ce9f50f7afd 100644 (file)
                        i2c1: i2c@fff88000 {
                                status = "okay";
                        };
+
+                       mmc0: mmc@fff80000 {
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioD 10 0>;
+                               };
+                       };
+
+                       mmc1: mmc@fffd0000 {
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioD 11 0>;
+                                       wp-gpios = <&pioD 29 0>;
+                               };
+                       };
                };
 
                nand0: nand@40000000 {
index 912b2c283d6f8d34ac7ac8273b8130360547ef81..3d165bc919f894b67faade3f708317fc2ad6320e 100644 (file)
                        i2c1: i2c@f8014000 {
                                status = "okay";
                        };
+
+                       mmc0: mmc@f0008000 {
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioA 7 0>;
+                               };
+                       };
                };
 
                nand0: nand@40000000 {
index cc9730c60180397f09f0a0f1a89a15de92baf12f..e042b5eaf6800d4fe5a1a312caa6241d1b1babc3 100644 (file)
 
        ahb {
                apb {
+                       mmc0: mmc@f0008000 {
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioD 15 0>;
+                               };
+                       };
+
+                       mmc1: mmc@f000c000 {
+                               status = "okay";
+                               slot@0 {
+                                       reg = <0>;
+                                       bus-width = <4>;
+                                       cd-gpios = <&pioD 14 0>;
+                               };
+                       };
+
                        dbgu: serial@fffff200 {
                                status = "okay";
                        };