xref: /freebsd/sys/contrib/device-tree/src/arm64/freescale/imx8mm-mx8menlo.dts (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1*d5b0e70fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0+ OR MIT
2*d5b0e70fSEmmanuel Vadot/*
3*d5b0e70fSEmmanuel Vadot * Copyright 2021-2022 Marek Vasut <marex@denx.de>
4*d5b0e70fSEmmanuel Vadot */
5*d5b0e70fSEmmanuel Vadot
6*d5b0e70fSEmmanuel Vadot/dts-v1/;
7*d5b0e70fSEmmanuel Vadot
8*d5b0e70fSEmmanuel Vadot#include "imx8mm-verdin.dtsi"
9*d5b0e70fSEmmanuel Vadot
10*d5b0e70fSEmmanuel Vadot/ {
11*d5b0e70fSEmmanuel Vadot	model = "MENLO MX8MM EMBEDDED DEVICE";
12*d5b0e70fSEmmanuel Vadot	compatible = "menlo,mx8menlo",
13*d5b0e70fSEmmanuel Vadot		     "toradex,verdin-imx8mm",
14*d5b0e70fSEmmanuel Vadot		     "fsl,imx8mm";
15*d5b0e70fSEmmanuel Vadot
16*d5b0e70fSEmmanuel Vadot	/delete-node/ gpio-keys;
17*d5b0e70fSEmmanuel Vadot
18*d5b0e70fSEmmanuel Vadot	leds {
19*d5b0e70fSEmmanuel Vadot		compatible = "gpio-leds";
20*d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
21*d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_led>;
22*d5b0e70fSEmmanuel Vadot
23*d5b0e70fSEmmanuel Vadot		user1 {
24*d5b0e70fSEmmanuel Vadot			label = "TestLed601";
25*d5b0e70fSEmmanuel Vadot			gpios = <&gpio4 18 GPIO_ACTIVE_HIGH>;
26*d5b0e70fSEmmanuel Vadot			linux,default-trigger = "mmc0";
27*d5b0e70fSEmmanuel Vadot		};
28*d5b0e70fSEmmanuel Vadot
29*d5b0e70fSEmmanuel Vadot		user2 {
30*d5b0e70fSEmmanuel Vadot			label = "TestLed602";
31*d5b0e70fSEmmanuel Vadot			gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
32*d5b0e70fSEmmanuel Vadot			linux,default-trigger = "heartbeat";
33*d5b0e70fSEmmanuel Vadot		};
34*d5b0e70fSEmmanuel Vadot	};
35*d5b0e70fSEmmanuel Vadot
36*d5b0e70fSEmmanuel Vadot	beeper {
37*d5b0e70fSEmmanuel Vadot		compatible = "gpio-beeper";
38*d5b0e70fSEmmanuel Vadot		pinctrl-names = "default";
39*d5b0e70fSEmmanuel Vadot		pinctrl-0 = <&pinctrl_beeper>;
40*d5b0e70fSEmmanuel Vadot		gpios = <&gpio5 3 GPIO_ACTIVE_HIGH>;
41*d5b0e70fSEmmanuel Vadot	};
42*d5b0e70fSEmmanuel Vadot
43*d5b0e70fSEmmanuel Vadot	/* Fixed clock dedicated to SPI CAN on carrier board */
44*d5b0e70fSEmmanuel Vadot	clk_xtal20: clk-xtal20 {
45*d5b0e70fSEmmanuel Vadot		compatible = "fixed-clock";
46*d5b0e70fSEmmanuel Vadot		#clock-cells = <0>;
47*d5b0e70fSEmmanuel Vadot		clock-frequency = <20000000>;
48*d5b0e70fSEmmanuel Vadot	};
49*d5b0e70fSEmmanuel Vadot};
50*d5b0e70fSEmmanuel Vadot
51*d5b0e70fSEmmanuel Vadot&ecspi1 {
52*d5b0e70fSEmmanuel Vadot	#address-cells = <1>;
53*d5b0e70fSEmmanuel Vadot	#size-cells = <0>;
54*d5b0e70fSEmmanuel Vadot	pinctrl-names = "default";
55*d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi1>;
56*d5b0e70fSEmmanuel Vadot	cs-gpios = <&gpio5 9 GPIO_ACTIVE_LOW>;
57*d5b0e70fSEmmanuel Vadot	status = "okay";
58*d5b0e70fSEmmanuel Vadot
59*d5b0e70fSEmmanuel Vadot	/* CAN controller on the baseboard */
60*d5b0e70fSEmmanuel Vadot	canfd: can@0 {
61*d5b0e70fSEmmanuel Vadot		compatible = "microchip,mcp2518fd";
62*d5b0e70fSEmmanuel Vadot		clocks = <&clk_xtal20>;
63*d5b0e70fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
64*d5b0e70fSEmmanuel Vadot		interrupts = <8 IRQ_TYPE_EDGE_FALLING>;
65*d5b0e70fSEmmanuel Vadot		reg = <0>;
66*d5b0e70fSEmmanuel Vadot		spi-max-frequency = <2000000>;
67*d5b0e70fSEmmanuel Vadot	};
68*d5b0e70fSEmmanuel Vadot
69*d5b0e70fSEmmanuel Vadot};
70*d5b0e70fSEmmanuel Vadot
71*d5b0e70fSEmmanuel Vadot&ecspi2 {
72*d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_ecspi2 &pinctrl_gpio1>;
73*d5b0e70fSEmmanuel Vadot	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>, <&gpio3 4 GPIO_ACTIVE_LOW>;
74*d5b0e70fSEmmanuel Vadot	status = "okay";
75*d5b0e70fSEmmanuel Vadot
76*d5b0e70fSEmmanuel Vadot	spidev@0 {
77*d5b0e70fSEmmanuel Vadot		compatible = "menlo,m53cpld";
78*d5b0e70fSEmmanuel Vadot		reg = <0>;
79*d5b0e70fSEmmanuel Vadot		spi-max-frequency = <25000000>;
80*d5b0e70fSEmmanuel Vadot	};
81*d5b0e70fSEmmanuel Vadot
82*d5b0e70fSEmmanuel Vadot	spidev@1 {
83*d5b0e70fSEmmanuel Vadot		compatible = "menlo,m53cpld";
84*d5b0e70fSEmmanuel Vadot		reg = <1>;
85*d5b0e70fSEmmanuel Vadot		spi-max-frequency = <25000000>;
86*d5b0e70fSEmmanuel Vadot	};
87*d5b0e70fSEmmanuel Vadot
88*d5b0e70fSEmmanuel Vadot};
89*d5b0e70fSEmmanuel Vadot
90*d5b0e70fSEmmanuel Vadot&ethphy0 {
91*d5b0e70fSEmmanuel Vadot	max-speed = <100>;
92*d5b0e70fSEmmanuel Vadot};
93*d5b0e70fSEmmanuel Vadot
94*d5b0e70fSEmmanuel Vadot&fec1 {
95*d5b0e70fSEmmanuel Vadot	status = "okay";
96*d5b0e70fSEmmanuel Vadot};
97*d5b0e70fSEmmanuel Vadot
98*d5b0e70fSEmmanuel Vadot&flexspi {
99*d5b0e70fSEmmanuel Vadot	status = "okay";
100*d5b0e70fSEmmanuel Vadot
101*d5b0e70fSEmmanuel Vadot	flash@0 {
102*d5b0e70fSEmmanuel Vadot		reg = <0>;
103*d5b0e70fSEmmanuel Vadot		#address-cells = <1>;
104*d5b0e70fSEmmanuel Vadot		#size-cells = <1>;
105*d5b0e70fSEmmanuel Vadot		compatible = "jedec,spi-nor";
106*d5b0e70fSEmmanuel Vadot		spi-max-frequency = <66000000>;
107*d5b0e70fSEmmanuel Vadot		spi-rx-bus-width = <4>;
108*d5b0e70fSEmmanuel Vadot		spi-tx-bus-width = <4>;
109*d5b0e70fSEmmanuel Vadot	};
110*d5b0e70fSEmmanuel Vadot};
111*d5b0e70fSEmmanuel Vadot
112*d5b0e70fSEmmanuel Vadot&gpio1 {
113*d5b0e70fSEmmanuel Vadot	gpio-line-names =
114*d5b0e70fSEmmanuel Vadot		"", "", "", "",
115*d5b0e70fSEmmanuel Vadot		"", "", "", "",
116*d5b0e70fSEmmanuel Vadot		"", "", "", "",
117*d5b0e70fSEmmanuel Vadot		"", "", "", "",
118*d5b0e70fSEmmanuel Vadot		"", "", "", "",
119*d5b0e70fSEmmanuel Vadot		"", "", "", "",
120*d5b0e70fSEmmanuel Vadot		"", "", "", "",
121*d5b0e70fSEmmanuel Vadot		"", "", "", "";
122*d5b0e70fSEmmanuel Vadot};
123*d5b0e70fSEmmanuel Vadot
124*d5b0e70fSEmmanuel Vadot&gpio2 {
125*d5b0e70fSEmmanuel Vadot	gpio-line-names =
126*d5b0e70fSEmmanuel Vadot		"", "", "", "",
127*d5b0e70fSEmmanuel Vadot		"", "", "", "",
128*d5b0e70fSEmmanuel Vadot		"", "", "", "",
129*d5b0e70fSEmmanuel Vadot		"", "", "", "",
130*d5b0e70fSEmmanuel Vadot		"", "", "", "",
131*d5b0e70fSEmmanuel Vadot		"", "", "", "",
132*d5b0e70fSEmmanuel Vadot		"", "", "", "",
133*d5b0e70fSEmmanuel Vadot		"", "", "", "";
134*d5b0e70fSEmmanuel Vadot};
135*d5b0e70fSEmmanuel Vadot
136*d5b0e70fSEmmanuel Vadot&gpio3 {
137*d5b0e70fSEmmanuel Vadot	gpio-line-names =
138*d5b0e70fSEmmanuel Vadot		"", "", "", "",
139*d5b0e70fSEmmanuel Vadot		"", "", "", "",
140*d5b0e70fSEmmanuel Vadot		"", "", "", "",
141*d5b0e70fSEmmanuel Vadot		"", "", "", "",
142*d5b0e70fSEmmanuel Vadot		"", "", "", "",
143*d5b0e70fSEmmanuel Vadot		"", "", "DISP_reset", "KBD_intI",
144*d5b0e70fSEmmanuel Vadot		"", "", "", "",
145*d5b0e70fSEmmanuel Vadot		"", "", "", "";
146*d5b0e70fSEmmanuel Vadot};
147*d5b0e70fSEmmanuel Vadot
148*d5b0e70fSEmmanuel Vadot&gpio4 {
149*d5b0e70fSEmmanuel Vadot	/*
150*d5b0e70fSEmmanuel Vadot	 * CPLD_D[n] is ARM_CPLD[n] in schematic
151*d5b0e70fSEmmanuel Vadot	 * CPLD_int is SA_INTERRUPT in schematic
152*d5b0e70fSEmmanuel Vadot	 * CPLD_reset is RESET_SOFT in schematic
153*d5b0e70fSEmmanuel Vadot	 */
154*d5b0e70fSEmmanuel Vadot	gpio-line-names =
155*d5b0e70fSEmmanuel Vadot		"CPLD_D[1]", "CPLD_int", "CPLD_reset", "",
156*d5b0e70fSEmmanuel Vadot		"", "CPLD_D[0]", "", "",
157*d5b0e70fSEmmanuel Vadot		"", "", "", "CPLD_D[2]",
158*d5b0e70fSEmmanuel Vadot		"CPLD_D[3]", "CPLD_D[4]", "CPLD_D[5]", "CPLD_D[6]",
159*d5b0e70fSEmmanuel Vadot		"CPLD_D[7]", "", "", "",
160*d5b0e70fSEmmanuel Vadot		"", "", "", "",
161*d5b0e70fSEmmanuel Vadot		"", "", "", "KBD_intK",
162*d5b0e70fSEmmanuel Vadot		"", "", "", "";
163*d5b0e70fSEmmanuel Vadot};
164*d5b0e70fSEmmanuel Vadot
165*d5b0e70fSEmmanuel Vadot&gpio5 {
166*d5b0e70fSEmmanuel Vadot	gpio-line-names =
167*d5b0e70fSEmmanuel Vadot		"", "", "", "",
168*d5b0e70fSEmmanuel Vadot		"", "", "", "",
169*d5b0e70fSEmmanuel Vadot		"", "", "", "",
170*d5b0e70fSEmmanuel Vadot		"", "", "", "",
171*d5b0e70fSEmmanuel Vadot		"", "", "", "",
172*d5b0e70fSEmmanuel Vadot		"", "", "", "",
173*d5b0e70fSEmmanuel Vadot		"", "", "", "",
174*d5b0e70fSEmmanuel Vadot		"", "", "", "";
175*d5b0e70fSEmmanuel Vadot};
176*d5b0e70fSEmmanuel Vadot
177*d5b0e70fSEmmanuel Vadot&gpio_expander_21 {
178*d5b0e70fSEmmanuel Vadot	status = "okay";
179*d5b0e70fSEmmanuel Vadot};
180*d5b0e70fSEmmanuel Vadot
181*d5b0e70fSEmmanuel Vadot&hwmon {
182*d5b0e70fSEmmanuel Vadot	status = "okay";
183*d5b0e70fSEmmanuel Vadot};
184*d5b0e70fSEmmanuel Vadot
185*d5b0e70fSEmmanuel Vadot&i2c3 {
186*d5b0e70fSEmmanuel Vadot	status = "okay";
187*d5b0e70fSEmmanuel Vadot};
188*d5b0e70fSEmmanuel Vadot
189*d5b0e70fSEmmanuel Vadot&i2c4 {
190*d5b0e70fSEmmanuel Vadot	/* None of this is present on the SoM. */
191*d5b0e70fSEmmanuel Vadot	/delete-node/ bridge@2c;
192*d5b0e70fSEmmanuel Vadot	/delete-node/ hdmi@48;
193*d5b0e70fSEmmanuel Vadot	/delete-node/ touch@4a;
194*d5b0e70fSEmmanuel Vadot	/delete-node/ sensor@4f;
195*d5b0e70fSEmmanuel Vadot	/delete-node/ eeprom@50;
196*d5b0e70fSEmmanuel Vadot	/delete-node/ eeprom@57;
197*d5b0e70fSEmmanuel Vadot};
198*d5b0e70fSEmmanuel Vadot
199*d5b0e70fSEmmanuel Vadot&iomuxc {
200*d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_gpio7>, <&pinctrl_gpio_hog1>,
201*d5b0e70fSEmmanuel Vadot		    <&pinctrl_gpio_hog2>, <&pinctrl_gpio_hog3>;
202*d5b0e70fSEmmanuel Vadot
203*d5b0e70fSEmmanuel Vadot	pinctrl_beeper: beepergrp {
204*d5b0e70fSEmmanuel Vadot		fsl,pins = <
205*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_SPDIF_TX_GPIO5_IO3			0x1c4
206*d5b0e70fSEmmanuel Vadot		>;
207*d5b0e70fSEmmanuel Vadot	};
208*d5b0e70fSEmmanuel Vadot
209*d5b0e70fSEmmanuel Vadot	pinctrl_ecspi1: ecspi1grp {
210*d5b0e70fSEmmanuel Vadot		fsl,pins = <
211*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_SCLK_ECSPI1_SCLK		0x4
212*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_MOSI_ECSPI1_MOSI		0x4
213*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_MISO_ECSPI1_MISO		0x1c4
214*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_ECSPI1_SS0_GPIO5_IO9		0x1c4
215*d5b0e70fSEmmanuel Vadot		>;
216*d5b0e70fSEmmanuel Vadot	};
217*d5b0e70fSEmmanuel Vadot
218*d5b0e70fSEmmanuel Vadot	pinctrl_led: ledgrp {
219*d5b0e70fSEmmanuel Vadot		fsl,pins = <
220*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_SAI1_TXD6_GPIO4_IO18		0x1c4
221*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_SAI1_TXFS_GPIO4_IO10		0x1c4
222*d5b0e70fSEmmanuel Vadot		>;
223*d5b0e70fSEmmanuel Vadot	};
224*d5b0e70fSEmmanuel Vadot
225*d5b0e70fSEmmanuel Vadot	pinctrl_uart4_rts: uart4rtsgrp {
226*d5b0e70fSEmmanuel Vadot		fsl,pins = <
227*d5b0e70fSEmmanuel Vadot			/* SODIMM 222 */
228*d5b0e70fSEmmanuel Vadot			MX8MM_IOMUXC_GPIO1_IO09_GPIO1_IO9		0x184
229*d5b0e70fSEmmanuel Vadot		>;
230*d5b0e70fSEmmanuel Vadot	};
231*d5b0e70fSEmmanuel Vadot};
232*d5b0e70fSEmmanuel Vadot
233*d5b0e70fSEmmanuel Vadot&pinctrl_gpio1 {
234*d5b0e70fSEmmanuel Vadot	fsl,pins = <
235*d5b0e70fSEmmanuel Vadot		/* SODIMM 206 */
236*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_NAND_CE3_B_GPIO3_IO4			0x1c4
237*d5b0e70fSEmmanuel Vadot	>;
238*d5b0e70fSEmmanuel Vadot};
239*d5b0e70fSEmmanuel Vadot
240*d5b0e70fSEmmanuel Vadot&pinctrl_gpio_hog1 {
241*d5b0e70fSEmmanuel Vadot	fsl,pins = <
242*d5b0e70fSEmmanuel Vadot		/* SODIMM 88 */
243*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_MCLK_GPIO4_IO20			0x1c4
244*d5b0e70fSEmmanuel Vadot		/* CPLD_int */
245*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_RXC_GPIO4_IO1				0x1c4
246*d5b0e70fSEmmanuel Vadot		/* CPLD_reset */
247*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_RXD0_GPIO4_IO2			0x1c4
248*d5b0e70fSEmmanuel Vadot		/* SODIMM 94 */
249*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_RXD1_GPIO4_IO3			0x1c4
250*d5b0e70fSEmmanuel Vadot		/* SODIMM 96 */
251*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_RXD2_GPIO4_IO4			0x1c4
252*d5b0e70fSEmmanuel Vadot		/* CPLD_D[7] */
253*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_RXD3_GPIO4_IO5			0x1c4
254*d5b0e70fSEmmanuel Vadot		/* CPLD_D[6] */
255*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_RXFS_GPIO4_IO0			0x1c4
256*d5b0e70fSEmmanuel Vadot		/* CPLD_D[5] */
257*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_TXC_GPIO4_IO11			0x1c4
258*d5b0e70fSEmmanuel Vadot		/* CPLD_D[4] */
259*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_TXD0_GPIO4_IO12			0x1c4
260*d5b0e70fSEmmanuel Vadot		/* CPLD_D[3] */
261*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_TXD1_GPIO4_IO13			0x1c4
262*d5b0e70fSEmmanuel Vadot		/* CPLD_D[2] */
263*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_TXD2_GPIO4_IO14			0x1c4
264*d5b0e70fSEmmanuel Vadot		/* CPLD_D[1] */
265*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_TXD3_GPIO4_IO15			0x1c4
266*d5b0e70fSEmmanuel Vadot		/* CPLD_D[0] */
267*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI1_TXD4_GPIO4_IO16			0x1c4
268*d5b0e70fSEmmanuel Vadot		/* KBD_intK */
269*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI2_MCLK_GPIO4_IO27			0x1c4
270*d5b0e70fSEmmanuel Vadot		/* DISP_reset */
271*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI5_RXD1_GPIO3_IO22			0x1c4
272*d5b0e70fSEmmanuel Vadot		/* KBD_intI */
273*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI5_RXD2_GPIO3_IO23			0x1c4
274*d5b0e70fSEmmanuel Vadot		/* SODIMM 46 */
275*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI5_RXD3_GPIO3_IO24			0x1c4
276*d5b0e70fSEmmanuel Vadot	>;
277*d5b0e70fSEmmanuel Vadot};
278*d5b0e70fSEmmanuel Vadot
279*d5b0e70fSEmmanuel Vadot&pinctrl_uart1 {
280*d5b0e70fSEmmanuel Vadot	fsl,pins = <
281*d5b0e70fSEmmanuel Vadot		/* SODIMM 149 */
282*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI2_RXFS_UART1_DCE_TX			0x1c4
283*d5b0e70fSEmmanuel Vadot		/* SODIMM 147 */
284*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_SAI2_RXC_UART1_DCE_RX			0x1c4
285*d5b0e70fSEmmanuel Vadot		/* SODIMM 210 */
286*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_UART3_RXD_UART1_DTE_RTS_B			0x1c4
287*d5b0e70fSEmmanuel Vadot		/* SODIMM 212 */
288*d5b0e70fSEmmanuel Vadot		MX8MM_IOMUXC_UART3_TXD_UART1_DTE_CTS_B			0x1c4
289*d5b0e70fSEmmanuel Vadot	>;
290*d5b0e70fSEmmanuel Vadot};
291*d5b0e70fSEmmanuel Vadot
292*d5b0e70fSEmmanuel Vadot&reg_usb_otg1_vbus {
293*d5b0e70fSEmmanuel Vadot	/delete-property/ enable-active-high;
294*d5b0e70fSEmmanuel Vadot	gpio = <&gpio1 12 GPIO_ACTIVE_LOW>;
295*d5b0e70fSEmmanuel Vadot};
296*d5b0e70fSEmmanuel Vadot
297*d5b0e70fSEmmanuel Vadot&reg_usb_otg2_vbus {
298*d5b0e70fSEmmanuel Vadot	/delete-property/ enable-active-high;
299*d5b0e70fSEmmanuel Vadot	gpio = <&gpio1 14 GPIO_ACTIVE_LOW>;
300*d5b0e70fSEmmanuel Vadot};
301*d5b0e70fSEmmanuel Vadot
302*d5b0e70fSEmmanuel Vadot&sai2 {
303*d5b0e70fSEmmanuel Vadot	status = "disabled";
304*d5b0e70fSEmmanuel Vadot};
305*d5b0e70fSEmmanuel Vadot
306*d5b0e70fSEmmanuel Vadot&uart1 {
307*d5b0e70fSEmmanuel Vadot	uart-has-rtscts;
308*d5b0e70fSEmmanuel Vadot	status = "okay";
309*d5b0e70fSEmmanuel Vadot};
310*d5b0e70fSEmmanuel Vadot
311*d5b0e70fSEmmanuel Vadot&uart2 {
312*d5b0e70fSEmmanuel Vadot	status = "okay";
313*d5b0e70fSEmmanuel Vadot};
314*d5b0e70fSEmmanuel Vadot
315*d5b0e70fSEmmanuel Vadot&uart4 {
316*d5b0e70fSEmmanuel Vadot	pinctrl-0 = <&pinctrl_uart4 &pinctrl_uart4_rts>;
317*d5b0e70fSEmmanuel Vadot	linux,rs485-enabled-at-boot-time;
318*d5b0e70fSEmmanuel Vadot	rts-gpios = <&gpio1 9 GPIO_ACTIVE_HIGH>;
319*d5b0e70fSEmmanuel Vadot	status = "okay";
320*d5b0e70fSEmmanuel Vadot};
321*d5b0e70fSEmmanuel Vadot
322*d5b0e70fSEmmanuel Vadot&usbotg1 {
323*d5b0e70fSEmmanuel Vadot	dr_mode = "peripheral";
324*d5b0e70fSEmmanuel Vadot	status = "okay";
325*d5b0e70fSEmmanuel Vadot};
326*d5b0e70fSEmmanuel Vadot
327*d5b0e70fSEmmanuel Vadot&usbotg2 {
328*d5b0e70fSEmmanuel Vadot	dr_mode = "host";
329*d5b0e70fSEmmanuel Vadot	status = "okay";
330*d5b0e70fSEmmanuel Vadot};
331*d5b0e70fSEmmanuel Vadot
332*d5b0e70fSEmmanuel Vadot&usdhc2 {
333*d5b0e70fSEmmanuel Vadot	status = "okay";
334*d5b0e70fSEmmanuel Vadot};
335