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 03:20:25 +0200
committerUros Majstorovic <majstor@majstor.org>2021-08-18 03:20:25 +0200
commita4db825b4daf66f94c5f9f8450b7f27c42308735 (patch)
tree512ad02256c837559d118dbf07fb7d34cffd4abc /recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
parentdaaa3cc09775176ccf818f24a77f173bf42d3541 (diff)
refactor 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.dtsi24
1 files changed, 24 insertions, 0 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
new file mode 100644
index 0000000..45acca5
--- /dev/null
+++ b/recipes-kernel/linux/rvphone/cl-imx8/dts/cl-imx8-wifi.dtsi
@@ -0,0 +1,24 @@
+&iomuxc {
+ rvphone-cl-imx8-wifi {
+ pinctrl_pcie1: pcie1grp {
+ fsl,pins = <
+ MX8MQ_IOMUXC_SAI3_RXC_GPIO4_IO29 0x16 /* WIFI reset-gpio */
+ MX8MQ_IOMUXC_GPIO1_IO01_GPIO1_IO1 0x16 /* WIFI disable-gpio */
+
+ MX8MQ_IOMUXC_GPIO1_IO03_GPIO1_IO3 0x16 /* WIFI pewake */
+ MX8MQ_IOMUXC_GPIO1_IO00_ANAMIX_REF_CLK_32K 0x16
+ >;
+ };
+
+ };
+};
+
+&pcie1 {
+ pinctrl-names = "default";
+ pinctrl-0 = <&pinctrl_pcie1>;
+ reset-gpio = <&gpio4 29 GPIO_ACTIVE_LOW>;
+ disable-gpio = <&gpio1 1 GPIO_ACTIVE_LOW>;
+ ext_osc = <0>;
+ hard-wired = <1>;
+ status = "okay";
+};