summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/imx7ulp-evk.dts
diff options
context:
space:
mode:
authorPeter Chen <peter.chen@nxp.com>2020-01-20 10:04:43 +0800
committerPeter Chen <peter.chen@nxp.com>2020-02-16 21:07:09 +0800
commit44b24b4510c9b2068bb5b71c44586d93c5c34d48 (patch)
tree88b73d9171430f768feb235b75c4b0149eb07e12 /arch/arm/boot/dts/imx7ulp-evk.dts
parent4aacff7743e17b119963c44bd65eb685d9dda465 (diff)
LF-835-2 ARM: dts: imx7ulp-evk: add pinctrl for suspend
For imx7ulp, the power of pinctrl is lost during the system susupend, so we need to restore the pinctrl value after resume. Add one group pinctrl for "sleep" for both id and vbus pinctrl. Reviewed-by: Jun Li <jun.li@nxp.com> Acked-by: Leonard Crestez <leonard.crestez@nxp.com> Signed-off-by: Peter Chen <peter.chen@nxp.com> Signed-off-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'arch/arm/boot/dts/imx7ulp-evk.dts')
-rw-r--r--arch/arm/boot/dts/imx7ulp-evk.dts6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/imx7ulp-evk.dts b/arch/arm/boot/dts/imx7ulp-evk.dts
index d67ca52042eb..3bf6bb071fa0 100644
--- a/arch/arm/boot/dts/imx7ulp-evk.dts
+++ b/arch/arm/boot/dts/imx7ulp-evk.dts
@@ -125,8 +125,9 @@
reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
compatible = "regulator-fixed";
- pinctrl-names = "default";
+ pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_usbotg1_vbus>;
+ pinctrl-1 = <&pinctrl_usbotg1_vbus>;
regulator-name = "usb_otg1_vbus";
regulator-min-microvolt = <5000000>;
regulator-max-microvolt = <5000000>;
@@ -402,8 +403,9 @@
&usbotg1 {
vbus-supply = <&reg_usb_otg1_vbus>;
- pinctrl-names = "default";
+ pinctrl-names = "default", "sleep";
pinctrl-0 = <&pinctrl_usbotg1_id>;
+ pinctrl-1 = <&pinctrl_usbotg1_id>;
srp-disable;
hnp-disable;
adp-disable;