imx8mq-librem5-devkit.dts : add the rsi_91x driver to the devicetree

parent 30641e91
......@@ -37,6 +37,16 @@
regulator-always-on;
};
wifi_pwr_en: wifi_en {
compatible = "regulator-fixed";
regulator-name = "WIFI_EN";
regulator-min-microvolt = <3300000>;
regulator-max-microvolt = <3300000>;
gpio = <&gpio3 5 GPIO_ACTIVE_HIGH>;
enable-active-high;
regulator-always-on;
};
pmic_osc: pmic_osc {
compatible = "fixed-clock";
#clock-cells = <0>;
......@@ -171,7 +181,6 @@
pinctrl_pcie1: pcie1grp {
fsl,pins = <
MX8MQ_IOMUXC_NAND_WP_B_GPIO3_IO18 0x16
MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5 0x16
MX8MQ_IOMUXC_NAND_WE_B_GPIO3_IO17 0x16
>;
};
......@@ -284,7 +293,8 @@
pinctrl_usdhc2_gpio: usdhc2grpgpio {
fsl,pins = <
MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41
MX8MQ_IOMUXC_SD2_RESET_B_GPIO2_IO19 0x41 /* nWIFI_RESET */
MX8MQ_IOMUXC_NAND_CLE_GPIO3_IO5 0x16 /* nWIFI_DISABLE */
MX8MQ_IOMUXC_SD2_WP_GPIO2_IO20 0x80 /* WIFI_WAKE */
>;
};
......@@ -776,6 +786,22 @@
status = "okay";
};
&usdhc2 {
pinctrl-names = "default", "state_100mhz", "state_200mhz";
pinctrl-0 = <&pinctrl_usdhc2>, <&pinctrl_usdhc2_gpio>;
pinctrl-1 = <&pinctrl_usdhc2_100mhz>, <&pinctrl_usdhc2_gpio>;
pinctrl-2 = <&pinctrl_usdhc2_200mhz>, <&pinctrl_usdhc2_gpio>;
bus-width = <4>;
vmmc-supply = <&reg_usdhc2_vmmc>;
power-supply = <&wifi_pwr_en>;
non-removable;
disable-wp;
cap-sdio-irq;
keep-power-in-suspend;
wakeup-source;
status = "okay";
};
&wdog1 {
pinctrl-names = "default";
pinctrl-0 = <&pinctrl_wdog>;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment