MXSCM-293-2 arm: dts: add oob and modem reset support for SCM devices
authorJuan Gutierrez <juan.gutierrez@nxp.com>
Mon, 24 Apr 2017 21:17:28 +0000 (16:17 -0500)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:22:05 +0000 (15:22 -0500)
- Add BT modem device reset node for SCM i.MX6 devices
- Add Wifi OOB support for QWKS rev3 and EVB

Signed-off-by: Juan Gutierrez <juan.gutierrez@nxp.com>
arch/arm/boot/dts/imx6dqscm-qwks-rev3-btwifi.dtsi
arch/arm/boot/dts/imx6sxscm-evb-btwifi.dtsi

index 3b6f080..dc41db6 100644 (file)
@@ -7,6 +7,13 @@
  */
 
 / {
+       modem_reset: modem-reset {
+               compatible = "gpio-reset";
+               reset-gpios = <&gpio6 1 GPIO_ACTIVE_LOW>;
+               reset-delay-us = <1000>;
+               #reset-cells = <0>;
+       };
+
        regulators {
                wlreg_on: fixedregulator@100 {
                        compatible = "regulator-fixed";
@@ -22,6 +29,7 @@
        bcmdhd_wlan_0: bcmdhd_wlan@0 {
                compatible = "android,bcmdhd_wlan";
                wlreg_on-supply = <&wlreg_on>;
+               gpios = <&gpio6 4 0>; /* WL_HOST_WAKE */
        };
 };
 
@@ -30,6 +38,7 @@
        pinctrl-0 = <&pinctrl_uart4
                     &pinctrl_bt>;
        fsl,uart-has-rtscts;
+       resets = <&modem_reset>;
        status = "okay";
 };
 
index f55ac0d..3658389 100644 (file)
@@ -7,6 +7,13 @@
  */
 
 / {
+       modem_reset: modem-reset {
+               compatible = "gpio-reset";
+               reset-gpios = <&gpio4 9 GPIO_ACTIVE_LOW>;
+               reset-delay-us = <1000>;
+               #reset-cells = <0>;
+       };
+
        regulators {
                wlreg_on: fixedregulator@100 {
                        compatible = "regulator-fixed";
@@ -26,6 +33,7 @@
        bcmdhd_wlan_0: bcmdhd_wlan@0 {
                compatible = "android,bcmdhd_wlan";
                wlreg_on-supply = <&wlreg_on>;
+               gpios = <&gpio7 9 0>; /* WL_HOST_WAKE */
        };
 };
 
@@ -90,6 +98,7 @@
                                MX6SX_PAD_SD2_DATA3__USDHC2_DATA3       0x17069
                                /* Murata Module control signals */
                                MX6SX_PAD_NAND_DATA04__GPIO4_IO_8       0x13069
+                               MX6SX_PAD_SD3_DATA7__GPIO7_IO_9         0x13069
                        >;
                };
        };
        pinctrl-0 = <&pinctrl_uart6
                     &pinctrl_bt>;
        fsl,uart-has-rtscts;
+       resets = <&modem_reset>;
        status = "okay";
 };