ARM: dts: imx6: phytec: Add PEB-WLBT-05 support
The PEB-WLBT-05 is equipped with a Sterling-LWB radio module, which is capable of Wi-Fi 802.11 b/g/n and Bluetooth 4.2. Signed-off-by: Yunus Bas <y.bas@phytec.de> Signed-off-by: Shawn Guo <shawnguo@kernel.org>
This commit is contained in:
Родитель
d3af422c05
Коммит
3951cc6bae
|
@ -10,6 +10,7 @@
|
||||||
#include "imx6qdl-phytec-mira.dtsi"
|
#include "imx6qdl-phytec-mira.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
||||||
|
#include "imx6qdl-phytec-mira-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Mira DualLite/Solo Carrier-Board with NAND";
|
model = "PHYTEC phyBOARD-Mira DualLite/Solo Carrier-Board with NAND";
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "imx6qdl-phytec-mira.dtsi"
|
#include "imx6qdl-phytec-mira.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
||||||
|
#include "imx6qdl-phytec-mira-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Mira Quad Carrier-Board with eMMC";
|
model = "PHYTEC phyBOARD-Mira Quad Carrier-Board with eMMC";
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "imx6qdl-phytec-mira.dtsi"
|
#include "imx6qdl-phytec-mira.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
||||||
|
#include "imx6qdl-phytec-mira-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Mira Quad Carrier-Board with NAND";
|
model = "PHYTEC phyBOARD-Mira Quad Carrier-Board with NAND";
|
||||||
|
|
|
@ -0,0 +1,85 @@
|
||||||
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2021 PHYTEC Messtechnik GmbH
|
||||||
|
* Author: Yunus Bas <y.bas@phytec.de>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
reg_wl_en: regulator-wl-en {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "wlan_en";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_wl>;
|
||||||
|
gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
startup-delay-us = <100>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart3 {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_uart3_bt>;
|
||||||
|
uart-has-rtscts;
|
||||||
|
|
||||||
|
bluetooth {
|
||||||
|
compatible = "brcm,bcm43438-bt";
|
||||||
|
shutdown-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
|
||||||
|
device-wakeup-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
host-wakeup-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&usdhc3 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_usdhc3_wl>;
|
||||||
|
vmmc-supply = <®_wl_en>;
|
||||||
|
bus-width = <4>;
|
||||||
|
non-removable;
|
||||||
|
no-1-8-v;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
brmcf: wifi@1 {
|
||||||
|
compatible = "brcm,bcm4329-fmac";
|
||||||
|
reg = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&iomuxc {
|
||||||
|
pinctrl_uart3_bt: uart3grp-bt {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1
|
||||||
|
MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1
|
||||||
|
MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1
|
||||||
|
MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1
|
||||||
|
MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0xb0b1 /* BT ENABLE */
|
||||||
|
MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0xb0b1 /* DEV WAKEUP */
|
||||||
|
MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0xb0b1 /* HOST WAKEUP */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pinctrl_usdhc3_wl: usdhc3grp-wl {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059
|
||||||
|
MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059
|
||||||
|
MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059
|
||||||
|
MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059
|
||||||
|
MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059
|
||||||
|
MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pinctrl_wl: wlgrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6QDL_PAD_EIM_A25__GPIO5_IO02 0xb0b1 /* WLAN ENABLE */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
};
|
|
@ -10,6 +10,7 @@
|
||||||
#include "imx6qdl-phytec-mira.dtsi"
|
#include "imx6qdl-phytec-mira.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
#include "imx6qdl-phytec-mira-peb-eval-01.dtsi"
|
||||||
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
#include "imx6qdl-phytec-mira-peb-av-02.dtsi"
|
||||||
|
#include "imx6qdl-phytec-mira-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Mira QuadPlus Carrier-Board with NAND";
|
model = "PHYTEC phyBOARD-Mira QuadPlus Carrier-Board with NAND";
|
||||||
|
|
|
@ -10,6 +10,7 @@
|
||||||
#include "imx6ul-phytec-segin.dtsi"
|
#include "imx6ul-phytec-segin.dtsi"
|
||||||
#include "imx6ul-phytec-segin-peb-eval-01.dtsi"
|
#include "imx6ul-phytec-segin-peb-eval-01.dtsi"
|
||||||
#include "imx6ul-phytec-segin-peb-av-02.dtsi"
|
#include "imx6ul-phytec-segin-peb-av-02.dtsi"
|
||||||
|
#include "imx6ul-phytec-segin-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite Full Featured with NAND";
|
model = "PHYTEC phyBOARD-Segin i.MX6 UltraLite Full Featured with NAND";
|
||||||
|
|
|
@ -0,0 +1,90 @@
|
||||||
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2021 PHYTEC Messtechnik GmbH
|
||||||
|
* Author: Yunus Bas <y.bas@phytec.de>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <dt-bindings/gpio/gpio.h>
|
||||||
|
#include <dt-bindings/interrupt-controller/irq.h>
|
||||||
|
|
||||||
|
/ {
|
||||||
|
reg_wl_en: regulator-wl-en {
|
||||||
|
compatible = "regulator-fixed";
|
||||||
|
regulator-name = "wlan_en";
|
||||||
|
regulator-min-microvolt = <3300000>;
|
||||||
|
regulator-max-microvolt = <3300000>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_wl>;
|
||||||
|
gpio = <&gpio5 9 GPIO_ACTIVE_HIGH>;
|
||||||
|
enable-active-high;
|
||||||
|
startup-delay-us = <100>;
|
||||||
|
status = "disabled";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&iomuxc {
|
||||||
|
pinctrl_bt: btgrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6UL_PAD_GPIO1_IO01__GPIO1_IO01 0x3031 /* BT ENABLE */
|
||||||
|
MX6UL_PAD_GPIO1_IO03__GPIO1_IO03 0x3031 /* HOST WAKEUP */
|
||||||
|
MX6UL_PAD_JTAG_MOD__GPIO1_IO10 0x3031 /* DEV WAKEUP */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pinctrl_uart2_bt: uart2grp-bt {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6UL_PAD_UART2_TX_DATA__UART2_DCE_TX 0x17059
|
||||||
|
MX6UL_PAD_UART2_RX_DATA__UART2_DCE_RX 0x17059
|
||||||
|
MX6UL_PAD_UART2_CTS_B__UART2_DCE_CTS 0x17059
|
||||||
|
MX6UL_PAD_UART2_RTS_B__UART2_DCE_RTS 0x17059
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pinctrl_usdhc2_wl: usdhc2grp-wl {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6UL_PAD_LCD_DATA18__USDHC2_CMD 0x10051
|
||||||
|
MX6UL_PAD_LCD_DATA19__USDHC2_CLK 0x10061
|
||||||
|
MX6UL_PAD_LCD_DATA20__USDHC2_DATA0 0x10051
|
||||||
|
MX6UL_PAD_LCD_DATA21__USDHC2_DATA1 0x10051
|
||||||
|
MX6UL_PAD_LCD_DATA22__USDHC2_DATA2 0x10051
|
||||||
|
MX6UL_PAD_LCD_DATA23__USDHC2_DATA3 0x10051
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
|
||||||
|
pinctrl_wl: wlgrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6UL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x3031 /* WLAN ENABLE */
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&uart2 {
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_uart2_bt &pinctrl_bt>;
|
||||||
|
uart-has-rtscts;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
bluetooth {
|
||||||
|
compatible = "brcm,bcm43438-bt";
|
||||||
|
shutdown-gpios = <&gpio1 1 GPIO_ACTIVE_HIGH>;
|
||||||
|
device-wakeup-gpios = <&gpio1 10 GPIO_ACTIVE_HIGH>;
|
||||||
|
host-wakeup-gpios = <&gpio1 3 GPIO_ACTIVE_HIGH>;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
&usdhc2 {
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <0>;
|
||||||
|
pinctrl-names = "default";
|
||||||
|
pinctrl-0 = <&pinctrl_usdhc2_wl>;
|
||||||
|
vmmc-supply = <®_wl_en>;
|
||||||
|
bus-width = <4>;
|
||||||
|
non-removable;
|
||||||
|
no-1-8-v;
|
||||||
|
status = "disabled";
|
||||||
|
|
||||||
|
brmcf: wifi@1 {
|
||||||
|
compatible = "brcm,bcm4329-fmac";
|
||||||
|
reg = <1>;
|
||||||
|
};
|
||||||
|
};
|
|
@ -10,6 +10,7 @@
|
||||||
#include "imx6ull-phytec-segin.dtsi"
|
#include "imx6ull-phytec-segin.dtsi"
|
||||||
#include "imx6ull-phytec-segin-peb-eval-01.dtsi"
|
#include "imx6ull-phytec-segin-peb-eval-01.dtsi"
|
||||||
#include "imx6ull-phytec-segin-peb-av-02.dtsi"
|
#include "imx6ull-phytec-segin-peb-av-02.dtsi"
|
||||||
|
#include "imx6ull-phytec-segin-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Segin i.MX6 ULL Full Featured with NAND";
|
model = "PHYTEC phyBOARD-Segin i.MX6 ULL Full Featured with NAND";
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
#include "imx6ull-phytec-phycore-som.dtsi"
|
#include "imx6ull-phytec-phycore-som.dtsi"
|
||||||
#include "imx6ull-phytec-segin.dtsi"
|
#include "imx6ull-phytec-segin.dtsi"
|
||||||
#include "imx6ull-phytec-segin-peb-eval-01.dtsi"
|
#include "imx6ull-phytec-segin-peb-eval-01.dtsi"
|
||||||
|
#include "imx6ull-phytec-segin-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "PHYTEC phyBOARD-Segin i.MX6 ULL Low Cost with NAND";
|
model = "PHYTEC phyBOARD-Segin i.MX6 ULL Low Cost with NAND";
|
||||||
|
|
|
@ -0,0 +1,19 @@
|
||||||
|
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
||||||
|
/*
|
||||||
|
* Copyright (C) 2021 PHYTEC Messtechnik GmbH
|
||||||
|
* Author: Yunus Bas <y.bas@phytec.de>
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include "imx6ul-phytec-segin-peb-wlbt-05.dtsi"
|
||||||
|
|
||||||
|
&iomuxc {
|
||||||
|
/delete-node/ wlgrp;
|
||||||
|
};
|
||||||
|
|
||||||
|
&iomuxc_snvs {
|
||||||
|
pinctrl_wl: wlgrp {
|
||||||
|
fsl,pins = <
|
||||||
|
MX6ULL_PAD_SNVS_TAMPER9__GPIO5_IO09 0x3031
|
||||||
|
>;
|
||||||
|
};
|
||||||
|
};
|
Загрузка…
Ссылка в новой задаче