xref: /freebsd-src/sys/contrib/device-tree/src/arm/st/stm32mp135f-dk.dts (revision 7d0873ebb83b19ba1e8a89e679470d885efe12e3)
1f126890aSEmmanuel Vadot// SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
2f126890aSEmmanuel Vadot/*
3f126890aSEmmanuel Vadot * Copyright (C) STMicroelectronics 2021 - All Rights Reserved
4f126890aSEmmanuel Vadot * Author: Alexandre Torgue <alexandre.torgue@foss.st.com> for STMicroelectronics.
5f126890aSEmmanuel Vadot */
6f126890aSEmmanuel Vadot
7f126890aSEmmanuel Vadot/dts-v1/;
8f126890aSEmmanuel Vadot
9f126890aSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
10f126890aSEmmanuel Vadot#include <dt-bindings/input/input.h>
11f126890aSEmmanuel Vadot#include <dt-bindings/leds/common.h>
12aa1a8ff2SEmmanuel Vadot#include <dt-bindings/regulator/st,stm32mp13-regulator.h>
13f126890aSEmmanuel Vadot#include "stm32mp135.dtsi"
14f126890aSEmmanuel Vadot#include "stm32mp13xf.dtsi"
15f126890aSEmmanuel Vadot#include "stm32mp13-pinctrl.dtsi"
16f126890aSEmmanuel Vadot
17f126890aSEmmanuel Vadot/ {
18f126890aSEmmanuel Vadot	model = "STMicroelectronics STM32MP135F-DK Discovery Board";
19f126890aSEmmanuel Vadot	compatible = "st,stm32mp135f-dk", "st,stm32mp135";
20f126890aSEmmanuel Vadot
21f126890aSEmmanuel Vadot	aliases {
22f126890aSEmmanuel Vadot		serial0 = &uart4;
23f126890aSEmmanuel Vadot		serial1 = &usart1;
24f126890aSEmmanuel Vadot		serial2 = &uart8;
25f126890aSEmmanuel Vadot		serial3 = &usart2;
26f126890aSEmmanuel Vadot	};
27f126890aSEmmanuel Vadot
28f126890aSEmmanuel Vadot	chosen {
29f126890aSEmmanuel Vadot		stdout-path = "serial0:115200n8";
30f126890aSEmmanuel Vadot	};
31f126890aSEmmanuel Vadot
32f126890aSEmmanuel Vadot	memory@c0000000 {
33f126890aSEmmanuel Vadot		device_type = "memory";
34f126890aSEmmanuel Vadot		reg = <0xc0000000 0x20000000>;
35f126890aSEmmanuel Vadot	};
36f126890aSEmmanuel Vadot
37f126890aSEmmanuel Vadot	reserved-memory {
38f126890aSEmmanuel Vadot		#address-cells = <1>;
39f126890aSEmmanuel Vadot		#size-cells = <1>;
40f126890aSEmmanuel Vadot		ranges;
41f126890aSEmmanuel Vadot
42f126890aSEmmanuel Vadot		optee@dd000000 {
43f126890aSEmmanuel Vadot			reg = <0xdd000000 0x3000000>;
44f126890aSEmmanuel Vadot			no-map;
45f126890aSEmmanuel Vadot		};
46f126890aSEmmanuel Vadot	};
47f126890aSEmmanuel Vadot
48f126890aSEmmanuel Vadot	gpio-keys {
49f126890aSEmmanuel Vadot		compatible = "gpio-keys";
50f126890aSEmmanuel Vadot
51f126890aSEmmanuel Vadot		button-user {
52f126890aSEmmanuel Vadot			label = "User-PA13";
53f126890aSEmmanuel Vadot			linux,code = <BTN_1>;
54f126890aSEmmanuel Vadot			gpios = <&gpioa 13 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
55f126890aSEmmanuel Vadot		};
56f126890aSEmmanuel Vadot	};
57f126890aSEmmanuel Vadot
58f126890aSEmmanuel Vadot	leds {
59f126890aSEmmanuel Vadot		compatible = "gpio-leds";
60f126890aSEmmanuel Vadot
61f126890aSEmmanuel Vadot		led-blue {
62f126890aSEmmanuel Vadot			function = LED_FUNCTION_HEARTBEAT;
63f126890aSEmmanuel Vadot			color = <LED_COLOR_ID_BLUE>;
64f126890aSEmmanuel Vadot			gpios = <&gpioa 14 GPIO_ACTIVE_LOW>;
65f126890aSEmmanuel Vadot			linux,default-trigger = "heartbeat";
66f126890aSEmmanuel Vadot			default-state = "off";
67f126890aSEmmanuel Vadot		};
68f126890aSEmmanuel Vadot	};
69*7d0873ebSEmmanuel Vadot
70*7d0873ebSEmmanuel Vadot	panel_backlight: panel-backlight {
71*7d0873ebSEmmanuel Vadot		compatible = "gpio-backlight";
72*7d0873ebSEmmanuel Vadot		gpios = <&gpioe 12 GPIO_ACTIVE_HIGH>;
73*7d0873ebSEmmanuel Vadot		default-on;
74*7d0873ebSEmmanuel Vadot		status = "okay";
75*7d0873ebSEmmanuel Vadot	};
76*7d0873ebSEmmanuel Vadot
77*7d0873ebSEmmanuel Vadot	panel_rgb: panel-rgb {
78*7d0873ebSEmmanuel Vadot		compatible = "rocktech,rk043fn48h";
79*7d0873ebSEmmanuel Vadot		enable-gpios = <&gpioi 7 GPIO_ACTIVE_HIGH>;
80*7d0873ebSEmmanuel Vadot		backlight = <&panel_backlight>;
81*7d0873ebSEmmanuel Vadot		power-supply = <&scmi_v3v3_sw>;
82*7d0873ebSEmmanuel Vadot		status = "okay";
83*7d0873ebSEmmanuel Vadot
84*7d0873ebSEmmanuel Vadot		width-mm = <105>;
85*7d0873ebSEmmanuel Vadot		height-mm = <67>;
86*7d0873ebSEmmanuel Vadot
87*7d0873ebSEmmanuel Vadot		panel-timing {
88*7d0873ebSEmmanuel Vadot			clock-frequency = <10000000>;
89*7d0873ebSEmmanuel Vadot			hactive = <480>;
90*7d0873ebSEmmanuel Vadot			hback-porch = <43>;
91*7d0873ebSEmmanuel Vadot			hfront-porch = <10>;
92*7d0873ebSEmmanuel Vadot			hsync-len = <1>;
93*7d0873ebSEmmanuel Vadot			hsync-active = <0>;
94*7d0873ebSEmmanuel Vadot			vactive = <272>;
95*7d0873ebSEmmanuel Vadot			vback-porch = <26>;
96*7d0873ebSEmmanuel Vadot			vfront-porch = <4>;
97*7d0873ebSEmmanuel Vadot			vsync-len = <10>;
98*7d0873ebSEmmanuel Vadot			vsync-active = <0>;
99*7d0873ebSEmmanuel Vadot			de-active = <1>;
100*7d0873ebSEmmanuel Vadot			pixelclk-active = <1>;
101*7d0873ebSEmmanuel Vadot		};
102*7d0873ebSEmmanuel Vadot
103*7d0873ebSEmmanuel Vadot		port {
104*7d0873ebSEmmanuel Vadot			panel_in_rgb: endpoint {
105*7d0873ebSEmmanuel Vadot				remote-endpoint = <&ltdc_out_rgb>;
106*7d0873ebSEmmanuel Vadot			};
107*7d0873ebSEmmanuel Vadot		};
108*7d0873ebSEmmanuel Vadot	};
109f126890aSEmmanuel Vadot};
110f126890aSEmmanuel Vadot
111f126890aSEmmanuel Vadot&adc_1 {
112f126890aSEmmanuel Vadot	pinctrl-names = "default";
113f126890aSEmmanuel Vadot	pinctrl-0 = <&adc1_usb_cc_pins_a>;
114aa1a8ff2SEmmanuel Vadot	vdda-supply = <&scmi_vdd_adc>;
115aa1a8ff2SEmmanuel Vadot	vref-supply = <&scmi_vdd_adc>;
116f126890aSEmmanuel Vadot	status = "okay";
117f126890aSEmmanuel Vadot	adc1: adc@0 {
118f126890aSEmmanuel Vadot		status = "okay";
119f126890aSEmmanuel Vadot		/*
120f126890aSEmmanuel Vadot		 * Type-C USB_PWR_CC1 & USB_PWR_CC2 on in6 & in12.
121f126890aSEmmanuel Vadot		 * Use at least 5 * RC time, e.g. 5 * (Rp + Rd) * C:
122f126890aSEmmanuel Vadot		 * 5 * (5.1 + 47kOhms) * 5pF => 1.3us.
123f126890aSEmmanuel Vadot		 * Use arbitrary margin here (e.g. 5us).
124f126890aSEmmanuel Vadot		 */
125f126890aSEmmanuel Vadot		channel@6 {
126f126890aSEmmanuel Vadot			reg = <6>;
127f126890aSEmmanuel Vadot			st,min-sample-time-ns = <5000>;
128f126890aSEmmanuel Vadot		};
129f126890aSEmmanuel Vadot		channel@12 {
130f126890aSEmmanuel Vadot			reg = <12>;
131f126890aSEmmanuel Vadot			st,min-sample-time-ns = <5000>;
132f126890aSEmmanuel Vadot		};
133f126890aSEmmanuel Vadot	};
134f126890aSEmmanuel Vadot};
135f126890aSEmmanuel Vadot
13601950c46SEmmanuel Vadot&crc1 {
13701950c46SEmmanuel Vadot	status = "okay";
13801950c46SEmmanuel Vadot};
13901950c46SEmmanuel Vadot
14001950c46SEmmanuel Vadot&cryp {
14101950c46SEmmanuel Vadot	status = "okay";
14201950c46SEmmanuel Vadot};
14301950c46SEmmanuel Vadot
144f126890aSEmmanuel Vadot&i2c1 {
145f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
146f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c1_pins_a>;
147f126890aSEmmanuel Vadot	pinctrl-1 = <&i2c1_sleep_pins_a>;
148f126890aSEmmanuel Vadot	i2c-scl-rising-time-ns = <96>;
149f126890aSEmmanuel Vadot	i2c-scl-falling-time-ns = <3>;
150f126890aSEmmanuel Vadot	clock-frequency = <1000000>;
151f126890aSEmmanuel Vadot	status = "okay";
152f126890aSEmmanuel Vadot	/* spare dmas for other usage */
153f126890aSEmmanuel Vadot	/delete-property/dmas;
154f126890aSEmmanuel Vadot	/delete-property/dma-names;
155f126890aSEmmanuel Vadot
156f126890aSEmmanuel Vadot	mcp23017: pinctrl@21 {
157f126890aSEmmanuel Vadot		compatible = "microchip,mcp23017";
158f126890aSEmmanuel Vadot		reg = <0x21>;
159f126890aSEmmanuel Vadot		gpio-controller;
160f126890aSEmmanuel Vadot		#gpio-cells = <2>;
161f126890aSEmmanuel Vadot		interrupts = <12 IRQ_TYPE_LEVEL_LOW>;
162f126890aSEmmanuel Vadot		interrupt-parent = <&gpiog>;
163f126890aSEmmanuel Vadot		pinctrl-names = "default";
164f126890aSEmmanuel Vadot		pinctrl-0 = <&mcp23017_pins_a>;
165f126890aSEmmanuel Vadot		interrupt-controller;
166f126890aSEmmanuel Vadot		#interrupt-cells = <2>;
167f126890aSEmmanuel Vadot		microchip,irq-mirror;
168f126890aSEmmanuel Vadot	};
169f126890aSEmmanuel Vadot
170f126890aSEmmanuel Vadot	typec@53 {
171f126890aSEmmanuel Vadot		compatible = "st,stm32g0-typec";
172f126890aSEmmanuel Vadot		reg = <0x53>;
173f126890aSEmmanuel Vadot		/* Alert pin on PI2 */
174f126890aSEmmanuel Vadot		interrupts = <2 IRQ_TYPE_EDGE_FALLING>;
175f126890aSEmmanuel Vadot		interrupt-parent = <&gpioi>;
176f126890aSEmmanuel Vadot		/* Internal pull-up on PI2 */
177f126890aSEmmanuel Vadot		pinctrl-names = "default";
178f126890aSEmmanuel Vadot		pinctrl-0 = <&stm32g0_intn_pins_a>;
179f126890aSEmmanuel Vadot		firmware-name = "stm32g0-ucsi.mp135f-dk.fw";
180f126890aSEmmanuel Vadot		connector {
181f126890aSEmmanuel Vadot			compatible = "usb-c-connector";
182f126890aSEmmanuel Vadot			label = "USB-C";
183f126890aSEmmanuel Vadot
184f126890aSEmmanuel Vadot			port {
185f126890aSEmmanuel Vadot				con_usb_c_g0_ep: endpoint {
186f126890aSEmmanuel Vadot					remote-endpoint = <&usbotg_hs_ep>;
187f126890aSEmmanuel Vadot				};
188f126890aSEmmanuel Vadot			};
189f126890aSEmmanuel Vadot		};
190f126890aSEmmanuel Vadot	};
191f126890aSEmmanuel Vadot};
192f126890aSEmmanuel Vadot
193f126890aSEmmanuel Vadot&i2c5 {
194f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
195f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c5_pins_a>;
196f126890aSEmmanuel Vadot	pinctrl-1 = <&i2c5_sleep_pins_a>;
197f126890aSEmmanuel Vadot	i2c-scl-rising-time-ns = <170>;
198f126890aSEmmanuel Vadot	i2c-scl-falling-time-ns = <5>;
199f126890aSEmmanuel Vadot	clock-frequency = <400000>;
200f126890aSEmmanuel Vadot	status = "okay";
201f126890aSEmmanuel Vadot	/* spare dmas for other usage */
202f126890aSEmmanuel Vadot	/delete-property/dmas;
203f126890aSEmmanuel Vadot	/delete-property/dma-names;
204f126890aSEmmanuel Vadot};
205f126890aSEmmanuel Vadot
206f126890aSEmmanuel Vadot&iwdg2 {
207f126890aSEmmanuel Vadot	timeout-sec = <32>;
208f126890aSEmmanuel Vadot	status = "okay";
209f126890aSEmmanuel Vadot};
210f126890aSEmmanuel Vadot
211*7d0873ebSEmmanuel Vadot&ltdc {
212*7d0873ebSEmmanuel Vadot	pinctrl-names = "default", "sleep";
213*7d0873ebSEmmanuel Vadot	pinctrl-0 = <&ltdc_pins_a>;
214*7d0873ebSEmmanuel Vadot	pinctrl-1 = <&ltdc_sleep_pins_a>;
215*7d0873ebSEmmanuel Vadot	status = "okay";
216*7d0873ebSEmmanuel Vadot
217*7d0873ebSEmmanuel Vadot	port {
218*7d0873ebSEmmanuel Vadot		ltdc_out_rgb: endpoint {
219*7d0873ebSEmmanuel Vadot			remote-endpoint = <&panel_in_rgb>;
220*7d0873ebSEmmanuel Vadot		};
221*7d0873ebSEmmanuel Vadot	};
222*7d0873ebSEmmanuel Vadot};
223*7d0873ebSEmmanuel Vadot
224f126890aSEmmanuel Vadot&rtc {
225f126890aSEmmanuel Vadot	status = "okay";
226f126890aSEmmanuel Vadot};
227f126890aSEmmanuel Vadot
228aa1a8ff2SEmmanuel Vadot&scmi_regu {
229aa1a8ff2SEmmanuel Vadot	scmi_vdd_adc: regulator@10 {
230aa1a8ff2SEmmanuel Vadot		reg = <VOLTD_SCMI_STPMIC1_LDO1>;
231aa1a8ff2SEmmanuel Vadot		regulator-name = "vdd_adc";
232aa1a8ff2SEmmanuel Vadot	};
233aa1a8ff2SEmmanuel Vadot	scmi_vdd_usb: regulator@13 {
234aa1a8ff2SEmmanuel Vadot		reg = <VOLTD_SCMI_STPMIC1_LDO4>;
235aa1a8ff2SEmmanuel Vadot		regulator-name = "vdd_usb";
236aa1a8ff2SEmmanuel Vadot	};
237aa1a8ff2SEmmanuel Vadot	scmi_vdd_sd: regulator@14 {
238aa1a8ff2SEmmanuel Vadot		reg = <VOLTD_SCMI_STPMIC1_LDO5>;
239aa1a8ff2SEmmanuel Vadot		regulator-name = "vdd_sd";
240aa1a8ff2SEmmanuel Vadot	};
241aa1a8ff2SEmmanuel Vadot	scmi_v1v8_periph: regulator@15 {
242aa1a8ff2SEmmanuel Vadot		reg = <VOLTD_SCMI_STPMIC1_LDO6>;
243aa1a8ff2SEmmanuel Vadot		regulator-name = "v1v8_periph";
244aa1a8ff2SEmmanuel Vadot	};
245aa1a8ff2SEmmanuel Vadot	scmi_v3v3_sw: regulator@19 {
246aa1a8ff2SEmmanuel Vadot		reg = <VOLTD_SCMI_STPMIC1_PWR_SW2>;
247aa1a8ff2SEmmanuel Vadot		regulator-name = "v3v3_sw";
248aa1a8ff2SEmmanuel Vadot	};
249aa1a8ff2SEmmanuel Vadot};
250aa1a8ff2SEmmanuel Vadot
251f126890aSEmmanuel Vadot&sdmmc1 {
252f126890aSEmmanuel Vadot	pinctrl-names = "default", "opendrain", "sleep";
253f126890aSEmmanuel Vadot	pinctrl-0 = <&sdmmc1_b4_pins_a &sdmmc1_clk_pins_a>;
254f126890aSEmmanuel Vadot	pinctrl-1 = <&sdmmc1_b4_od_pins_a &sdmmc1_clk_pins_a>;
255f126890aSEmmanuel Vadot	pinctrl-2 = <&sdmmc1_b4_sleep_pins_a>;
256f126890aSEmmanuel Vadot	cd-gpios = <&gpioh 4 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>;
257f126890aSEmmanuel Vadot	disable-wp;
258f126890aSEmmanuel Vadot	st,neg-edge;
259f126890aSEmmanuel Vadot	bus-width = <4>;
260aa1a8ff2SEmmanuel Vadot	vmmc-supply = <&scmi_vdd_sd>;
261f126890aSEmmanuel Vadot	status = "okay";
262f126890aSEmmanuel Vadot};
263f126890aSEmmanuel Vadot
264f126890aSEmmanuel Vadot&spi5 {
265f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep";
266f126890aSEmmanuel Vadot	pinctrl-0 = <&spi5_pins_a>;
267f126890aSEmmanuel Vadot	pinctrl-1 = <&spi5_sleep_pins_a>;
268f126890aSEmmanuel Vadot	status = "disabled";
269f126890aSEmmanuel Vadot};
270f126890aSEmmanuel Vadot
271f126890aSEmmanuel Vadot&timers3 {
272f126890aSEmmanuel Vadot	/delete-property/dmas;
273f126890aSEmmanuel Vadot	/delete-property/dma-names;
274f126890aSEmmanuel Vadot	status = "disabled";
275f126890aSEmmanuel Vadot	pwm {
276f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm3_pins_a>;
277f126890aSEmmanuel Vadot		pinctrl-1 = <&pwm3_sleep_pins_a>;
278f126890aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
279f126890aSEmmanuel Vadot		status = "okay";
280f126890aSEmmanuel Vadot	};
281f126890aSEmmanuel Vadot	timer@2 {
282f126890aSEmmanuel Vadot		status = "okay";
283f126890aSEmmanuel Vadot	};
284f126890aSEmmanuel Vadot};
285f126890aSEmmanuel Vadot
286f126890aSEmmanuel Vadot&timers4 {
287f126890aSEmmanuel Vadot	/delete-property/dmas;
288f126890aSEmmanuel Vadot	/delete-property/dma-names;
289f126890aSEmmanuel Vadot	status = "disabled";
290f126890aSEmmanuel Vadot	pwm {
291f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm4_pins_a>;
292f126890aSEmmanuel Vadot		pinctrl-1 = <&pwm4_sleep_pins_a>;
293f126890aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
294f126890aSEmmanuel Vadot		status = "okay";
295f126890aSEmmanuel Vadot	};
296f126890aSEmmanuel Vadot	timer@3 {
297f126890aSEmmanuel Vadot		status = "okay";
298f126890aSEmmanuel Vadot	};
299f126890aSEmmanuel Vadot};
300f126890aSEmmanuel Vadot
301f126890aSEmmanuel Vadot&timers8 {
302f126890aSEmmanuel Vadot	/delete-property/dmas;
303f126890aSEmmanuel Vadot	/delete-property/dma-names;
304f126890aSEmmanuel Vadot	status = "disabled";
305f126890aSEmmanuel Vadot	pwm {
306f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm8_pins_a>;
307f126890aSEmmanuel Vadot		pinctrl-1 = <&pwm8_sleep_pins_a>;
308f126890aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
309f126890aSEmmanuel Vadot		status = "okay";
310f126890aSEmmanuel Vadot	};
311f126890aSEmmanuel Vadot	timer@7 {
312f126890aSEmmanuel Vadot		status = "okay";
313f126890aSEmmanuel Vadot	};
314f126890aSEmmanuel Vadot};
315f126890aSEmmanuel Vadot
316f126890aSEmmanuel Vadot&timers14 {
317f126890aSEmmanuel Vadot	status = "disabled";
318f126890aSEmmanuel Vadot	pwm {
319f126890aSEmmanuel Vadot		pinctrl-0 = <&pwm14_pins_a>;
320f126890aSEmmanuel Vadot		pinctrl-1 = <&pwm14_sleep_pins_a>;
321f126890aSEmmanuel Vadot		pinctrl-names = "default", "sleep";
322f126890aSEmmanuel Vadot		status = "okay";
323f126890aSEmmanuel Vadot	};
324f126890aSEmmanuel Vadot	timer@13 {
325f126890aSEmmanuel Vadot		status = "okay";
326f126890aSEmmanuel Vadot	};
327f126890aSEmmanuel Vadot};
328f126890aSEmmanuel Vadot
329f126890aSEmmanuel Vadot&uart4 {
330f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep", "idle";
331f126890aSEmmanuel Vadot	pinctrl-0 = <&uart4_pins_a>;
332f126890aSEmmanuel Vadot	pinctrl-1 = <&uart4_sleep_pins_a>;
333f126890aSEmmanuel Vadot	pinctrl-2 = <&uart4_idle_pins_a>;
334f126890aSEmmanuel Vadot	/delete-property/dmas;
335f126890aSEmmanuel Vadot	/delete-property/dma-names;
336f126890aSEmmanuel Vadot	status = "okay";
337f126890aSEmmanuel Vadot};
338f126890aSEmmanuel Vadot
339f126890aSEmmanuel Vadot&uart8 {
340f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep", "idle";
341f126890aSEmmanuel Vadot	pinctrl-0 = <&uart8_pins_a>;
342f126890aSEmmanuel Vadot	pinctrl-1 = <&uart8_sleep_pins_a>;
343f126890aSEmmanuel Vadot	pinctrl-2 = <&uart8_idle_pins_a>;
344f126890aSEmmanuel Vadot	/delete-property/dmas;
345f126890aSEmmanuel Vadot	/delete-property/dma-names;
346f126890aSEmmanuel Vadot	status = "disabled";
347f126890aSEmmanuel Vadot};
348f126890aSEmmanuel Vadot
349f126890aSEmmanuel Vadot&usart1 {
350f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep", "idle";
351f126890aSEmmanuel Vadot	pinctrl-0 = <&usart1_pins_a>;
352f126890aSEmmanuel Vadot	pinctrl-1 = <&usart1_sleep_pins_a>;
353f126890aSEmmanuel Vadot	pinctrl-2 = <&usart1_idle_pins_a>;
354f126890aSEmmanuel Vadot	uart-has-rtscts;
355f126890aSEmmanuel Vadot	status = "disabled";
356f126890aSEmmanuel Vadot};
357f126890aSEmmanuel Vadot
358f126890aSEmmanuel Vadot/* Bluetooth */
359f126890aSEmmanuel Vadot&usart2 {
360f126890aSEmmanuel Vadot	pinctrl-names = "default", "sleep", "idle";
361f126890aSEmmanuel Vadot	pinctrl-0 = <&usart2_pins_a>;
362f126890aSEmmanuel Vadot	pinctrl-1 = <&usart2_sleep_pins_a>;
363f126890aSEmmanuel Vadot	pinctrl-2 = <&usart2_idle_pins_a>;
364f126890aSEmmanuel Vadot	uart-has-rtscts;
365f126890aSEmmanuel Vadot	status = "okay";
366f126890aSEmmanuel Vadot};
367f126890aSEmmanuel Vadot
368f126890aSEmmanuel Vadot&usbh_ehci {
369f126890aSEmmanuel Vadot	phys = <&usbphyc_port0>;
370f126890aSEmmanuel Vadot	status = "okay";
371f126890aSEmmanuel Vadot	#address-cells = <1>;
372f126890aSEmmanuel Vadot	#size-cells = <0>;
373f126890aSEmmanuel Vadot	/* onboard HUB */
374f126890aSEmmanuel Vadot	hub@1 {
375f126890aSEmmanuel Vadot		compatible = "usb424,2514";
376f126890aSEmmanuel Vadot		reg = <1>;
377aa1a8ff2SEmmanuel Vadot		vdd-supply = <&scmi_v3v3_sw>;
378f126890aSEmmanuel Vadot	};
379f126890aSEmmanuel Vadot};
380f126890aSEmmanuel Vadot
381f126890aSEmmanuel Vadot&usbotg_hs {
382f126890aSEmmanuel Vadot	phys = <&usbphyc_port1 0>;
383f126890aSEmmanuel Vadot	phy-names = "usb2-phy";
384f126890aSEmmanuel Vadot	usb-role-switch;
385f126890aSEmmanuel Vadot	status = "okay";
386f126890aSEmmanuel Vadot	port {
387f126890aSEmmanuel Vadot		usbotg_hs_ep: endpoint {
388f126890aSEmmanuel Vadot			remote-endpoint = <&con_usb_c_g0_ep>;
389f126890aSEmmanuel Vadot		};
390f126890aSEmmanuel Vadot	};
391f126890aSEmmanuel Vadot};
392f126890aSEmmanuel Vadot
393f126890aSEmmanuel Vadot&usbphyc {
394f126890aSEmmanuel Vadot	status = "okay";
395f126890aSEmmanuel Vadot};
396f126890aSEmmanuel Vadot
397f126890aSEmmanuel Vadot&usbphyc_port0 {
398aa1a8ff2SEmmanuel Vadot	phy-supply = <&scmi_vdd_usb>;
399f126890aSEmmanuel Vadot	st,current-boost-microamp = <1000>;
400f126890aSEmmanuel Vadot	st,decrease-hs-slew-rate;
401f126890aSEmmanuel Vadot	st,tune-hs-dc-level = <2>;
402f126890aSEmmanuel Vadot	st,enable-hs-rftime-reduction;
403f126890aSEmmanuel Vadot	st,trim-hs-current = <11>;
404f126890aSEmmanuel Vadot	st,trim-hs-impedance = <2>;
405f126890aSEmmanuel Vadot	st,tune-squelch-level = <1>;
406f126890aSEmmanuel Vadot	st,enable-hs-rx-gain-eq;
407f126890aSEmmanuel Vadot	st,no-hs-ftime-ctrl;
408f126890aSEmmanuel Vadot	st,no-lsfs-sc;
409f126890aSEmmanuel Vadot};
410f126890aSEmmanuel Vadot
411f126890aSEmmanuel Vadot&usbphyc_port1 {
412aa1a8ff2SEmmanuel Vadot	phy-supply = <&scmi_vdd_usb>;
413f126890aSEmmanuel Vadot	st,current-boost-microamp = <1000>;
414f126890aSEmmanuel Vadot	st,decrease-hs-slew-rate;
415f126890aSEmmanuel Vadot	st,tune-hs-dc-level = <2>;
416f126890aSEmmanuel Vadot	st,enable-hs-rftime-reduction;
417f126890aSEmmanuel Vadot	st,trim-hs-current = <11>;
418f126890aSEmmanuel Vadot	st,trim-hs-impedance = <2>;
419f126890aSEmmanuel Vadot	st,tune-squelch-level = <1>;
420f126890aSEmmanuel Vadot	st,enable-hs-rx-gain-eq;
421f126890aSEmmanuel Vadot	st,no-hs-ftime-ctrl;
422f126890aSEmmanuel Vadot	st,no-lsfs-sc;
423f126890aSEmmanuel Vadot};
424