xref: /freebsd/sys/contrib/device-tree/src/arm/st/stm32mp151c-plyaqm.dts (revision 8ccc0d235c226d84112561d453c49904398d085c)
1*8ccc0d23SEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2*8ccc0d23SEmmanuel Vadot/dts-v1/;
3*8ccc0d23SEmmanuel Vadot
4*8ccc0d23SEmmanuel Vadot#include <arm/st/stm32mp151.dtsi>
5*8ccc0d23SEmmanuel Vadot#include <arm/st/stm32mp15xc.dtsi>
6*8ccc0d23SEmmanuel Vadot#include <arm/st/stm32mp15-pinctrl.dtsi>
7*8ccc0d23SEmmanuel Vadot#include <arm/st/stm32mp15xxad-pinctrl.dtsi>
8*8ccc0d23SEmmanuel Vadot#include <arm/st/stm32mp15-scmi.dtsi>
9*8ccc0d23SEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10*8ccc0d23SEmmanuel Vadot#include <dt-bindings/leds/common.h>
11*8ccc0d23SEmmanuel Vadot
12*8ccc0d23SEmmanuel Vadot/ {
13*8ccc0d23SEmmanuel Vadot	model = "Plymovent AQM board";
14*8ccc0d23SEmmanuel Vadot	compatible = "ply,plyaqm", "st,stm32mp151";
15*8ccc0d23SEmmanuel Vadot
16*8ccc0d23SEmmanuel Vadot	aliases {
17*8ccc0d23SEmmanuel Vadot		ethernet0 = &ethernet0;
18*8ccc0d23SEmmanuel Vadot		serial0 = &uart4;
19*8ccc0d23SEmmanuel Vadot		serial1 = &uart7;
20*8ccc0d23SEmmanuel Vadot	};
21*8ccc0d23SEmmanuel Vadot
22*8ccc0d23SEmmanuel Vadot	codec {
23*8ccc0d23SEmmanuel Vadot		compatible = "invensense,ics43432";
24*8ccc0d23SEmmanuel Vadot
25*8ccc0d23SEmmanuel Vadot		port {
26*8ccc0d23SEmmanuel Vadot			codec_endpoint: endpoint {
27*8ccc0d23SEmmanuel Vadot				remote-endpoint = <&i2s1_endpoint>;
28*8ccc0d23SEmmanuel Vadot				dai-format = "i2s";
29*8ccc0d23SEmmanuel Vadot			};
30*8ccc0d23SEmmanuel Vadot		};
31*8ccc0d23SEmmanuel Vadot	};
32*8ccc0d23SEmmanuel Vadot
33*8ccc0d23SEmmanuel Vadot	firmware {
34*8ccc0d23SEmmanuel Vadot		optee {
35*8ccc0d23SEmmanuel Vadot			compatible = "linaro,optee-tz";
36*8ccc0d23SEmmanuel Vadot			method = "smc";
37*8ccc0d23SEmmanuel Vadot		};
38*8ccc0d23SEmmanuel Vadot	};
39*8ccc0d23SEmmanuel Vadot
40*8ccc0d23SEmmanuel Vadot	leds {
41*8ccc0d23SEmmanuel Vadot		compatible = "gpio-leds";
42*8ccc0d23SEmmanuel Vadot
43*8ccc0d23SEmmanuel Vadot		led-0 {
44*8ccc0d23SEmmanuel Vadot			gpios = <&gpioa 3 GPIO_ACTIVE_HIGH>; /* WHITE_EN */
45*8ccc0d23SEmmanuel Vadot			color = <LED_COLOR_ID_WHITE>;
46*8ccc0d23SEmmanuel Vadot			default-state = "on";
47*8ccc0d23SEmmanuel Vadot		};
48*8ccc0d23SEmmanuel Vadot	};
49*8ccc0d23SEmmanuel Vadot
50*8ccc0d23SEmmanuel Vadot	v3v3: fixed-regulator-v3v3 {
51*8ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
52*8ccc0d23SEmmanuel Vadot		regulator-name = "v3v3";
53*8ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <3300000>;
54*8ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <3300000>;
55*8ccc0d23SEmmanuel Vadot	};
56*8ccc0d23SEmmanuel Vadot
57*8ccc0d23SEmmanuel Vadot	v5v_sw: fixed-regulator-v5sw {
58*8ccc0d23SEmmanuel Vadot		compatible = "regulator-fixed";
59*8ccc0d23SEmmanuel Vadot		regulator-name = "5v-switched";
60*8ccc0d23SEmmanuel Vadot		regulator-min-microvolt = <5000000>;
61*8ccc0d23SEmmanuel Vadot		regulator-max-microvolt = <5000000>;
62*8ccc0d23SEmmanuel Vadot		gpio = <&gpioe 10 GPIO_ACTIVE_HIGH>; /* 5V_SWITCHED_EN */
63*8ccc0d23SEmmanuel Vadot		startup-delay-us = <100000>;
64*8ccc0d23SEmmanuel Vadot		enable-active-high;
65*8ccc0d23SEmmanuel Vadot		regulator-boot-on;
66*8ccc0d23SEmmanuel Vadot	};
67*8ccc0d23SEmmanuel Vadot
68*8ccc0d23SEmmanuel Vadot	reserved-memory {
69*8ccc0d23SEmmanuel Vadot		#address-cells = <1>;
70*8ccc0d23SEmmanuel Vadot		#size-cells = <1>;
71*8ccc0d23SEmmanuel Vadot		ranges;
72*8ccc0d23SEmmanuel Vadot
73*8ccc0d23SEmmanuel Vadot		optee@cfd00000 {
74*8ccc0d23SEmmanuel Vadot			reg = <0xcfd00000 0x300000>;
75*8ccc0d23SEmmanuel Vadot			no-map;
76*8ccc0d23SEmmanuel Vadot		};
77*8ccc0d23SEmmanuel Vadot	};
78*8ccc0d23SEmmanuel Vadot
79*8ccc0d23SEmmanuel Vadot	sound {
80*8ccc0d23SEmmanuel Vadot		compatible = "audio-graph-card";
81*8ccc0d23SEmmanuel Vadot		label = "STM32MP15";
82*8ccc0d23SEmmanuel Vadot		dais = <&i2s1_port>;
83*8ccc0d23SEmmanuel Vadot	};
84*8ccc0d23SEmmanuel Vadot
85*8ccc0d23SEmmanuel Vadot	wifi_pwrseq: wifi-pwrseq {
86*8ccc0d23SEmmanuel Vadot		compatible = "mmc-pwrseq-simple";
87*8ccc0d23SEmmanuel Vadot		reset-gpios = <&gpioe 12 GPIO_ACTIVE_LOW>; /* WLAN_REG_ON */
88*8ccc0d23SEmmanuel Vadot	};
89*8ccc0d23SEmmanuel Vadot};
90*8ccc0d23SEmmanuel Vadot
91*8ccc0d23SEmmanuel Vadot&adc {
92*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default";
93*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&adc1_in10_pins_a>;
94*8ccc0d23SEmmanuel Vadot	vdda-supply = <&v3v3>;
95*8ccc0d23SEmmanuel Vadot	vref-supply = <&v3v3>;
96*8ccc0d23SEmmanuel Vadot	status = "okay";
97*8ccc0d23SEmmanuel Vadot
98*8ccc0d23SEmmanuel Vadot	adc@0 {
99*8ccc0d23SEmmanuel Vadot		#address-cells = <1>;
100*8ccc0d23SEmmanuel Vadot		#size-cells = <0>;
101*8ccc0d23SEmmanuel Vadot		status = "okay";
102*8ccc0d23SEmmanuel Vadot
103*8ccc0d23SEmmanuel Vadot		channel@10 { /* NTC */
104*8ccc0d23SEmmanuel Vadot			reg = <10>;
105*8ccc0d23SEmmanuel Vadot			st,min-sample-time-ns = <10000>;  /* 10µs sampling time */
106*8ccc0d23SEmmanuel Vadot		};
107*8ccc0d23SEmmanuel Vadot	};
108*8ccc0d23SEmmanuel Vadot};
109*8ccc0d23SEmmanuel Vadot
110*8ccc0d23SEmmanuel Vadot&cpu0 {
111*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_MPU>;
112*8ccc0d23SEmmanuel Vadot};
113*8ccc0d23SEmmanuel Vadot
114*8ccc0d23SEmmanuel Vadot&cryp1 {
115*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_CRYP1>;
116*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_CRYP1>;
117*8ccc0d23SEmmanuel Vadot	status = "okay";
118*8ccc0d23SEmmanuel Vadot};
119*8ccc0d23SEmmanuel Vadot
120*8ccc0d23SEmmanuel Vadot&ethernet0 {
121*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "sleep";
122*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&ethernet0_rmii_pins_d>;
123*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&ethernet0_rmii_sleep_pins_d>;
124*8ccc0d23SEmmanuel Vadot	phy-mode = "rmii";
125*8ccc0d23SEmmanuel Vadot	max-speed = <100>;
126*8ccc0d23SEmmanuel Vadot	phy-handle = <&ethphy0>;
127*8ccc0d23SEmmanuel Vadot	status = "okay";
128*8ccc0d23SEmmanuel Vadot
129*8ccc0d23SEmmanuel Vadot	mdio {
130*8ccc0d23SEmmanuel Vadot		#address-cells = <1>;
131*8ccc0d23SEmmanuel Vadot		#size-cells = <0>;
132*8ccc0d23SEmmanuel Vadot		compatible = "snps,dwmac-mdio";
133*8ccc0d23SEmmanuel Vadot
134*8ccc0d23SEmmanuel Vadot		/* KSZ8081RNA PHY */
135*8ccc0d23SEmmanuel Vadot		ethphy0: ethernet-phy@0 {
136*8ccc0d23SEmmanuel Vadot			reg = <0>;
137*8ccc0d23SEmmanuel Vadot			interrupts-extended = <&gpiob 0 IRQ_TYPE_LEVEL_LOW>;
138*8ccc0d23SEmmanuel Vadot			reset-gpios = <&gpiob 1 GPIO_ACTIVE_LOW>;
139*8ccc0d23SEmmanuel Vadot			reset-assert-us = <10000>;
140*8ccc0d23SEmmanuel Vadot			reset-deassert-us = <300>;
141*8ccc0d23SEmmanuel Vadot		};
142*8ccc0d23SEmmanuel Vadot	};
143*8ccc0d23SEmmanuel Vadot};
144*8ccc0d23SEmmanuel Vadot
145*8ccc0d23SEmmanuel Vadot&gpioa {
146*8ccc0d23SEmmanuel Vadot	gpio-line-names =
147*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "", "", "",
148*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "HWID_PL_N", "HWID_CP", "";
149*8ccc0d23SEmmanuel Vadot};
150*8ccc0d23SEmmanuel Vadot
151*8ccc0d23SEmmanuel Vadot&gpiob {
152*8ccc0d23SEmmanuel Vadot	gpio-line-names =
153*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "", "LED_LATCH", "",
154*8ccc0d23SEmmanuel Vadot		"", "RELAY1_EN", "", "", "", "", "", "";
155*8ccc0d23SEmmanuel Vadot};
156*8ccc0d23SEmmanuel Vadot
157*8ccc0d23SEmmanuel Vadot&gpioc {
158*8ccc0d23SEmmanuel Vadot	gpio-line-names =
159*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "", "", "",
160*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "HWID_Q7", "", "";
161*8ccc0d23SEmmanuel Vadot};
162*8ccc0d23SEmmanuel Vadot
163*8ccc0d23SEmmanuel Vadot&gpioe {
164*8ccc0d23SEmmanuel Vadot	gpio-line-names =
165*8ccc0d23SEmmanuel Vadot		"", "", "", "", "RELAY2_EN", "", "", "",
166*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "", "", "";
167*8ccc0d23SEmmanuel Vadot};
168*8ccc0d23SEmmanuel Vadot
169*8ccc0d23SEmmanuel Vadot&gpiog {
170*8ccc0d23SEmmanuel Vadot	gpio-line-names =
171*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "", "", "SW1",
172*8ccc0d23SEmmanuel Vadot		"", "", "", "", "", "", "", "";
173*8ccc0d23SEmmanuel Vadot};
174*8ccc0d23SEmmanuel Vadot
175*8ccc0d23SEmmanuel Vadot&gpioz {
176*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_GPIOZ>;
177*8ccc0d23SEmmanuel Vadot};
178*8ccc0d23SEmmanuel Vadot
179*8ccc0d23SEmmanuel Vadot&hash1 {
180*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_HASH1>;
181*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_HASH1>;
182*8ccc0d23SEmmanuel Vadot};
183*8ccc0d23SEmmanuel Vadot
184*8ccc0d23SEmmanuel Vadot&i2c1 {
185*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "sleep";
186*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&i2c1_pins_c>;
187*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&i2c1_sleep_pins_c>;
188*8ccc0d23SEmmanuel Vadot	i2c-scl-rising-time-ns = <185>;
189*8ccc0d23SEmmanuel Vadot	i2c-scl-falling-time-ns = <20>;
190*8ccc0d23SEmmanuel Vadot	status = "okay";
191*8ccc0d23SEmmanuel Vadot	/delete-property/dmas;
192*8ccc0d23SEmmanuel Vadot	/delete-property/dma-names;
193*8ccc0d23SEmmanuel Vadot};
194*8ccc0d23SEmmanuel Vadot
195*8ccc0d23SEmmanuel Vadot&i2c4 {
196*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_I2C4>;
197*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_I2C4>;
198*8ccc0d23SEmmanuel Vadot};
199*8ccc0d23SEmmanuel Vadot
200*8ccc0d23SEmmanuel Vadot&i2c6 {
201*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "sleep";
202*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&i2c6_pins_b>;
203*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&i2c6_sleep_pins_b>;
204*8ccc0d23SEmmanuel Vadot	i2c-scl-rising-time-ns = <185>;
205*8ccc0d23SEmmanuel Vadot	i2c-scl-falling-time-ns = <20>;
206*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_I2C6>;
207*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_I2C6>;
208*8ccc0d23SEmmanuel Vadot	status = "okay";
209*8ccc0d23SEmmanuel Vadot	/delete-property/dmas;
210*8ccc0d23SEmmanuel Vadot	/delete-property/dma-names;
211*8ccc0d23SEmmanuel Vadot
212*8ccc0d23SEmmanuel Vadot	pressure-sensor@47 {
213*8ccc0d23SEmmanuel Vadot		compatible = "bosch,bmp580";
214*8ccc0d23SEmmanuel Vadot		reg = <0x47>;
215*8ccc0d23SEmmanuel Vadot		vdda-supply = <&v5v_sw>;
216*8ccc0d23SEmmanuel Vadot		vddd-supply = <&v5v_sw>;
217*8ccc0d23SEmmanuel Vadot	};
218*8ccc0d23SEmmanuel Vadot
219*8ccc0d23SEmmanuel Vadot	co2-sensor@62 {
220*8ccc0d23SEmmanuel Vadot		compatible = "sensirion,scd41";
221*8ccc0d23SEmmanuel Vadot		reg = <0x62>;
222*8ccc0d23SEmmanuel Vadot		vdd-supply = <&v5v_sw>;
223*8ccc0d23SEmmanuel Vadot	};
224*8ccc0d23SEmmanuel Vadot
225*8ccc0d23SEmmanuel Vadot	pm-sensor@69 {
226*8ccc0d23SEmmanuel Vadot		compatible = "sensirion,sps30";
227*8ccc0d23SEmmanuel Vadot		reg = <0x69>;
228*8ccc0d23SEmmanuel Vadot	};
229*8ccc0d23SEmmanuel Vadot};
230*8ccc0d23SEmmanuel Vadot
231*8ccc0d23SEmmanuel Vadot&i2s1 {
232*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "sleep";
233*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&i2s1_pins_a>;
234*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&i2s1_sleep_pins_a>;
235*8ccc0d23SEmmanuel Vadot	clocks = <&rcc SPI1>, <&rcc SPI1_K>, <&rcc PLL3_Q>, <&rcc PLL3_R>;
236*8ccc0d23SEmmanuel Vadot	clock-names = "pclk", "i2sclk", "x8k", "x11k";
237*8ccc0d23SEmmanuel Vadot	#clock-cells = <0>; /* Set I2S2 as master clock provider */
238*8ccc0d23SEmmanuel Vadot	status = "okay";
239*8ccc0d23SEmmanuel Vadot
240*8ccc0d23SEmmanuel Vadot	i2s1_port: port {
241*8ccc0d23SEmmanuel Vadot		i2s1_endpoint: endpoint {
242*8ccc0d23SEmmanuel Vadot			format = "i2s";
243*8ccc0d23SEmmanuel Vadot			mclk-fs = <256>;
244*8ccc0d23SEmmanuel Vadot			remote-endpoint = <&codec_endpoint>;
245*8ccc0d23SEmmanuel Vadot		};
246*8ccc0d23SEmmanuel Vadot	};
247*8ccc0d23SEmmanuel Vadot};
248*8ccc0d23SEmmanuel Vadot
249*8ccc0d23SEmmanuel Vadot&iwdg2 {
250*8ccc0d23SEmmanuel Vadot	clocks = <&rcc IWDG2>, <&scmi_clk CK_SCMI_LSI>;
251*8ccc0d23SEmmanuel Vadot	status = "okay";
252*8ccc0d23SEmmanuel Vadot};
253*8ccc0d23SEmmanuel Vadot
254*8ccc0d23SEmmanuel Vadot&m4_rproc {
255*8ccc0d23SEmmanuel Vadot	/delete-property/ st,syscfg-holdboot;
256*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_MCU>,
257*8ccc0d23SEmmanuel Vadot		 <&scmi_reset RST_SCMI_MCU_HOLD_BOOT>;
258*8ccc0d23SEmmanuel Vadot	reset-names =  "mcu_rst", "hold_boot";
259*8ccc0d23SEmmanuel Vadot};
260*8ccc0d23SEmmanuel Vadot
261*8ccc0d23SEmmanuel Vadot&mdma1 {
262*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_MDMA>;
263*8ccc0d23SEmmanuel Vadot};
264*8ccc0d23SEmmanuel Vadot
265*8ccc0d23SEmmanuel Vadot&rcc {
266*8ccc0d23SEmmanuel Vadot	compatible = "st,stm32mp1-rcc-secure", "syscon";
267*8ccc0d23SEmmanuel Vadot	clock-names = "hse", "hsi", "csi", "lse", "lsi";
268*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_HSE>,
269*8ccc0d23SEmmanuel Vadot		 <&scmi_clk CK_SCMI_HSI>,
270*8ccc0d23SEmmanuel Vadot		 <&scmi_clk CK_SCMI_CSI>,
271*8ccc0d23SEmmanuel Vadot		 <&scmi_clk CK_SCMI_LSE>,
272*8ccc0d23SEmmanuel Vadot		 <&scmi_clk CK_SCMI_LSI>;
273*8ccc0d23SEmmanuel Vadot};
274*8ccc0d23SEmmanuel Vadot
275*8ccc0d23SEmmanuel Vadot&rng1 {
276*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_RNG1>;
277*8ccc0d23SEmmanuel Vadot	resets = <&scmi_reset RST_SCMI_RNG1>;
278*8ccc0d23SEmmanuel Vadot	status = "okay";
279*8ccc0d23SEmmanuel Vadot};
280*8ccc0d23SEmmanuel Vadot
281*8ccc0d23SEmmanuel Vadot&rtc {
282*8ccc0d23SEmmanuel Vadot	clocks = <&scmi_clk CK_SCMI_RTCAPB>, <&scmi_clk CK_SCMI_RTC>;
283*8ccc0d23SEmmanuel Vadot};
284*8ccc0d23SEmmanuel Vadot
285*8ccc0d23SEmmanuel Vadot/* SD card without Card-detect */
286*8ccc0d23SEmmanuel Vadot&sdmmc1 {
287*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "opendrain", "sleep";
288*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&sdmmc1_b4_pins_a>;
289*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&sdmmc1_b4_od_pins_a>;
290*8ccc0d23SEmmanuel Vadot	pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
291*8ccc0d23SEmmanuel Vadot	broken-cd;
292*8ccc0d23SEmmanuel Vadot	no-sdio;
293*8ccc0d23SEmmanuel Vadot	no-1-8-v;
294*8ccc0d23SEmmanuel Vadot	st,neg-edge;
295*8ccc0d23SEmmanuel Vadot	bus-width = <4>;
296*8ccc0d23SEmmanuel Vadot	vmmc-supply = <&v3v3>;
297*8ccc0d23SEmmanuel Vadot	status = "okay";
298*8ccc0d23SEmmanuel Vadot};
299*8ccc0d23SEmmanuel Vadot
300*8ccc0d23SEmmanuel Vadot/* EMMC */
301*8ccc0d23SEmmanuel Vadot&sdmmc2 {
302*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "opendrain", "sleep";
303*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&sdmmc2_b4_pins_c &sdmmc2_d47_pins_b>;
304*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&sdmmc2_b4_od_pins_c &sdmmc2_d47_pins_b>;
305*8ccc0d23SEmmanuel Vadot	pinctrl-2 = <&sdmmc2_b4_sleep_pins_c &sdmmc2_d47_sleep_pins_b>;
306*8ccc0d23SEmmanuel Vadot	non-removable;
307*8ccc0d23SEmmanuel Vadot	no-sd;
308*8ccc0d23SEmmanuel Vadot	no-sdio;
309*8ccc0d23SEmmanuel Vadot	no-1-8-v;
310*8ccc0d23SEmmanuel Vadot	st,neg-edge;
311*8ccc0d23SEmmanuel Vadot	bus-width = <8>;
312*8ccc0d23SEmmanuel Vadot	vmmc-supply = <&v3v3>;
313*8ccc0d23SEmmanuel Vadot	status = "okay";
314*8ccc0d23SEmmanuel Vadot};
315*8ccc0d23SEmmanuel Vadot
316*8ccc0d23SEmmanuel Vadot/* Wifi */
317*8ccc0d23SEmmanuel Vadot&sdmmc3 {
318*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "opendrain", "sleep";
319*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&sdmmc3_b4_pins_c>;
320*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&sdmmc3_b4_od_pins_c>;
321*8ccc0d23SEmmanuel Vadot	pinctrl-2 = <&sdmmc3_b4_sleep_pins_c>;
322*8ccc0d23SEmmanuel Vadot	non-removable;
323*8ccc0d23SEmmanuel Vadot	st,neg-edge;
324*8ccc0d23SEmmanuel Vadot	bus-width = <4>;
325*8ccc0d23SEmmanuel Vadot	vmmc-supply = <&v3v3>;
326*8ccc0d23SEmmanuel Vadot	mmc-pwrseq = <&wifi_pwrseq>;
327*8ccc0d23SEmmanuel Vadot	#address-cells = <1>;
328*8ccc0d23SEmmanuel Vadot	#size-cells = <0>;
329*8ccc0d23SEmmanuel Vadot	status = "okay";
330*8ccc0d23SEmmanuel Vadot
331*8ccc0d23SEmmanuel Vadot	wifi@1 {
332*8ccc0d23SEmmanuel Vadot		reg = <1>;
333*8ccc0d23SEmmanuel Vadot		compatible = "brcm,bcm4329-fmac";
334*8ccc0d23SEmmanuel Vadot	};
335*8ccc0d23SEmmanuel Vadot};
336*8ccc0d23SEmmanuel Vadot
337*8ccc0d23SEmmanuel Vadot&timers5 {
338*8ccc0d23SEmmanuel Vadot	status = "okay";
339*8ccc0d23SEmmanuel Vadot	/delete-property/dmas;
340*8ccc0d23SEmmanuel Vadot	/delete-property/dma-names;
341*8ccc0d23SEmmanuel Vadot
342*8ccc0d23SEmmanuel Vadot	pwm {
343*8ccc0d23SEmmanuel Vadot		pinctrl-0 = <&pwm1_pins_d>;
344*8ccc0d23SEmmanuel Vadot		pinctrl-1 = <&pwm1_sleep_pins_d>;
345*8ccc0d23SEmmanuel Vadot		pinctrl-names = "default", "sleep";
346*8ccc0d23SEmmanuel Vadot		status = "okay";
347*8ccc0d23SEmmanuel Vadot	};
348*8ccc0d23SEmmanuel Vadot};
349*8ccc0d23SEmmanuel Vadot
350*8ccc0d23SEmmanuel Vadot&uart4 {
351*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default", "sleep", "idle";
352*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&uart4_pins_e>;
353*8ccc0d23SEmmanuel Vadot	pinctrl-1 = <&uart4_idle_pins_e>;
354*8ccc0d23SEmmanuel Vadot	pinctrl-2 = <&uart4_sleep_pins_e>;
355*8ccc0d23SEmmanuel Vadot	/delete-property/dmas;
356*8ccc0d23SEmmanuel Vadot	/delete-property/dma-names;
357*8ccc0d23SEmmanuel Vadot	status = "okay";
358*8ccc0d23SEmmanuel Vadot};
359*8ccc0d23SEmmanuel Vadot
360*8ccc0d23SEmmanuel Vadot&uart7 {
361*8ccc0d23SEmmanuel Vadot	pinctrl-names = "default";
362*8ccc0d23SEmmanuel Vadot	pinctrl-0 = <&uart7_pins_d>;
363*8ccc0d23SEmmanuel Vadot	uart-has-rtscts;
364*8ccc0d23SEmmanuel Vadot	status = "okay";
365*8ccc0d23SEmmanuel Vadot
366*8ccc0d23SEmmanuel Vadot	bluetooth {
367*8ccc0d23SEmmanuel Vadot		compatible = "brcm,bcm43438-bt";
368*8ccc0d23SEmmanuel Vadot		shutdown-gpios = <&gpioe 11 GPIO_ACTIVE_HIGH>; /* BT_REG_ON */
369*8ccc0d23SEmmanuel Vadot		max-speed = <4000000>;
370*8ccc0d23SEmmanuel Vadot		vbat-supply = <&v3v3>;
371*8ccc0d23SEmmanuel Vadot		vddio-supply = <&v3v3>;
372*8ccc0d23SEmmanuel Vadot		interrupt-parent = <&gpiog>;
373*8ccc0d23SEmmanuel Vadot		interrupts = <12 IRQ_TYPE_EDGE_RISING>; /* BT_HOST_WAKE */
374*8ccc0d23SEmmanuel Vadot		interrupt-names = "host-wakeup";
375*8ccc0d23SEmmanuel Vadot	};
376*8ccc0d23SEmmanuel Vadot};
377