summaryrefslogtreecommitdiff
path: root/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
diff options
context:
space:
mode:
authorUros Majstorovic <majstor@majstor.org>2021-08-18 05:02:52 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-18 05:02:52 +0200
commita8b51e3fbe3244e5fc7c8590d952425797962178 (patch)
tree2dc1624f21b82ae5ecb68eb9c27cbd906ede6419 /recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
parent72f5e32b508c665999955f97d0db0c24d0fbb26c (diff)
added escp1 to dts
Diffstat (limited to 'recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi')
-rw-r--r--recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi37
1 files changed, 36 insertions, 1 deletions
diff --git a/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
index 45acca5..943a219 100644
--- a/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
+++ b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
@@ -1,5 +1,28 @@
+/ {
+ regulators {
+ reg_usb_mux: regulator-usb-mux {
+ compatible = "regulator-fixed";
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_usbimux1>;
+ regulator-name = "usb_mux";
+ regulator-min-microvolt = <3300000>;
+ regulator-max-microvolt = <3300000>;
+ gpio = <&gpio1 4 GPIO_ACTIVE_HIGH>;
+ regulator-always-on;
+ enable-active-low;
+ };
+ };
+};
+
+
&iomuxc {
rvphone-cl-imx8-wifi {
+ pinctrl_usbimux1: usbmux1grp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_GPIO1_IO04_GPIO1_IO4 0x16
+ >;
+ };
+
pinctrl_pcie1: pcie1grp {
fsl,pins = <
MX8MQ_IOMUXC_SAI3_RXC_GPIO4_IO29 0x16 /* WIFI reset-gpio */
@@ -9,7 +32,6 @@
MX8MQ_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x16
>;
};
-
};
};
@@ -22,3 +44,16 @@
hard-wired = <1>;
status = "okay";
};
+
+&usb3_phy1 {
+ status = "okay";
+};
+
+&usb3_1 {
+ status = "okay";
+};
+
+&usb_dwc3_1 {
+ status = "okay";
+ dr_mode = "host";
+};