aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/kirkwood-mplcec4.dts
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-12-21 09:49:12 -0500
committerArnd Bergmann <arnd@arndb.de>2013-02-28 12:57:11 -0500
commit5dd8a01003355da95e23e3609e98a968001c3ee8 (patch)
tree8958252810db61beb5c3f7769de406ecb5abc487 /arch/arm/boot/dts/kirkwood-mplcec4.dts
parenta49da46c5274228334393083a6635d04eee04363 (diff)
arm: kirkwood: mplcec4: use Device Tree to probe SDIO
Now that the mvsdio driver has a Device Tree binding, and the SDIO controller is declared in kirkwood.dtsi, migrate the mplcec4 board to use the Device Tree to probe the SDIO controller and to mux the pins of the SDIO interface correctly. This patch has not been tested, it remains to be tested by a person having access to the hardware. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Stefan Peter <s.peter@mpl.ch> Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'arch/arm/boot/dts/kirkwood-mplcec4.dts')
-rw-r--r--arch/arm/boot/dts/kirkwood-mplcec4.dts11
1 files changed, 9 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/kirkwood-mplcec4.dts b/arch/arm/boot/dts/kirkwood-mplcec4.dts
index 262c65403760..662dfd81b1ce 100644
--- a/arch/arm/boot/dts/kirkwood-mplcec4.dts
+++ b/arch/arm/boot/dts/kirkwood-mplcec4.dts
@@ -20,12 +20,11 @@
20 pinctrl: pinctrl@10000 { 20 pinctrl: pinctrl@10000 {
21 21
22 pinctrl-0 = < &pmx_nand &pmx_uart0 22 pinctrl-0 = < &pmx_nand &pmx_uart0
23 &pmx_led_health &pmx_sdio 23 &pmx_led_health
24 &pmx_sata0 &pmx_sata1 24 &pmx_sata0 &pmx_sata1
25 &pmx_led_user1o 25 &pmx_led_user1o
26 &pmx_led_user1g &pmx_led_user0o 26 &pmx_led_user1g &pmx_led_user0o
27 &pmx_led_user0g &pmx_led_misc 27 &pmx_led_user0g &pmx_led_misc
28 &pmx_sdio_cd
29 >; 28 >;
30 pinctrl-names = "default"; 29 pinctrl-names = "default";
31 30
@@ -133,6 +132,14 @@
133 status = "okay"; 132 status = "okay";
134 133
135 }; 134 };
135
136 mvsdio@90000 {
137 pinctrl-0 = <&pmx_sdio &pmx_sdio_cd>;
138 pinctrl-names = "default";
139 status = "okay";
140 cd-gpios = <&gpio1 15 0>;
141 /* No WP GPIO */
142 };
136 }; 143 };
137 144
138 gpio-leds { 145 gpio-leds {