MLK-17362-02 arm: dts: imx7ulp-evk: add qualcomm Qca9377-3 bt wifi support
authorFugang Duan <fugang.duan@nxp.com>
Fri, 3 Nov 2017 05:40:18 +0000 (13:40 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Tue, 20 Mar 2018 19:53:07 +0000 (14:53 -0500)
Add qualcomm Qca9377-3 bt wifi support for i.MX7ULP B0 chip
EVK RevA3 board.

Signed-off-by: Fugang Duan <fugang.duan@nxp.com>
arch/arm/boot/dts/imx7ulp-evk-sd1.dts
arch/arm/boot/dts/imx7ulp-evk.dts

index 1dddfb2..0a46169 100644 (file)
        };
 };
 
-&bcmdhd_wlan_0 {
-       status = "disabled";
-};
-
 &lpuart6 {
        status = "disabled";
 };
@@ -40,9 +36,6 @@
        cd-gpios = <&gpio2 13 GPIO_ACTIVE_LOW>;
        wp-gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
        vmmc-supply = <&reg_vsd_3v3b>;
-       /delete-property/non-removable;
-       /delete-property/cd-post;
-       /delete-property/wifi-host;
        /delete-property/pm-ignore-notify;
        /delete-property/keep-power-in-suspend;
        status = "okay";
index 3ee6e3c..ccbad0b 100644 (file)
                stdout-path = &lpuart4;
        };
 
-       bcmdhd_wlan_0: bcmdhd_wlan@0 {
-               compatible = "android,bcmdhd_wlan";
-               wlreg_on-supply = <&wlreg_on>;
-               bcmdhd_fw = "/lib/firmware/bcm/1DX_BCM4343W/fw_bcmdhd.bin";
-               bcmdhd_nv = "/lib/firmware/bcm/1DX_BCM4343W/bcmdhd.1DX.SDIO.cal";
-       };
-
        memory {
                device_type = "memory";
                reg = <0x60000000 0x40000000>;
@@ -55,7 +48,7 @@
 
        modem_reset: modem-reset {
                compatible = "gpio-reset";
-               reset-gpios = <&gpio2 7 GPIO_ACTIVE_LOW>;
+               reset-gpios = <&rpmsg_gpio0 15 GPIO_ACTIVE_LOW>;
                reset-delay-us = <1000>;
                #reset-cells = <0>;
        };
                #address-cells = <1>;
                #size-cells = <0>;
 
-               wlreg_on: fixedregulator@100 {
-                       compatible = "regulator-fixed";
-                       regulator-min-microvolt = <5000000>;
-                       regulator-max-microvolt = <5000000>;
-                       regulator-name = "wlreg_on";
-                       gpio = <&gpio2 6 GPIO_ACTIVE_HIGH>;
-                       startup-delay-us = <100>;
-                       enable-active-high;
-               };
-
                reg_usb_otg1_vbus: regulator@0 {
                        compatible = "regulator-fixed";
                        reg = <0>;
                        enable-active-high;
                };
 
+               reg_sd1_vmmc: sd1_regulator {
+                       compatible = "regulator-fixed";
+                       regulator-name = "VSD_3V3";
+                       regulator-min-microvolt = <3300000>;
+                       regulator-max-microvolt = <3300000>;
+                       gpio = <&rpmsg_gpio0 14 GPIO_ACTIVE_HIGH>;
+                       off-on-delay = <20000>;
+                       startup-delay-us = <100>;
+                       enable-active-high;
+               };
        };
 
        extcon_usb1: extcon_usb1 {
                        >;
                };
 
-               pinctrl_wifi: wifigrp {
-                       fsl,pins = <
-                               ULP1_PAD_PTE6__PTE6             0x20043 /* WL_REG_ON */
-                       >;
-               };
-
                pinctrl_dsi_hdmi: dsi_hdmi_grp {
                        fsl,pins = <
                                ULP1_PAD_PTC18__PTC18           0x10003         /* DSI_HDMI_INT */
 
 &usdhc1 {
        pinctrl-names = "default", "sleep";
-       pinctrl-0 = <&pinctrl_usdhc1 &pinctrl_wifi>;
-       pinctrl-1 = <&pinctrl_usdhc1 &pinctrl_wifi>;
-       non-removable;
-       keep-power-in-suspend;
-       cd-post;
+       pinctrl-0 = <&pinctrl_usdhc1>;
+       pinctrl-1 = <&pinctrl_usdhc1>;
+       bus-width = <4>;
+       vmmc-supply = <&reg_sd1_vmmc>;
        pm-ignore-notify;
-       wifi-host;
+       keep-power-in-suspend;
        status = "okay";
 };