提交 4134a455 编写于 作者: L Ludovic Desroches 提交者: Jean-Christophe PLAGNIOL-VILLARD

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

Add mci controller nodes to atmel boards.
Signed-off-by: NLudovic Desroches <ludovic.desroches@atmel.com>
Acked-by: NArnd Bergmann <arnd@arndb.de>
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
上级 9873137a
...@@ -54,6 +54,16 @@ ...@@ -54,6 +54,16 @@
atmel,vbus-gpio = <&pioA 25 0>; atmel,vbus-gpio = <&pioA 25 0>;
status = "okay"; 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 { nand0: nand@40000000 {
......
...@@ -12,6 +12,18 @@ ...@@ -12,6 +12,18 @@
model = "Atmel at91sam9g20ek 2 mmc"; model = "Atmel at91sam9g20ek 2 mmc";
compatible = "atmel,at91sam9g20ek_2mmc", "atmel,at91sam9g20", "atmel,at91sam9"; 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 { leds {
compatible = "gpio-leds"; compatible = "gpio-leds";
......
...@@ -58,6 +58,15 @@ ...@@ -58,6 +58,15 @@
atmel,vbus-gpio = <&pioC 5 0>; atmel,vbus-gpio = <&pioC 5 0>;
status = "okay"; status = "okay";
}; };
mmc0: mmc@fffa8000 {
status = "okay";
slot@1 {
reg = <1>;
bus-width = <4>;
cd-gpios = <&pioC 9 0>;
};
};
}; };
nand0: nand@40000000 { nand0: nand@40000000 {
......
...@@ -58,6 +58,25 @@ ...@@ -58,6 +58,25 @@
i2c1: i2c@fff88000 { i2c1: i2c@fff88000 {
status = "okay"; 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 { nand0: nand@40000000 {
......
...@@ -45,6 +45,15 @@ ...@@ -45,6 +45,15 @@
i2c1: i2c@f8014000 { i2c1: i2c@f8014000 {
status = "okay"; status = "okay";
}; };
mmc0: mmc@f0008000 {
status = "okay";
slot@0 {
reg = <0>;
bus-width = <4>;
cd-gpios = <&pioA 7 0>;
};
};
}; };
nand0: nand@40000000 { nand0: nand@40000000 {
......
...@@ -18,6 +18,24 @@ ...@@ -18,6 +18,24 @@
ahb { ahb {
apb { 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 { dbgu: serial@fffff200 {
status = "okay"; status = "okay";
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册