arm64: dts: imx8qxp-mek: enable pcie wireless
authorFugang Duan <fugang.duan@nxp.com>
Sat, 2 Nov 2019 10:17:25 +0000 (18:17 +0800)
committerDong Aisheng <aisheng.dong@nxp.com>
Mon, 14 Dec 2020 03:20:33 +0000 (11:20 +0800)
Enable pcie wireless for M.2 interface.
That support cypress and marvell pcie wlan.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
arch/arm64/boot/dts/freescale/imx8qxp-mek.dts

index 0119a4c..c459827 100755 (executable)
                stdout-path = &lpuart0;
        };
 
+       brcmfmac: brcmfmac {
+               compatible = "cypress,brcmfmac";
+               pinctrl-names = "init", "idle", "default";
+               pinctrl-0 = <&pinctrl_wifi_init>;
+               pinctrl-1 = <&pinctrl_wifi_init>;
+               pinctrl-2 = <&pinctrl_wifi>;
+       };
+
        memory@80000000 {
                device_type = "memory";
                reg = <0x00000000 0x80000000 0 0x40000000>;
        pinctrl-names = "default";
        pinctrl-0 = <&pinctrl_pcieb>;
        disable-gpio = <&pca9557_a 2 GPIO_ACTIVE_LOW>;
-       disable2-gpio = <&pca9557_a 0 GPIO_ACTIVE_LOW>;
        reset-gpio = <&lsio_gpio4 0 GPIO_ACTIVE_LOW>;
        ext_osc = <1>;
        status = "okay";
                        IMX8QXP_CSI_RESET_LSIO_GPIO3_IO03       0xC0000041
                >;
        };
+
+       pinctrl_wifi: wifigrp{
+               fsl,pins = <
+                       IMX8QXP_SCU_BOOT_MODE3_SCU_DSC_RTC_CLOCK_OUTPUT_32K     0x20
+               >;
+       };
+
+       pinctrl_wifi_init: wifi_initgrp{
+               fsl,pins = <
+                       /* reserve pin init/idle_state to support multiple wlan cards */
+               >;
+       };
+
 };
 
 &scu_key {