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