MLK-14373-5: ARM: dts: imx6ul-evk-btwifi: Add OOB IRQ support for imx6ul, imx6ull
authorxlin <xlin@murata.com>
Wed, 8 Feb 2017 21:49:01 +0000 (15:49 -0600)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:36 +0000 (15:21 -0500)
Added new DTS files for:
imx6ul-9x9-evk
imx6ul-14x14-evk
imx6ull-9x9-evk
imx6ull-14x14-evk

with support for Wifi OOB interrupts.

Signed-off-by: xlin <xlin@murata.com>
Signed-off-by: Tiberiu Breana <andrei-tiberiu.breana@nxp.com>
arch/arm/boot/dts/Makefile
arch/arm/boot/dts/imx6ul-14x14-evk-btwifi-oob.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6ul-9x9-evk-btwifi-oob.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6ul-evk-btwifi-oob.dtsi [new file with mode: 0644]
arch/arm/boot/dts/imx6ull-14x14-evk-btwifi-oob.dts [new file with mode: 0644]
arch/arm/boot/dts/imx6ull-9x9-evk-btwifi-oob.dts [new file with mode: 0644]

index 2462895..727b1b3 100644 (file)
@@ -483,6 +483,7 @@ dtb-$(CONFIG_SOC_IMX6SX) += \
 dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-14x14-evk.dtb \
        imx6ul-14x14-evk-btwifi.dtb \
+       imx6ul-14x14-evk-btwifi-oob.dtb \
        imx6ul-14x14-evk-csi.dtb \
        imx6ul-14x14-evk-emmc.dtb \
        imx6ul-14x14-evk-gpmi-weim.dtb \
@@ -503,6 +504,7 @@ dtb-$(CONFIG_SOC_IMX6UL) += \
        imx6ul-14x14-evk-pf1550.dtb \
        imx6ul-9x9-evk.dtb \
        imx6ul-9x9-evk-btwifi.dtb \
+       imx6ul-9x9-evk-btwifi-oob.dtb \
        imx6ul-9x9-evk-csi.dtb \
        imx6ul-9x9-evk-ldo.dtb
 dtb-$(CONFIG_SOC_IMX6ULL) += \
@@ -524,11 +526,13 @@ dtb-$(CONFIG_SOC_IMX6ULL) += \
        imx6ull-14x14-ddr3-arm2-wm8958.dtb \
        imx6ull-14x14-evk.dtb \
        imx6ull-14x14-evk-btwifi.dtb \
+       imx6ull-14x14-evk-btwifi-oob.dtb \
        imx6ull-14x14-evk-emmc.dtb \
        imx6ull-14x14-evk-gpmi-weim.dtb \
        imx6ull-14x14-evk-usb-certi.dtb \
        imx6ull-9x9-evk.dtb \
        imx6ull-9x9-evk-btwifi.dtb \
+       imx6ull-9x9-evk-btwifi-oob.dtb \
        imx6ull-9x9-evk-ldo.dtb
 dtb-$(CONFIG_SOC_IMX6SLL) += \
        imx6sll-lpddr2-arm2.dtb \
diff --git a/arch/arm/boot/dts/imx6ul-14x14-evk-btwifi-oob.dts b/arch/arm/boot/dts/imx6ul-14x14-evk-btwifi-oob.dts
new file mode 100644 (file)
index 0000000..90e0045
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6ul-14x14-evk-btwifi.dts"
+#include "imx6ul-evk-btwifi-oob.dtsi"
diff --git a/arch/arm/boot/dts/imx6ul-9x9-evk-btwifi-oob.dts b/arch/arm/boot/dts/imx6ul-9x9-evk-btwifi-oob.dts
new file mode 100644 (file)
index 0000000..8a8ece3
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6ul-9x9-evk-btwifi.dts"
+#include "imx6ul-evk-btwifi-oob.dtsi"
diff --git a/arch/arm/boot/dts/imx6ul-evk-btwifi-oob.dtsi b/arch/arm/boot/dts/imx6ul-evk-btwifi-oob.dtsi
new file mode 100644 (file)
index 0000000..cd7a5e6
--- /dev/null
@@ -0,0 +1,30 @@
+/*
+ * Copyright (C) 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+&bcmdhd_wlan_0 {
+       /* Need to define WL_HOST_WAKE for OOB IRQ: ENET2_RX_ER (gpio2_15) */
+       /* Hardware modification is needed on imx6ul evk for using OOB. */
+       gpios = <&gpio2 15 0>;  /* WL_HOST_WAKE */
+};
+
+&pinctrl_wifi {
+       fsl,pins = <
+               /* MUXing for WL_HOST_WAKE */
+               MX6UL_PAD_ENET2_RX_ER__GPIO2_IO15  0x13041
+       >;
+};
+
+/*
+ * For WL_HOST_WAKE (OOB_IRQ) to function correctly, we must disable
+ * the secondary ethernet port (FEC2). Hardware re-work is to remove
+ * R1633 and populate R1704 with 0 Ohm resistor.
+ * Refer to Murata Hardware Reference Manual for more details.
+ */
+&fec2 {
+       status="disabled";
+};
diff --git a/arch/arm/boot/dts/imx6ull-14x14-evk-btwifi-oob.dts b/arch/arm/boot/dts/imx6ull-14x14-evk-btwifi-oob.dts
new file mode 100644 (file)
index 0000000..85ea147
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6ull-14x14-evk-btwifi.dts"
+#include "imx6ul-evk-btwifi-oob.dtsi"
diff --git a/arch/arm/boot/dts/imx6ull-9x9-evk-btwifi-oob.dts b/arch/arm/boot/dts/imx6ull-9x9-evk-btwifi-oob.dts
new file mode 100644 (file)
index 0000000..8d00a90
--- /dev/null
@@ -0,0 +1,10 @@
+/*
+ * Copyright (C) 2017 NXP
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License version 2 as
+ * published by the Free Software Foundation.
+ */
+
+#include "imx6ull-9x9-evk-btwifi.dts"
+#include "imx6ul-evk-btwifi-oob.dtsi"