xref: /linux/arch/arm/boot/dts/nxp/imx/imx6qdl-phytec-mira-peb-wlbt-05.dtsi (revision cdd5b5a9761fd66d17586e4f4ba6588c70e640ea)
1*724ba675SRob Herring// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2*724ba675SRob Herring/*
3*724ba675SRob Herring * Copyright (C) 2021 PHYTEC Messtechnik GmbH
4*724ba675SRob Herring * Author: Yunus Bas <y.bas@phytec.de>
5*724ba675SRob Herring */
6*724ba675SRob Herring
7*724ba675SRob Herring#include <dt-bindings/gpio/gpio.h>
8*724ba675SRob Herring#include <dt-bindings/interrupt-controller/irq.h>
9*724ba675SRob Herring
10*724ba675SRob Herring/ {
11*724ba675SRob Herring	reg_wl_en: regulator-wl-en {
12*724ba675SRob Herring		compatible = "regulator-fixed";
13*724ba675SRob Herring		regulator-name = "wlan_en";
14*724ba675SRob Herring		regulator-min-microvolt = <3300000>;
15*724ba675SRob Herring		regulator-max-microvolt = <3300000>;
16*724ba675SRob Herring		pinctrl-names = "default";
17*724ba675SRob Herring		pinctrl-0 = <&pinctrl_wl>;
18*724ba675SRob Herring		gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>;
19*724ba675SRob Herring		enable-active-high;
20*724ba675SRob Herring		startup-delay-us = <100>;
21*724ba675SRob Herring		status = "disabled";
22*724ba675SRob Herring	};
23*724ba675SRob Herring};
24*724ba675SRob Herring
25*724ba675SRob Herring&uart3 {
26*724ba675SRob Herring	pinctrl-names = "default";
27*724ba675SRob Herring	pinctrl-0 = <&pinctrl_uart3_bt>;
28*724ba675SRob Herring	uart-has-rtscts;
29*724ba675SRob Herring
30*724ba675SRob Herring	bluetooth {
31*724ba675SRob Herring		compatible = "brcm,bcm43438-bt";
32*724ba675SRob Herring		shutdown-gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
33*724ba675SRob Herring		device-wakeup-gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
34*724ba675SRob Herring		host-wakeup-gpios = <&gpio5 26 GPIO_ACTIVE_HIGH>;
35*724ba675SRob Herring		status = "disabled";
36*724ba675SRob Herring	};
37*724ba675SRob Herring};
38*724ba675SRob Herring
39*724ba675SRob Herring&usdhc3 {
40*724ba675SRob Herring	#address-cells = <1>;
41*724ba675SRob Herring	#size-cells = <0>;
42*724ba675SRob Herring	pinctrl-names = "default";
43*724ba675SRob Herring	pinctrl-0 = <&pinctrl_usdhc3_wl>;
44*724ba675SRob Herring	vmmc-supply = <&reg_wl_en>;
45*724ba675SRob Herring	bus-width = <4>;
46*724ba675SRob Herring	non-removable;
47*724ba675SRob Herring	no-1-8-v;
48*724ba675SRob Herring	status = "disabled";
49*724ba675SRob Herring
50*724ba675SRob Herring	brmcf: wifi@1 {
51*724ba675SRob Herring		compatible = "brcm,bcm4329-fmac";
52*724ba675SRob Herring		reg = <1>;
53*724ba675SRob Herring	};
54*724ba675SRob Herring};
55*724ba675SRob Herring
56*724ba675SRob Herring&iomuxc {
57*724ba675SRob Herring	pinctrl_uart3_bt: uart3grp-bt {
58*724ba675SRob Herring		fsl,pins = <
59*724ba675SRob Herring			MX6QDL_PAD_EIM_D25__UART3_RX_DATA	0x1b0b1
60*724ba675SRob Herring			MX6QDL_PAD_EIM_D24__UART3_TX_DATA	0x1b0b1
61*724ba675SRob Herring			MX6QDL_PAD_EIM_EB3__UART3_RTS_B		0x1b0b1
62*724ba675SRob Herring			MX6QDL_PAD_EIM_D23__UART3_CTS_B		0x1b0b1
63*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT5__GPIO7_IO00		0xb0b1	/* BT ENABLE */
64*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT4__GPIO7_IO01		0xb0b1	/* DEV WAKEUP */
65*724ba675SRob Herring			MX6QDL_PAD_CSI0_DAT8__GPIO5_IO26	0xb0b1  /* HOST WAKEUP */
66*724ba675SRob Herring		>;
67*724ba675SRob Herring	};
68*724ba675SRob Herring
69*724ba675SRob Herring	pinctrl_usdhc3_wl: usdhc3grp-wl {
70*724ba675SRob Herring		fsl,pins = <
71*724ba675SRob Herring			MX6QDL_PAD_SD3_CMD__SD3_CMD		0x17059
72*724ba675SRob Herring			MX6QDL_PAD_SD3_CLK__SD3_CLK		0x10059
73*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT0__SD3_DATA0		0x17059
74*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT1__SD3_DATA1		0x17059
75*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT2__SD3_DATA2		0x17059
76*724ba675SRob Herring			MX6QDL_PAD_SD3_DAT3__SD3_DATA3		0x17059
77*724ba675SRob Herring		>;
78*724ba675SRob Herring	};
79*724ba675SRob Herring
80*724ba675SRob Herring	pinctrl_wl: wlgrp {
81*724ba675SRob Herring		fsl,pins = <
82*724ba675SRob Herring			MX6QDL_PAD_EIM_A25__GPIO5_IO02      0xb0b1	/* WLAN ENABLE */
83*724ba675SRob Herring		>;
84*724ba675SRob Herring	};
85*724ba675SRob Herring};
86