summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Agner <stefan.agner@toradex.com>2018-01-10 10:54:52 +0100
committerStefan Agner <stefan.agner@toradex.com>2018-01-30 15:27:18 +0100
commit15e2b8932de93127d528459bc1006f3e8a4776d2 (patch)
treed306758703640bc2acad7238d98bd8f589325d98
parent38f04eea77266fd8edeac5817484507468deac56 (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.dts40
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
+ >;
+ };
};
};