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