MLK-11503-2 ARM: dts: imx7d-12x12-lpddr3-arm2: enable usdhc in lpsr mode
authorHaibo Chen <haibo.chen@freescale.com>
Tue, 8 Sep 2015 06:21:04 +0000 (14:21 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:48:48 +0000 (14:48 -0500)
Add pinctrl sleep mode support for usdhc, and enable usdhc in lpsr mode.

Signed-off-by: Haibo Chen <haibo.chen@freescale.com>
(cherry picked from commit 75b33d1a578abaed44b11a05187c19dedb25aad2)

Conflicts:
arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts

arch/arm/boot/dts/imx7d-12x12-lpddr3-arm2.dts

index 228be03..a66649c 100644 (file)
 };
 
 &usdhc1 {
-       pinctrl-names = "default";
+       pinctrl-names = "default", "sleep";
        pinctrl-0 = <&pinctrl_usdhc1_1>;
+       pinctrl-1 = <&pinctrl_usdhc1_1>;
        cd-gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>;
        no-1-8-v;
 };
 
 &usdhc2 {
-       pinctrl-names = "default", "state_100mhz", "state_200mhz";
+       pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
        pinctrl-0 = <&pinctrl_usdhc2_1>;
        pinctrl-1 = <&pinctrl_usdhc2_1_100mhz>;
        pinctrl-2 = <&pinctrl_usdhc2_1_200mhz>;
+       pinctrl-3 = <&pinctrl_usdhc2_1>;
        cd-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio5 10 GPIO_ACTIVE_HIGH>;
        keep-power-in-suspend;
 };
 
 &usdhc3 {
-       pinctrl-names = "default", "state_100mhz", "state_200mhz";
+       pinctrl-names = "default", "state_100mhz", "state_200mhz", "sleep";
        pinctrl-0 = <&pinctrl_usdhc3_1>;
        pinctrl-1 = <&pinctrl_usdhc3_1_100mhz>;
        pinctrl-2 = <&pinctrl_usdhc3_1_200mhz>;
+       pinctrl-3 = <&pinctrl_usdhc3_1>;
        assigned-clocks = <&clks IMX7D_USDHC3_ROOT_CLK>;
        assigned-clock-rates = <400000000>;
        bus-width = <8>;