diff options
author | Stefan Agner <stefan.agner@toradex.com> | 2018-01-10 10:54:52 +0100 |
---|---|---|
committer | Stefan Agner <stefan.agner@toradex.com> | 2018-01-10 11:06:18 +0100 |
commit | 8f02313caf116bafa3b19b82151d7ff9e9a7f0a2 (patch) | |
tree | e74732122ffbe9ce3261f051d0206e6c2c156000 | |
parent | b51f3981db39bc73aa29dd4ed24251c75c3714fa (diff) |
apalis-imx8qm: add GPIO FAN and USBH_EN regulator
Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
-rw-r--r-- | arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts index 80817892c265..9a6a15326a6a 100644 --- a/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts +++ b/arch/arm64/boot/dts/freescale/fsl-imx8qm-apalis.dts @@ -35,6 +35,28 @@ default-on; status = "okay"; }; + + reg_usb_host_vbus: regulator-usb-host-vbus { + compatible = "regulator-fixed"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_usbh_en>; + regulator-name = "usb_host_vbus"; + regulator-min-microvolt = <5000000>; + regulator-max-microvolt = <5000000>; + gpio = <&gpio4 4 GPIO_ACTIVE_HIGH>; + enable-active-high; + regulator-always-on; + status = "disabled"; + }; + + gpio-fan { + compatible = "gpio-fan"; + pinctrl-names = "default"; + pinctrl-0 = <&pinctrl_gpio8>; + gpios = <&gpio3 28 GPIO_ACTIVE_HIGH>; + gpio-fan,speed-map = < 0 0 + 3000 1>; + }; }; &sai_hdmi_tx { @@ -295,6 +317,24 @@ SC_P_USB_SS3_TC0_CONN_USB_OTG1_PWR 0x00000021 >; }; + + pinctrl_usbh_en: usbhen { + fsl,pins = < + SC_P_USB_SS3_TC1_LSIO_GPIO4_IO04 0x00000021 + >; + }; + + pinctrl_gpio8: gpio8 { + fsl,pins = < + SC_P_MLB_DATA_LSIO_GPIO3_IO28 0x00000021 + >; + }; + + pinctrl_usb3503a: usb3503agrp { + fsl,pins = < + SC_P_SCU_GPIO0_06_LSIO_GPIO1_IO02 0x00000021 + >; + }; }; }; |