1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 2 /* 2 /* 3 * Copyright (C) 2021 PHYTEC Messtechnik GmbH 3 * Copyright (C) 2021 PHYTEC Messtechnik GmbH 4 * Author: Yunus Bas <y.bas@phytec.de> 4 * Author: Yunus Bas <y.bas@phytec.de> 5 */ 5 */ 6 6 7 #include <dt-bindings/gpio/gpio.h> 7 #include <dt-bindings/gpio/gpio.h> 8 #include <dt-bindings/interrupt-controller/irq 8 #include <dt-bindings/interrupt-controller/irq.h> 9 9 10 / { 10 / { 11 reg_wl_en: regulator-wl-en { 11 reg_wl_en: regulator-wl-en { 12 compatible = "regulator-fixed" 12 compatible = "regulator-fixed"; 13 regulator-name = "wlan_en"; 13 regulator-name = "wlan_en"; 14 regulator-min-microvolt = <330 14 regulator-min-microvolt = <3300000>; 15 regulator-max-microvolt = <330 15 regulator-max-microvolt = <3300000>; 16 pinctrl-names = "default"; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&pinctrl_wl>; 17 pinctrl-0 = <&pinctrl_wl>; 18 gpio = <&gpio5 2 GPIO_ACTIVE_H 18 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>; 19 enable-active-high; 19 enable-active-high; 20 startup-delay-us = <100>; 20 startup-delay-us = <100>; 21 status = "disabled"; 21 status = "disabled"; 22 }; 22 }; 23 }; 23 }; 24 24 25 &uart3 { 25 &uart3 { 26 pinctrl-names = "default"; 26 pinctrl-names = "default"; 27 pinctrl-0 = <&pinctrl_uart3_bt>; 27 pinctrl-0 = <&pinctrl_uart3_bt>; 28 uart-has-rtscts; 28 uart-has-rtscts; 29 29 30 bluetooth { 30 bluetooth { 31 compatible = "brcm,bcm43438-bt 31 compatible = "brcm,bcm43438-bt"; 32 shutdown-gpios = <&gpio7 0 GPI 32 shutdown-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>; 33 device-wakeup-gpios = <&gpio7 33 device-wakeup-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>; 34 host-wakeup-gpios = <&gpio5 26 34 host-wakeup-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>; 35 status = "disabled"; 35 status = "disabled"; 36 }; 36 }; 37 }; 37 }; 38 38 39 &usdhc3 { 39 &usdhc3 { 40 #address-cells = <1>; 40 #address-cells = <1>; 41 #size-cells = <0>; 41 #size-cells = <0>; 42 pinctrl-names = "default"; 42 pinctrl-names = "default"; 43 pinctrl-0 = <&pinctrl_usdhc3_wl>; 43 pinctrl-0 = <&pinctrl_usdhc3_wl>; 44 vmmc-supply = <®_wl_en>; 44 vmmc-supply = <®_wl_en>; 45 bus-width = <4>; 45 bus-width = <4>; 46 non-removable; 46 non-removable; 47 no-1-8-v; 47 no-1-8-v; 48 status = "disabled"; 48 status = "disabled"; 49 49 50 brmcf: wifi@1 { 50 brmcf: wifi@1 { 51 compatible = "brcm,bcm4329-fma 51 compatible = "brcm,bcm4329-fmac"; 52 reg = <1>; 52 reg = <1>; 53 }; 53 }; 54 }; 54 }; 55 55 56 &iomuxc { 56 &iomuxc { 57 pinctrl_uart3_bt: uart3grp-bt { 57 pinctrl_uart3_bt: uart3grp-bt { 58 fsl,pins = < 58 fsl,pins = < 59 MX6QDL_PAD_EIM_D25__UA 59 MX6QDL_PAD_EIM_D25__UART3_RX_DATA 0x1b0b1 60 MX6QDL_PAD_EIM_D24__UA 60 MX6QDL_PAD_EIM_D24__UART3_TX_DATA 0x1b0b1 61 MX6QDL_PAD_EIM_EB3__UA 61 MX6QDL_PAD_EIM_EB3__UART3_RTS_B 0x1b0b1 62 MX6QDL_PAD_EIM_D23__UA 62 MX6QDL_PAD_EIM_D23__UART3_CTS_B 0x1b0b1 63 MX6QDL_PAD_SD3_DAT5__G 63 MX6QDL_PAD_SD3_DAT5__GPIO7_IO00 0xb0b1 /* BT ENABLE */ 64 MX6QDL_PAD_SD3_DAT4__G 64 MX6QDL_PAD_SD3_DAT4__GPIO7_IO01 0xb0b1 /* DEV WAKEUP */ 65 MX6QDL_PAD_CSI0_DAT8__ 65 MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26 0xb0b1 /* HOST WAKEUP */ 66 >; 66 >; 67 }; 67 }; 68 68 69 pinctrl_usdhc3_wl: usdhc3grp-wl { 69 pinctrl_usdhc3_wl: usdhc3grp-wl { 70 fsl,pins = < 70 fsl,pins = < 71 MX6QDL_PAD_SD3_CMD__SD 71 MX6QDL_PAD_SD3_CMD__SD3_CMD 0x17059 72 MX6QDL_PAD_SD3_CLK__SD 72 MX6QDL_PAD_SD3_CLK__SD3_CLK 0x10059 73 MX6QDL_PAD_SD3_DAT0__S 73 MX6QDL_PAD_SD3_DAT0__SD3_DATA0 0x17059 74 MX6QDL_PAD_SD3_DAT1__S 74 MX6QDL_PAD_SD3_DAT1__SD3_DATA1 0x17059 75 MX6QDL_PAD_SD3_DAT2__S 75 MX6QDL_PAD_SD3_DAT2__SD3_DATA2 0x17059 76 MX6QDL_PAD_SD3_DAT3__S 76 MX6QDL_PAD_SD3_DAT3__SD3_DATA3 0x17059 77 >; 77 >; 78 }; 78 }; 79 79 80 pinctrl_wl: wlgrp { 80 pinctrl_wl: wlgrp { 81 fsl,pins = < 81 fsl,pins = < 82 MX6QDL_PAD_EIM_A25__GP 82 MX6QDL_PAD_EIM_A25__GPIO5_IO02 0xb0b1 /* WLAN ENABLE */ 83 >; 83 >; 84 }; 84 }; 85 }; 85 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.