diff options
author | Peter Chen <peter.chen@nxp.com> | 2020-01-20 10:04:43 +0800 |
---|---|---|
committer | Peter Chen <peter.chen@nxp.com> | 2020-02-16 21:07:09 +0800 |
commit | 44b24b4510c9b2068bb5b71c44586d93c5c34d48 (patch) | |
tree | 88b73d9171430f768feb235b75c4b0149eb07e12 /arch/arm/boot/dts/imx7ulp-evk.dts | |
parent | 4aacff7743e17b119963c44bd65eb685d9dda465 (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.dts | 6 |
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 = <®_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; |