aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/boot
diff options
context:
space:
mode:
authorDong Aisheng <b29396@freescale.com>2014-02-20 02:24:43 -0500
committerNitin Garg <nitin.garg@freescale.com>2014-04-16 09:57:44 -0400
commitcbc37eb56b7e7142209c8d99516ebc3e6ac4634e (patch)
treee95157783feb3d180d02f3d01c3466a094cf6268 /arch/arm/boot
parentbf6e384b7352be46fc92f2949c46793ed5248c89 (diff)
ENGR00300439-1 dts: imx6sx-17x17-arm2: add usdhc2 and usdhc4 support
add usdhc2 and usdhc4 support Signed-off-by: Dong Aisheng <b29396@freescale.com>
Diffstat (limited to 'arch/arm/boot')
-rw-r--r--arch/arm/boot/dts/imx6sx-17x17-arm2.dts22
-rw-r--r--arch/arm/boot/dts/imx6sx.dtsi33
2 files changed, 55 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts
index f653b2130dbd..89d9591f04d5 100644
--- a/arch/arm/boot/dts/imx6sx-17x17-arm2.dts
+++ b/arch/arm/boot/dts/imx6sx-17x17-arm2.dts
@@ -209,6 +209,8 @@
209 hog { 209 hog {
210 pinctrl_hog_1: hoggrp-1 { 210 pinctrl_hog_1: hoggrp-1 {
211 fsl,pins = < 211 fsl,pins = <
212 MX6SX_PAD_KEY_COL0__GPIO2_IO_10 0x1f059
213 MX6SX_PAD_KEY_ROW0__GPIO2_IO_15 0x1f059
212 MX6SX_PAD_QSPI1A_SS0_B__GPIO4_IO_22 0x80000000 214 MX6SX_PAD_QSPI1A_SS0_B__GPIO4_IO_22 0x80000000
213 >; 215 >;
214 }; 216 };
@@ -269,6 +271,16 @@
269 status = "okay"; 271 status = "okay";
270}; 272};
271 273
274&usdhc2 {
275 pinctrl-names = "default";
276 pinctrl-0 = <&pinctrl_usdhc2_1>;
277 /* need hw rework to enable signal voltage switch */
278 no-1-8-v;
279 keep-power-in-suspend;
280 enable-sdio-wakeup;
281 status = "okay";
282};
283
272&usdhc3 { 284&usdhc3 {
273 pinctrl-names = "default", "state_100mhz", "state_200mhz"; 285 pinctrl-names = "default", "state_100mhz", "state_200mhz";
274 pinctrl-0 = <&pinctrl_usdhc3_1>; 286 pinctrl-0 = <&pinctrl_usdhc3_1>;
@@ -281,3 +293,13 @@
281 enable-sdio-wakeup; 293 enable-sdio-wakeup;
282 status = "okay"; 294 status = "okay";
283}; 295};
296
297&usdhc4 {
298 pinctrl-names = "default";
299 pinctrl-0 = <&pinctrl_usdhc4_1>;
300 bus-width = <8>;
301 non-removable;
302 /* need hw rework to enable signal voltage switch */
303 no-1-8-v;
304 status = "okay";
305};
diff --git a/arch/arm/boot/dts/imx6sx.dtsi b/arch/arm/boot/dts/imx6sx.dtsi
index 5c2e239ae9c8..34bb5d927710 100644
--- a/arch/arm/boot/dts/imx6sx.dtsi
+++ b/arch/arm/boot/dts/imx6sx.dtsi
@@ -338,6 +338,26 @@
338 status = "disabled"; 338 status = "disabled";
339 }; 339 };
340 340
341 usdhc1: usdhc@02190000 {
342 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
343 reg = <0x02190000 0x4000>;
344 interrupts = <0 22 0x04>;
345 clocks = <&clks IMX6SX_CLK_USDHC1>, <&clks IMX6SX_CLK_USDHC1>, <&clks IMX6SX_CLK_USDHC1>;
346 clock-names = "ipg", "ahb", "per";
347 bus-width = <4>;
348 status = "disabled";
349 };
350
351 usdhc2: usdhc@02194000 {
352 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
353 reg = <0x02194000 0x4000>;
354 interrupts = <0 23 0x04>;
355 clocks = <&clks IMX6SX_CLK_USDHC2>, <&clks IMX6SX_CLK_USDHC2>, <&clks IMX6SX_CLK_USDHC2>;
356 clock-names = "ipg", "ahb", "per";
357 bus-width = <4>;
358 status = "disabled";
359 };
360
341 usdhc3: usdhc@02198000 { 361 usdhc3: usdhc@02198000 {
342 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc"; 362 compatible = "fsl,imx6sx-usdhc", "fsl,imx6sl-usdhc";
343 reg = <0x02198000 0x4000>; 363 reg = <0x02198000 0x4000>;
@@ -621,6 +641,19 @@
621 }; 641 };
622 }; 642 };
623 643
644 usdhc2 {
645 pinctrl_usdhc2_1: usdhc2grp-1 {
646 fsl,pins = <
647 MX6SX_PAD_SD2_CMD__USDHC2_CMD 0x17059
648 MX6SX_PAD_SD2_CLK__USDHC2_CLK 0x10059
649 MX6SX_PAD_SD2_DATA0__USDHC2_DATA0 0x17059
650 MX6SX_PAD_SD2_DATA1__USDHC2_DATA1 0x17059
651 MX6SX_PAD_SD2_DATA2__USDHC2_DATA2 0x17059
652 MX6SX_PAD_SD2_DATA3__USDHC2_DATA3 0x17059
653 >;
654 };
655 };
656
624 usdhc3 { 657 usdhc3 {
625 pinctrl_usdhc3_1: usdhc3grp-1 { 658 pinctrl_usdhc3_1: usdhc3grp-1 {
626 fsl,pins = < 659 fsl,pins = <