1
0
Fork 0

ARM: at91/dts: add nodes for atmel hsmci controllers for atmel boards

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>
hifive-unleashed-5.1
Ludovic Desroches 2012-11-19 12:24:02 +01:00 committed by Jean-Christophe PLAGNIOL-VILLARD
parent 9873137a7a
commit 4134a45527
6 changed files with 77 additions and 0 deletions

View File

@ -54,6 +54,16 @@
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 {

View File

@ -12,6 +12,18 @@
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";

View File

@ -58,6 +58,15 @@
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 {

View File

@ -58,6 +58,25 @@
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 {

View File

@ -45,6 +45,15 @@
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 {

View File

@ -18,6 +18,24 @@
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";
};