xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/beacon-renesom-baseboard.dtsi (revision 84943d6f38e936ac3b7a3947ca26eeb27a39f938)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Copyright 2020, Compass Electronics Group, LLC
4c66ec88fSEmmanuel Vadot */
5c66ec88fSEmmanuel Vadot
6c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
7c66ec88fSEmmanuel Vadot#include <dt-bindings/input/input.h>
87ef62cebSEmmanuel Vadot#include <dt-bindings/clock/versaclock.h>
9c66ec88fSEmmanuel Vadot
10c66ec88fSEmmanuel Vadot/ {
11c66ec88fSEmmanuel Vadot	backlight_lvds: backlight-lvds {
12c66ec88fSEmmanuel Vadot		compatible = "pwm-backlight";
13c66ec88fSEmmanuel Vadot		power-supply = <&reg_lcd>;
145def4c47SEmmanuel Vadot		enable-gpios = <&gpio_exp1 3 GPIO_ACTIVE_HIGH>;
155def4c47SEmmanuel Vadot		pwms = <&pwm2 0 25000>;
16c66ec88fSEmmanuel Vadot		brightness-levels = <0 4 8 16 32 64 128 255>;
17c66ec88fSEmmanuel Vadot		default-brightness-level = <6>;
18c66ec88fSEmmanuel Vadot	};
19c66ec88fSEmmanuel Vadot
205def4c47SEmmanuel Vadot	backlight_dpi: backlight-dpi {
21c66ec88fSEmmanuel Vadot		compatible = "pwm-backlight";
22c66ec88fSEmmanuel Vadot		power-supply = <&reg_lcd>;
23c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio_exp1 7 GPIO_ACTIVE_LOW>;
245def4c47SEmmanuel Vadot		pwms = <&pwm0 0 25000>;
255def4c47SEmmanuel Vadot		brightness-levels = <0 25 33 50 63 75 88 100>;
26c66ec88fSEmmanuel Vadot		default-brightness-level = <6>;
27c66ec88fSEmmanuel Vadot	};
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot	hdmi0-out {
30c66ec88fSEmmanuel Vadot		compatible = "hdmi-connector";
31c66ec88fSEmmanuel Vadot		type = "a";
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot		port {
34c66ec88fSEmmanuel Vadot			hdmi0_con: endpoint {
35c66ec88fSEmmanuel Vadot				remote-endpoint = <&rcar_dw_hdmi0_out>;
36c66ec88fSEmmanuel Vadot			};
37c66ec88fSEmmanuel Vadot		};
38c66ec88fSEmmanuel Vadot	};
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel Vadot	keys {
41c66ec88fSEmmanuel Vadot		compatible = "gpio-keys";
42c66ec88fSEmmanuel Vadot
435def4c47SEmmanuel Vadot		key-1 { /* S19 */
44c66ec88fSEmmanuel Vadot			gpios = <&gpio4 6 GPIO_ACTIVE_LOW>;
455def4c47SEmmanuel Vadot			linux,code = <KEY_UP>;
465def4c47SEmmanuel Vadot			label = "Up";
47c66ec88fSEmmanuel Vadot			wakeup-source;
48c66ec88fSEmmanuel Vadot			debounce-interval = <20>;
49c66ec88fSEmmanuel Vadot		};
505def4c47SEmmanuel Vadot		key-2 { /*S20 */
51c66ec88fSEmmanuel Vadot			gpios = <&gpio3 13 GPIO_ACTIVE_LOW>;
525def4c47SEmmanuel Vadot			linux,code = <KEY_LEFT>;
535def4c47SEmmanuel Vadot			label = "Left";
54c66ec88fSEmmanuel Vadot			wakeup-source;
55c66ec88fSEmmanuel Vadot			debounce-interval = <20>;
56c66ec88fSEmmanuel Vadot		};
575def4c47SEmmanuel Vadot		key-3 { /* S21 */
58c66ec88fSEmmanuel Vadot			gpios = <&gpio5 17 GPIO_ACTIVE_LOW>;
595def4c47SEmmanuel Vadot			linux,code = <KEY_DOWN>;
605def4c47SEmmanuel Vadot			label = "Down";
61c66ec88fSEmmanuel Vadot			wakeup-source;
62c66ec88fSEmmanuel Vadot			debounce-interval = <20>;
63c66ec88fSEmmanuel Vadot		};
645def4c47SEmmanuel Vadot		key-4 { /* S22 */
65c66ec88fSEmmanuel Vadot			gpios = <&gpio5 20 GPIO_ACTIVE_LOW>;
665def4c47SEmmanuel Vadot			linux,code = <KEY_RIGHT>;
675def4c47SEmmanuel Vadot			label = "Right";
68c66ec88fSEmmanuel Vadot			wakeup-source;
69c66ec88fSEmmanuel Vadot			debounce-interval = <20>;
70c66ec88fSEmmanuel Vadot		};
715def4c47SEmmanuel Vadot		key-5 { /* S23 */
72c66ec88fSEmmanuel Vadot			gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
735def4c47SEmmanuel Vadot			linux,code = <KEY_ENTER>;
745def4c47SEmmanuel Vadot			label = "Center";
75c66ec88fSEmmanuel Vadot			wakeup-source;
76c66ec88fSEmmanuel Vadot			debounce-interval = <20>;
77c66ec88fSEmmanuel Vadot		};
78c66ec88fSEmmanuel Vadot	};
79c66ec88fSEmmanuel Vadot
80c66ec88fSEmmanuel Vadot	leds {
81c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
82c66ec88fSEmmanuel Vadot		pinctrl-0 = <&led_pins>;
83c66ec88fSEmmanuel Vadot		pinctrl-names = "default";
84c66ec88fSEmmanuel Vadot
85c66ec88fSEmmanuel Vadot		led0 {
86c66ec88fSEmmanuel Vadot			gpios = <&gpio0 4 GPIO_ACTIVE_HIGH>;
87c66ec88fSEmmanuel Vadot			label = "LED0";
88c66ec88fSEmmanuel Vadot			linux,default-trigger = "heartbeat";
89c66ec88fSEmmanuel Vadot		};
90c66ec88fSEmmanuel Vadot		led1 {
91c66ec88fSEmmanuel Vadot			gpios = <&gpio7 0 GPIO_ACTIVE_HIGH>;
92c66ec88fSEmmanuel Vadot			label = "LED1";
93c66ec88fSEmmanuel Vadot		};
94c66ec88fSEmmanuel Vadot		led2 {
95c66ec88fSEmmanuel Vadot			gpios = <&gpio7 1 GPIO_ACTIVE_HIGH>;
96c66ec88fSEmmanuel Vadot			label = "LED2";
97c66ec88fSEmmanuel Vadot		};
98c66ec88fSEmmanuel Vadot		led3 {
99c66ec88fSEmmanuel Vadot			gpios = <&gpio7 3 GPIO_ACTIVE_HIGH>;
100c66ec88fSEmmanuel Vadot			label = "LED3";
101c66ec88fSEmmanuel Vadot		};
102c66ec88fSEmmanuel Vadot	};
103c66ec88fSEmmanuel Vadot
104c66ec88fSEmmanuel Vadot	lvds {
105c66ec88fSEmmanuel Vadot		compatible = "panel-lvds";
106c66ec88fSEmmanuel Vadot		power-supply = <&reg_lcd_reset>;
107c66ec88fSEmmanuel Vadot		width-mm = <223>;
108c66ec88fSEmmanuel Vadot		height-mm = <125>;
109c66ec88fSEmmanuel Vadot		backlight = <&backlight_lvds>;
110c66ec88fSEmmanuel Vadot		data-mapping = "vesa-24";
111c66ec88fSEmmanuel Vadot
112c66ec88fSEmmanuel Vadot		panel-timing {
113c66ec88fSEmmanuel Vadot			/* 800x480@60Hz */
114c66ec88fSEmmanuel Vadot			clock-frequency = <30000000>;
115c66ec88fSEmmanuel Vadot			hactive = <800>;
116c66ec88fSEmmanuel Vadot			vactive = <480>;
117c66ec88fSEmmanuel Vadot			hsync-len = <48>;
118c66ec88fSEmmanuel Vadot			hfront-porch = <40>;
119c66ec88fSEmmanuel Vadot			hback-porch = <40>;
120c66ec88fSEmmanuel Vadot			vfront-porch = <13>;
121c66ec88fSEmmanuel Vadot			vback-porch = <29>;
1225def4c47SEmmanuel Vadot			vsync-len = <1>;
123c66ec88fSEmmanuel Vadot			hsync-active = <1>;
1245def4c47SEmmanuel Vadot			vsync-active = <3>;
125c66ec88fSEmmanuel Vadot			de-active = <1>;
126c66ec88fSEmmanuel Vadot			pixelclk-active = <0>;
127c66ec88fSEmmanuel Vadot		};
128c66ec88fSEmmanuel Vadot
129c66ec88fSEmmanuel Vadot		port {
130c66ec88fSEmmanuel Vadot			panel_in: endpoint {
131c66ec88fSEmmanuel Vadot				remote-endpoint = <&lvds0_out>;
132c66ec88fSEmmanuel Vadot			};
133c66ec88fSEmmanuel Vadot		};
134c66ec88fSEmmanuel Vadot	};
135c66ec88fSEmmanuel Vadot
136c66ec88fSEmmanuel Vadot	rgb {
137c66ec88fSEmmanuel Vadot		/* Different LCD with compatible timings */
138c66ec88fSEmmanuel Vadot		compatible = "rocktech,rk070er9427";
1395def4c47SEmmanuel Vadot		backlight = <&backlight_dpi>;
140c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio1 21 GPIO_ACTIVE_HIGH>;
141c66ec88fSEmmanuel Vadot		power-supply = <&reg_lcd>;
142c66ec88fSEmmanuel Vadot		port {
143c66ec88fSEmmanuel Vadot			rgb_panel: endpoint {
144c66ec88fSEmmanuel Vadot				remote-endpoint = <&du_out_rgb>;
145c66ec88fSEmmanuel Vadot			};
146c66ec88fSEmmanuel Vadot		};
147c66ec88fSEmmanuel Vadot	};
148c66ec88fSEmmanuel Vadot
149b97ee269SEmmanuel Vadot	reg_audio: regulator-audio {
150c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
151c66ec88fSEmmanuel Vadot		regulator-name = "audio-1.8V";
152c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
153c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
1545def4c47SEmmanuel Vadot		gpio = <&gpio_exp4 1 GPIO_ACTIVE_HIGH>;
155c66ec88fSEmmanuel Vadot		enable-active-high;
156c66ec88fSEmmanuel Vadot	};
157c66ec88fSEmmanuel Vadot
158c66ec88fSEmmanuel Vadot	reg_lcd: regulator-lcd {
159c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
160c66ec88fSEmmanuel Vadot		regulator-name = "lcd_panel_pwr";
161c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
162c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
163c66ec88fSEmmanuel Vadot		gpio = <&gpio_exp1 1 GPIO_ACTIVE_HIGH>;
164c66ec88fSEmmanuel Vadot		enable-active-high;
165c66ec88fSEmmanuel Vadot	};
166c66ec88fSEmmanuel Vadot
167c66ec88fSEmmanuel Vadot	reg_lcd_reset: regulator-lcd-reset {
168c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
169c66ec88fSEmmanuel Vadot		regulator-name = "nLCD_RESET";
170c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
171c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
172c66ec88fSEmmanuel Vadot		gpio = <&gpio5 3 GPIO_ACTIVE_HIGH>;
173c66ec88fSEmmanuel Vadot		enable-active-high;
174c66ec88fSEmmanuel Vadot		vin-supply = <&reg_lcd>;
175c66ec88fSEmmanuel Vadot	};
176c66ec88fSEmmanuel Vadot
177b97ee269SEmmanuel Vadot	reg_cam0: regulator-cam0 {
178c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
179c66ec88fSEmmanuel Vadot		regulator-name = "reg_cam0";
180c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
181c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
182c66ec88fSEmmanuel Vadot		gpio = <&gpio_exp2 2 GPIO_ACTIVE_HIGH>;
183c66ec88fSEmmanuel Vadot		enable-active-high;
184c66ec88fSEmmanuel Vadot	};
185c66ec88fSEmmanuel Vadot
186b97ee269SEmmanuel Vadot	reg_cam1: regulator-cam1 {
187c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
188c66ec88fSEmmanuel Vadot		regulator-name = "reg_cam1";
189c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
190c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
191c66ec88fSEmmanuel Vadot		gpio = <&gpio_exp2 5 GPIO_ACTIVE_HIGH>;
192c66ec88fSEmmanuel Vadot		enable-active-high;
193c66ec88fSEmmanuel Vadot		startup-delay-us = <100000>;
194c66ec88fSEmmanuel Vadot	};
195c66ec88fSEmmanuel Vadot
196c66ec88fSEmmanuel Vadot	sound_card {
197c66ec88fSEmmanuel Vadot		compatible = "audio-graph-card";
198c66ec88fSEmmanuel Vadot		label = "rcar-sound";
199c66ec88fSEmmanuel Vadot		dais = <&rsnd_port0>, <&rsnd_port1>;
200354d7675SEmmanuel Vadot		widgets = "Microphone", "Mic Jack",
201354d7675SEmmanuel Vadot			  "Line", "Line In Jack",
202354d7675SEmmanuel Vadot			  "Headphone", "Headphone Jack";
203354d7675SEmmanuel Vadot		mic-det-gpio = <&gpio0 2 GPIO_ACTIVE_LOW>;
204354d7675SEmmanuel Vadot		routing = "Headphone Jack", "HPOUTL",
205354d7675SEmmanuel Vadot			 "Headphone Jack", "HPOUTR",
206354d7675SEmmanuel Vadot			 "IN3R", "MICBIAS",
207354d7675SEmmanuel Vadot			 "Mic Jack", "IN3R";
208c66ec88fSEmmanuel Vadot	};
209c66ec88fSEmmanuel Vadot
210c66ec88fSEmmanuel Vadot	vccq_sdhi0: regulator-vccq-sdhi0 {
211c66ec88fSEmmanuel Vadot		compatible = "regulator-gpio";
212c66ec88fSEmmanuel Vadot		regulator-name = "SDHI0 VccQ";
213c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
214c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
215c66ec88fSEmmanuel Vadot		gpios = <&gpio6 30 GPIO_ACTIVE_HIGH>;
216c66ec88fSEmmanuel Vadot		gpios-states = <1>;
217c66ec88fSEmmanuel Vadot		states = <3300000 1>, <1800000 0>;
218c66ec88fSEmmanuel Vadot	};
219c66ec88fSEmmanuel Vadot
220c66ec88fSEmmanuel Vadot	/* External DU dot clocks */
221c66ec88fSEmmanuel Vadot	x302_clk: x302-clock {
222c66ec88fSEmmanuel Vadot		compatible = "fixed-clock";
223c66ec88fSEmmanuel Vadot		#clock-cells = <0>;
224c66ec88fSEmmanuel Vadot		clock-frequency = <33000000>;
225c66ec88fSEmmanuel Vadot	};
226c66ec88fSEmmanuel Vadot
227c66ec88fSEmmanuel Vadot	x304_clk: x304-clock {
228c66ec88fSEmmanuel Vadot		compatible = "fixed-clock";
229c66ec88fSEmmanuel Vadot		#clock-cells = <0>;
230c66ec88fSEmmanuel Vadot		clock-frequency = <25000000>;
231c66ec88fSEmmanuel Vadot	};
232c66ec88fSEmmanuel Vadot
2335def4c47SEmmanuel Vadot	connector {
2345def4c47SEmmanuel Vadot		compatible = "usb-c-connector";
2355def4c47SEmmanuel Vadot		label = "USB-C";
2365def4c47SEmmanuel Vadot		data-role = "dual";
2375def4c47SEmmanuel Vadot
2385def4c47SEmmanuel Vadot		ports {
2395def4c47SEmmanuel Vadot			#address-cells = <1>;
2405def4c47SEmmanuel Vadot			#size-cells = <0>;
2415def4c47SEmmanuel Vadot			port@0 {
2425def4c47SEmmanuel Vadot				reg = <0>;
2435def4c47SEmmanuel Vadot				hs_ep: endpoint {
2445def4c47SEmmanuel Vadot					remote-endpoint = <&usb3_hs_ep>;
2455def4c47SEmmanuel Vadot				};
2465def4c47SEmmanuel Vadot			};
2475def4c47SEmmanuel Vadot			port@1 {
2485def4c47SEmmanuel Vadot				reg = <1>;
2495def4c47SEmmanuel Vadot				ss_ep: endpoint {
2505def4c47SEmmanuel Vadot					remote-endpoint = <&hd3ss3220_in_ep>;
2515def4c47SEmmanuel Vadot				};
2525def4c47SEmmanuel Vadot			};
2535def4c47SEmmanuel Vadot		};
2545def4c47SEmmanuel Vadot	};
255c66ec88fSEmmanuel Vadot};
256c66ec88fSEmmanuel Vadot
257c66ec88fSEmmanuel Vadot&audio_clk_b {
258c66ec88fSEmmanuel Vadot	clock-frequency = <22579200>;
259c66ec88fSEmmanuel Vadot};
260c66ec88fSEmmanuel Vadot
261c66ec88fSEmmanuel Vadot&can0 {
262c66ec88fSEmmanuel Vadot	pinctrl-0 = <&can0_pins>;
263c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
264c66ec88fSEmmanuel Vadot	renesas,can-clock-select = <0x0>;
265c66ec88fSEmmanuel Vadot	status = "okay";
266c66ec88fSEmmanuel Vadot};
267c66ec88fSEmmanuel Vadot
268c66ec88fSEmmanuel Vadot&can1 {
269c66ec88fSEmmanuel Vadot	pinctrl-0 = <&can1_pins>;
270c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
271c66ec88fSEmmanuel Vadot	renesas,can-clock-select = <0x0>;
272c66ec88fSEmmanuel Vadot	status = "okay";
273c66ec88fSEmmanuel Vadot};
274c66ec88fSEmmanuel Vadot
275d5b0e70fSEmmanuel Vadot&du {
276d5b0e70fSEmmanuel Vadot	ports {
277d5b0e70fSEmmanuel Vadot		port@0 {
278d5b0e70fSEmmanuel Vadot			du_out_rgb: endpoint {
279c66ec88fSEmmanuel Vadot				remote-endpoint = <&rgb_panel>;
280c66ec88fSEmmanuel Vadot			};
281d5b0e70fSEmmanuel Vadot		};
282d5b0e70fSEmmanuel Vadot	};
283d5b0e70fSEmmanuel Vadot};
284c66ec88fSEmmanuel Vadot
285c66ec88fSEmmanuel Vadot&ehci0 {
286c66ec88fSEmmanuel Vadot	dr_mode = "otg";
287c66ec88fSEmmanuel Vadot	status = "okay";
2885956d97fSEmmanuel Vadot	clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>;
289c66ec88fSEmmanuel Vadot};
290c66ec88fSEmmanuel Vadot
291c66ec88fSEmmanuel Vadot&ehci1 {
292c66ec88fSEmmanuel Vadot	status = "okay";
2935956d97fSEmmanuel Vadot	clocks = <&cpg CPG_MOD 703>, <&cpg CPG_MOD 704>, <&usb2_clksel>, <&versaclock5 3>;
294c66ec88fSEmmanuel Vadot};
295c66ec88fSEmmanuel Vadot
296c66ec88fSEmmanuel Vadot&hdmi0 {
297c66ec88fSEmmanuel Vadot	status = "okay";
298c66ec88fSEmmanuel Vadot	ports {
299c66ec88fSEmmanuel Vadot		#address-cells = <1>;
300c66ec88fSEmmanuel Vadot		#size-cells = <0>;
301c66ec88fSEmmanuel Vadot		port@0 {
302c66ec88fSEmmanuel Vadot			reg = <0>;
303c66ec88fSEmmanuel Vadot			dw_hdmi0_in: endpoint {
304c66ec88fSEmmanuel Vadot				remote-endpoint = <&du_out_hdmi0>;
305c66ec88fSEmmanuel Vadot			};
306c66ec88fSEmmanuel Vadot		};
307c66ec88fSEmmanuel Vadot		port@1 {
308c66ec88fSEmmanuel Vadot			reg = <1>;
309c66ec88fSEmmanuel Vadot			rcar_dw_hdmi0_out: endpoint {
310c66ec88fSEmmanuel Vadot				remote-endpoint = <&hdmi0_con>;
311c66ec88fSEmmanuel Vadot			};
312c66ec88fSEmmanuel Vadot		};
313c66ec88fSEmmanuel Vadot		port@2 {
314c66ec88fSEmmanuel Vadot			reg = <2>;
315c66ec88fSEmmanuel Vadot			dw_hdmi0_snd_in: endpoint {
316c66ec88fSEmmanuel Vadot				remote-endpoint = <&rsnd_endpoint1>;
317c66ec88fSEmmanuel Vadot			};
318c66ec88fSEmmanuel Vadot		};
319c66ec88fSEmmanuel Vadot	};
320c66ec88fSEmmanuel Vadot};
321c66ec88fSEmmanuel Vadot
322c66ec88fSEmmanuel Vadot&hscif1 {
323c66ec88fSEmmanuel Vadot	pinctrl-0 = <&hscif1_pins>;
324c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
325c66ec88fSEmmanuel Vadot	uart-has-rtscts;
326c66ec88fSEmmanuel Vadot	status = "okay";
327c66ec88fSEmmanuel Vadot};
328c66ec88fSEmmanuel Vadot
329c66ec88fSEmmanuel Vadot&hsusb {
330c66ec88fSEmmanuel Vadot	dr_mode = "otg";
331c66ec88fSEmmanuel Vadot	status = "okay";
332c66ec88fSEmmanuel Vadot};
333c66ec88fSEmmanuel Vadot
334c66ec88fSEmmanuel Vadot&i2c2 {
335c66ec88fSEmmanuel Vadot	status = "okay";
3365def4c47SEmmanuel Vadot	clock-frequency = <400000>;
337c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
338c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
339c66ec88fSEmmanuel Vadot
340c66ec88fSEmmanuel Vadot	gpio_exp2: gpio@21 {
341c66ec88fSEmmanuel Vadot		compatible = "onnn,pca9654";
342c66ec88fSEmmanuel Vadot		reg = <0x21>;
343c66ec88fSEmmanuel Vadot		gpio-controller;
344c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
345c66ec88fSEmmanuel Vadot	};
346c66ec88fSEmmanuel Vadot
347c66ec88fSEmmanuel Vadot	gpio_exp3: gpio@22 {
348c66ec88fSEmmanuel Vadot		compatible = "onnn,pca9654";
349c66ec88fSEmmanuel Vadot		reg = <0x22>;
350c66ec88fSEmmanuel Vadot		gpio-controller;
351c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
352c66ec88fSEmmanuel Vadot	};
353c66ec88fSEmmanuel Vadot
354c66ec88fSEmmanuel Vadot	gpio_exp4: gpio@23 {
355c66ec88fSEmmanuel Vadot		compatible = "onnn,pca9654";
356c66ec88fSEmmanuel Vadot		reg = <0x23>;
357c66ec88fSEmmanuel Vadot		gpio-controller;
358c66ec88fSEmmanuel Vadot		#gpio-cells = <2>;
359c66ec88fSEmmanuel Vadot	};
360c66ec88fSEmmanuel Vadot
361c66ec88fSEmmanuel Vadot	versaclock6_bb: clock-controller@6a {
362c66ec88fSEmmanuel Vadot		compatible = "idt,5p49v6965";
363c66ec88fSEmmanuel Vadot		reg = <0x6a>;
364c66ec88fSEmmanuel Vadot		#clock-cells = <1>;
365c66ec88fSEmmanuel Vadot		clocks = <&x304_clk>;
366c66ec88fSEmmanuel Vadot		clock-names = "xin";
3675def4c47SEmmanuel Vadot
368c9ccf3a3SEmmanuel Vadot		assigned-clocks = <&versaclock6_bb 1>, <&versaclock6_bb 2>,
369c9ccf3a3SEmmanuel Vadot				  <&versaclock6_bb 3>, <&versaclock6_bb 4>;
370cb7aa33aSEmmanuel Vadot		assigned-clock-rates = <24000000>, <24000000>, <24576000>,
371c9ccf3a3SEmmanuel Vadot				       <24576000>;
3725def4c47SEmmanuel Vadot
3735def4c47SEmmanuel Vadot		OUT1 {
3745def4c47SEmmanuel Vadot			idt,mode = <VC5_CMOS>;
3755def4c47SEmmanuel Vadot			idt,voltage-microvolt = <1800000>;
3765def4c47SEmmanuel Vadot			idt,slew-percent = <100>;
3775def4c47SEmmanuel Vadot		};
3785def4c47SEmmanuel Vadot
3795def4c47SEmmanuel Vadot		OUT2 {
3805def4c47SEmmanuel Vadot			idt,mode = <VC5_CMOS>;
3815def4c47SEmmanuel Vadot			idt,voltage-microvolt = <1800000>;
3825def4c47SEmmanuel Vadot			idt,slew-percent = <100>;
3835def4c47SEmmanuel Vadot		};
3845def4c47SEmmanuel Vadot
3855def4c47SEmmanuel Vadot		OUT3 {
3865def4c47SEmmanuel Vadot			idt,mode = <VC5_CMOS>;
3875def4c47SEmmanuel Vadot			idt,voltage-microvolt = <3300000>;
3885def4c47SEmmanuel Vadot			idt,slew-percent = <100>;
3895def4c47SEmmanuel Vadot		};
3905def4c47SEmmanuel Vadot
3915def4c47SEmmanuel Vadot		OUT4 {
3925def4c47SEmmanuel Vadot			idt,mode = <VC5_CMOS>;
3935def4c47SEmmanuel Vadot			idt,voltage-microvolt = <3300000>;
3945def4c47SEmmanuel Vadot			idt,slew-percent = <100>;
3955def4c47SEmmanuel Vadot		};
396c66ec88fSEmmanuel Vadot	};
397c66ec88fSEmmanuel Vadot};
398c66ec88fSEmmanuel Vadot
399c66ec88fSEmmanuel Vadot&i2c0 {
400c66ec88fSEmmanuel Vadot	status = "okay";
401c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
402c66ec88fSEmmanuel Vadot
403c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c0_pins>;
404c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
405c66ec88fSEmmanuel Vadot};
406c66ec88fSEmmanuel Vadot
407c66ec88fSEmmanuel Vadot&i2c5 {
408c66ec88fSEmmanuel Vadot	status = "okay";
4095def4c47SEmmanuel Vadot	clock-frequency = <400000>;
410c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c5_pins>;
411c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
412c66ec88fSEmmanuel Vadot
413c66ec88fSEmmanuel Vadot	codec: wm8962@1a {
414c66ec88fSEmmanuel Vadot		compatible = "wlf,wm8962";
415c66ec88fSEmmanuel Vadot		reg = <0x1a>;
4165def4c47SEmmanuel Vadot		clocks = <&versaclock6_bb 3>;
417c66ec88fSEmmanuel Vadot		DCVDD-supply = <&reg_audio>;
418c66ec88fSEmmanuel Vadot		DBVDD-supply = <&reg_audio>;
419c66ec88fSEmmanuel Vadot		AVDD-supply = <&reg_audio>;
420c66ec88fSEmmanuel Vadot		CPVDD-supply = <&reg_audio>;
421c66ec88fSEmmanuel Vadot		MICVDD-supply = <&reg_audio>;
422c66ec88fSEmmanuel Vadot		PLLVDD-supply = <&reg_audio>;
423c66ec88fSEmmanuel Vadot		SPKVDD1-supply = <&reg_audio>;
424c66ec88fSEmmanuel Vadot		SPKVDD2-supply = <&reg_audio>;
425c66ec88fSEmmanuel Vadot		gpio-cfg = <
426c66ec88fSEmmanuel Vadot			0x0000 /* 0:Default */
427c66ec88fSEmmanuel Vadot			0x0000 /* 1:Default */
428c66ec88fSEmmanuel Vadot			0x0000 /* 2:Default */
429c66ec88fSEmmanuel Vadot			0x0000 /* 3:Default */
430c66ec88fSEmmanuel Vadot			0x0000 /* 4:Default */
431c66ec88fSEmmanuel Vadot			0x0000 /* 5:Default */
432c66ec88fSEmmanuel Vadot		>;
433c66ec88fSEmmanuel Vadot		port {
434c66ec88fSEmmanuel Vadot			wm8962_endpoint: endpoint {
435c66ec88fSEmmanuel Vadot				remote-endpoint = <&rsnd_endpoint0>;
436c66ec88fSEmmanuel Vadot			};
437c66ec88fSEmmanuel Vadot		};
438c66ec88fSEmmanuel Vadot	};
439c66ec88fSEmmanuel Vadot
440c66ec88fSEmmanuel Vadot	touchscreen@26 {
441c66ec88fSEmmanuel Vadot		compatible = "ilitek,ili2117";
442c66ec88fSEmmanuel Vadot		reg = <0x26>;
443c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio5>;
444c66ec88fSEmmanuel Vadot		interrupts = <9 IRQ_TYPE_EDGE_RISING>;
445c66ec88fSEmmanuel Vadot		wakeup-source;
446c66ec88fSEmmanuel Vadot	};
447c66ec88fSEmmanuel Vadot
448c66ec88fSEmmanuel Vadot	hd3ss3220@47 {
449c66ec88fSEmmanuel Vadot		compatible = "ti,hd3ss3220";
450c66ec88fSEmmanuel Vadot		reg = <0x47>;
451c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio6>;
452c66ec88fSEmmanuel Vadot		interrupts = <4 IRQ_TYPE_LEVEL_LOW>;
453c66ec88fSEmmanuel Vadot
454c66ec88fSEmmanuel Vadot		ports {
455c66ec88fSEmmanuel Vadot			#address-cells = <1>;
456c66ec88fSEmmanuel Vadot			#size-cells = <0>;
4575def4c47SEmmanuel Vadot			port@0 {
4585def4c47SEmmanuel Vadot				reg = <0>;
4595def4c47SEmmanuel Vadot				hd3ss3220_in_ep: endpoint {
4605def4c47SEmmanuel Vadot					remote-endpoint = <&ss_ep>;
4615def4c47SEmmanuel Vadot				};
4625def4c47SEmmanuel Vadot			};
463c66ec88fSEmmanuel Vadot			port@1 {
464c66ec88fSEmmanuel Vadot				reg = <1>;
4655def4c47SEmmanuel Vadot				hd3ss3220_out_ep: endpoint {
466c66ec88fSEmmanuel Vadot					remote-endpoint = <&usb3_role_switch>;
467c66ec88fSEmmanuel Vadot				};
468c66ec88fSEmmanuel Vadot			};
469c66ec88fSEmmanuel Vadot		};
470c66ec88fSEmmanuel Vadot	};
471cb7aa33aSEmmanuel Vadot
472cb7aa33aSEmmanuel Vadot	gpio_exp1: gpio@70 {
473cb7aa33aSEmmanuel Vadot		compatible = "nxp,pca9538";
474cb7aa33aSEmmanuel Vadot		reg = <0x70>;
475cb7aa33aSEmmanuel Vadot		gpio-controller;
476cb7aa33aSEmmanuel Vadot		#gpio-cells = <2>;
477cb7aa33aSEmmanuel Vadot		gpio-line-names = "lcd_reset", "lcd_pwr", "lcd_select",
478cb7aa33aSEmmanuel Vadot				  "backlight-enable", "Touch_shdwn",
479cb7aa33aSEmmanuel Vadot				  "LCD_H_pol", "lcd_V_pol";
480cb7aa33aSEmmanuel Vadot	};
481c66ec88fSEmmanuel Vadot};
482c66ec88fSEmmanuel Vadot
483c66ec88fSEmmanuel Vadot&lvds0 {
484c66ec88fSEmmanuel Vadot	status = "okay";
485c66ec88fSEmmanuel Vadot
486c66ec88fSEmmanuel Vadot	ports {
487c66ec88fSEmmanuel Vadot		port@1 {
488c66ec88fSEmmanuel Vadot			lvds0_out: endpoint {
489c66ec88fSEmmanuel Vadot				remote-endpoint = <&panel_in>;
490c66ec88fSEmmanuel Vadot			};
491c66ec88fSEmmanuel Vadot		};
492c66ec88fSEmmanuel Vadot	};
493c66ec88fSEmmanuel Vadot};
494c66ec88fSEmmanuel Vadot
4955def4c47SEmmanuel Vadot&msiof1 {
4965def4c47SEmmanuel Vadot	pinctrl-0 = <&msiof1_pins>;
4975def4c47SEmmanuel Vadot	pinctrl-names = "default";
4985def4c47SEmmanuel Vadot	status = "okay";
4995def4c47SEmmanuel Vadot	cs-gpios = <&gpio3 10 GPIO_ACTIVE_LOW>;
5005def4c47SEmmanuel Vadot};
5015def4c47SEmmanuel Vadot
502c66ec88fSEmmanuel Vadot&ohci0 {
503c66ec88fSEmmanuel Vadot	dr_mode = "otg";
504c66ec88fSEmmanuel Vadot	status = "okay";
505c66ec88fSEmmanuel Vadot};
506c66ec88fSEmmanuel Vadot
507c66ec88fSEmmanuel Vadot&ohci1 {
508c66ec88fSEmmanuel Vadot	status = "okay";
509c66ec88fSEmmanuel Vadot};
510c66ec88fSEmmanuel Vadot
511c66ec88fSEmmanuel Vadot&pciec0 {
512c66ec88fSEmmanuel Vadot	status = "okay";
513c66ec88fSEmmanuel Vadot};
514c66ec88fSEmmanuel Vadot
515c66ec88fSEmmanuel Vadot&pciec1 {
516c66ec88fSEmmanuel Vadot	status = "okay";
517c66ec88fSEmmanuel Vadot};
518c66ec88fSEmmanuel Vadot
519c66ec88fSEmmanuel Vadot&pcie_bus_clk {
520c66ec88fSEmmanuel Vadot	clock-frequency = <100000000>;
521c66ec88fSEmmanuel Vadot};
522c66ec88fSEmmanuel Vadot
523c66ec88fSEmmanuel Vadot&pfc {
524c66ec88fSEmmanuel Vadot	can0_pins: can0 {
525c66ec88fSEmmanuel Vadot		groups = "can0_data_a";
526c66ec88fSEmmanuel Vadot		function = "can0";
527c66ec88fSEmmanuel Vadot	};
528c66ec88fSEmmanuel Vadot
529c66ec88fSEmmanuel Vadot	can1_pins: can1 {
530c66ec88fSEmmanuel Vadot		groups = "can1_data";
531c66ec88fSEmmanuel Vadot		function = "can1";
532c66ec88fSEmmanuel Vadot	};
533c66ec88fSEmmanuel Vadot
534c66ec88fSEmmanuel Vadot	du_pins: du {
535c66ec88fSEmmanuel Vadot		groups = "du_rgb888", "du_sync", "du_clk_out_1", "du_disp";
536c66ec88fSEmmanuel Vadot		function = "du";
537c66ec88fSEmmanuel Vadot	};
538c66ec88fSEmmanuel Vadot
539c66ec88fSEmmanuel Vadot	i2c2_pins: i2c2 {
540c66ec88fSEmmanuel Vadot		groups = "i2c2_a";
541c66ec88fSEmmanuel Vadot		function = "i2c2";
542c66ec88fSEmmanuel Vadot	};
543c66ec88fSEmmanuel Vadot
544c66ec88fSEmmanuel Vadot	i2c5_pins: i2c5 {
545c66ec88fSEmmanuel Vadot		groups = "i2c5";
546c66ec88fSEmmanuel Vadot		function = "i2c5";
547c66ec88fSEmmanuel Vadot	};
548c66ec88fSEmmanuel Vadot
549c66ec88fSEmmanuel Vadot	led_pins: leds {
550c66ec88fSEmmanuel Vadot		/* GP_0_4 , AVS1, AVS2, GP_7_3 */
551c66ec88fSEmmanuel Vadot		pins = "GP_0_4", "GP_7_0", "GP_7_1", "GP_7_3";
552c66ec88fSEmmanuel Vadot		bias-pull-down;
553c66ec88fSEmmanuel Vadot	};
554c66ec88fSEmmanuel Vadot
5555def4c47SEmmanuel Vadot	msiof1_pins: msiof1 {
5565def4c47SEmmanuel Vadot		groups = "msiof1_clk_g", "msiof1_rxd_g", "msiof1_txd_g";
5575def4c47SEmmanuel Vadot		function = "msiof1";
5585def4c47SEmmanuel Vadot	};
5595def4c47SEmmanuel Vadot
560c66ec88fSEmmanuel Vadot	pwm0_pins: pwm0 {
561c66ec88fSEmmanuel Vadot		groups = "pwm0";
562c66ec88fSEmmanuel Vadot		function = "pwm0";
563c66ec88fSEmmanuel Vadot	};
564c66ec88fSEmmanuel Vadot
565c66ec88fSEmmanuel Vadot	pwm2_pins: pwm2 {
566c66ec88fSEmmanuel Vadot		groups = "pwm2_a";
5675def4c47SEmmanuel Vadot		function = "pwm2";
568c66ec88fSEmmanuel Vadot	};
569c66ec88fSEmmanuel Vadot
570c66ec88fSEmmanuel Vadot	sdhi0_pins: sd0 {
571c66ec88fSEmmanuel Vadot		groups = "sdhi0_data4", "sdhi0_ctrl";
572c66ec88fSEmmanuel Vadot		function = "sdhi0";
573c66ec88fSEmmanuel Vadot		power-source = <3300>;
574c66ec88fSEmmanuel Vadot	};
575c66ec88fSEmmanuel Vadot
576c66ec88fSEmmanuel Vadot	sdhi0_pins_uhs: sd0_uhs {
577c66ec88fSEmmanuel Vadot		groups = "sdhi0_data4", "sdhi0_ctrl";
578c66ec88fSEmmanuel Vadot		function = "sdhi0";
579c66ec88fSEmmanuel Vadot		power-source = <1800>;
580c66ec88fSEmmanuel Vadot	};
581c66ec88fSEmmanuel Vadot
582c66ec88fSEmmanuel Vadot	sound_pins: sound {
583c66ec88fSEmmanuel Vadot		groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a";
584c66ec88fSEmmanuel Vadot		function = "ssi";
585c66ec88fSEmmanuel Vadot	};
586c66ec88fSEmmanuel Vadot
587c66ec88fSEmmanuel Vadot	sound_clk_pins: sound_clk {
5885def4c47SEmmanuel Vadot		groups = "audio_clk_a_a", "audio_clk_b_a";
589c66ec88fSEmmanuel Vadot		function = "audio_clk";
590c66ec88fSEmmanuel Vadot	};
591c66ec88fSEmmanuel Vadot
592c66ec88fSEmmanuel Vadot	usb0_pins: usb0 {
593c66ec88fSEmmanuel Vadot		mux {
594c66ec88fSEmmanuel Vadot			groups = "usb0";
595c66ec88fSEmmanuel Vadot			function = "usb0";
596c66ec88fSEmmanuel Vadot		};
597c66ec88fSEmmanuel Vadot	};
598c66ec88fSEmmanuel Vadot
599c66ec88fSEmmanuel Vadot	usb1_pins: usb1 {
600c66ec88fSEmmanuel Vadot		mux {
601c66ec88fSEmmanuel Vadot			groups = "usb1";
602c66ec88fSEmmanuel Vadot			function = "usb1";
603c66ec88fSEmmanuel Vadot		};
604c66ec88fSEmmanuel Vadot	};
605c66ec88fSEmmanuel Vadot
606c66ec88fSEmmanuel Vadot	usb30_pins: usb30 {
607c66ec88fSEmmanuel Vadot		mux {
608c66ec88fSEmmanuel Vadot			groups = "usb30";
609c66ec88fSEmmanuel Vadot			function = "usb30";
610c66ec88fSEmmanuel Vadot		};
611c66ec88fSEmmanuel Vadot	};
612c66ec88fSEmmanuel Vadot};
613c66ec88fSEmmanuel Vadot
614c66ec88fSEmmanuel Vadot&pwm0 {
615c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pwm0_pins>;
616c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
617c66ec88fSEmmanuel Vadot	status = "okay";
618c66ec88fSEmmanuel Vadot};
619c66ec88fSEmmanuel Vadot
620c66ec88fSEmmanuel Vadot&pwm2 {
621c66ec88fSEmmanuel Vadot	pinctrl-0 = <&pwm2_pins>;
622c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
623c66ec88fSEmmanuel Vadot	status = "okay";
624c66ec88fSEmmanuel Vadot};
625c66ec88fSEmmanuel Vadot
626c66ec88fSEmmanuel Vadot&rcar_sound {
6272eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
628c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
629c66ec88fSEmmanuel Vadot
630c66ec88fSEmmanuel Vadot	/* Single DAI */
631c66ec88fSEmmanuel Vadot	#sound-dai-cells = <0>;
632c66ec88fSEmmanuel Vadot
633c66ec88fSEmmanuel Vadot	/* audio_clkout0/1/2/3 */
634c66ec88fSEmmanuel Vadot	#clock-cells = <1>;
635c66ec88fSEmmanuel Vadot	clock-frequency = <11289600>;
636c66ec88fSEmmanuel Vadot
637cb7aa33aSEmmanuel Vadot	/* Reference versaclock instead of audio_clk_a */
638cb7aa33aSEmmanuel Vadot	clocks = <&cpg CPG_MOD 1005>,
639cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
640cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
641cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
642cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
643cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
644cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
645cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
646cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
647cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
648cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
649cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
650cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
651cb7aa33aSEmmanuel Vadot		 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
652cb7aa33aSEmmanuel Vadot		 <&versaclock6_bb 4>, <&audio_clk_b>,
653cb7aa33aSEmmanuel Vadot		 <&audio_clk_c>,
654*84943d6fSEmmanuel Vadot		 <&cpg CPG_MOD 922>;
655cb7aa33aSEmmanuel Vadot
656c66ec88fSEmmanuel Vadot	status = "okay";
657c66ec88fSEmmanuel Vadot
658c66ec88fSEmmanuel Vadot	ports {
659c66ec88fSEmmanuel Vadot		#address-cells = <1>;
660c66ec88fSEmmanuel Vadot		#size-cells = <0>;
661c66ec88fSEmmanuel Vadot		rsnd_port0: port@0 {
662c66ec88fSEmmanuel Vadot			reg = <0>;
663c66ec88fSEmmanuel Vadot			rsnd_endpoint0: endpoint {
664c66ec88fSEmmanuel Vadot				remote-endpoint = <&wm8962_endpoint>;
665c66ec88fSEmmanuel Vadot
666c66ec88fSEmmanuel Vadot				dai-format = "i2s";
667c66ec88fSEmmanuel Vadot				bitclock-master = <&rsnd_endpoint0>;
668c66ec88fSEmmanuel Vadot				frame-master = <&rsnd_endpoint0>;
669c66ec88fSEmmanuel Vadot
6702eb4d8dcSEmmanuel Vadot				playback = <&ssi1>, <&dvc1>, <&src1>;
671c66ec88fSEmmanuel Vadot				capture = <&ssi0>;
672c66ec88fSEmmanuel Vadot			};
673c66ec88fSEmmanuel Vadot		};
674c66ec88fSEmmanuel Vadot		rsnd_port1: port@1 {
675c66ec88fSEmmanuel Vadot		    reg = <0x01>;
676c66ec88fSEmmanuel Vadot			rsnd_endpoint1: endpoint {
677c66ec88fSEmmanuel Vadot				remote-endpoint = <&dw_hdmi0_snd_in>;
678c66ec88fSEmmanuel Vadot
679c66ec88fSEmmanuel Vadot				dai-format = "i2s";
680c66ec88fSEmmanuel Vadot				bitclock-master = <&rsnd_endpoint1>;
681c66ec88fSEmmanuel Vadot				frame-master = <&rsnd_endpoint1>;
682c66ec88fSEmmanuel Vadot
683c66ec88fSEmmanuel Vadot				playback = <&ssi2>;
684c66ec88fSEmmanuel Vadot			};
685c66ec88fSEmmanuel Vadot		};
686c66ec88fSEmmanuel Vadot	};
687c66ec88fSEmmanuel Vadot};
688c66ec88fSEmmanuel Vadot
689c66ec88fSEmmanuel Vadot&rwdt {
690c66ec88fSEmmanuel Vadot	status = "okay";
691c66ec88fSEmmanuel Vadot	timeout-sec = <60>;
692c66ec88fSEmmanuel Vadot};
693c66ec88fSEmmanuel Vadot
694c66ec88fSEmmanuel Vadot&scif0 {
695c66ec88fSEmmanuel Vadot	pinctrl-0 = <&scif0_pins>;
696c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
697c66ec88fSEmmanuel Vadot	status = "okay";
698c66ec88fSEmmanuel Vadot};
699c66ec88fSEmmanuel Vadot
700c66ec88fSEmmanuel Vadot&scif5 {
701c66ec88fSEmmanuel Vadot	pinctrl-0 = <&scif5_pins>;
702c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
703c66ec88fSEmmanuel Vadot	status = "okay";
704c66ec88fSEmmanuel Vadot};
705c66ec88fSEmmanuel Vadot
706c66ec88fSEmmanuel Vadot&scif_clk {
707c66ec88fSEmmanuel Vadot	clock-frequency = <14745600>;
708c66ec88fSEmmanuel Vadot};
709c66ec88fSEmmanuel Vadot
710c66ec88fSEmmanuel Vadot&sdhi0 {
711c66ec88fSEmmanuel Vadot	pinctrl-0 = <&sdhi0_pins>;
712c66ec88fSEmmanuel Vadot	pinctrl-1 = <&sdhi0_pins_uhs>;
713c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
714c66ec88fSEmmanuel Vadot	vmmc-supply = <&reg_3p3v>;
715c66ec88fSEmmanuel Vadot	vqmmc-supply = <&vccq_sdhi0>;
716c66ec88fSEmmanuel Vadot	cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
717c66ec88fSEmmanuel Vadot	bus-width = <4>;
718c66ec88fSEmmanuel Vadot	sd-uhs-sdr50;
719c66ec88fSEmmanuel Vadot	sd-uhs-sdr104;
720c66ec88fSEmmanuel Vadot	status = "okay";
721c66ec88fSEmmanuel Vadot};
722c66ec88fSEmmanuel Vadot
723c66ec88fSEmmanuel Vadot&ssi1 {
724c66ec88fSEmmanuel Vadot	shared-pin;
725c66ec88fSEmmanuel Vadot};
726c66ec88fSEmmanuel Vadot
727c66ec88fSEmmanuel Vadot&tmu0 {
728c66ec88fSEmmanuel Vadot	status = "okay";
729c66ec88fSEmmanuel Vadot};
730c66ec88fSEmmanuel Vadot
731c66ec88fSEmmanuel Vadot&tmu1 {
732c66ec88fSEmmanuel Vadot	status = "okay";
733c66ec88fSEmmanuel Vadot};
734c66ec88fSEmmanuel Vadot
735c66ec88fSEmmanuel Vadot&tmu2 {
736c66ec88fSEmmanuel Vadot	status = "okay";
737c66ec88fSEmmanuel Vadot};
738c66ec88fSEmmanuel Vadot
739c66ec88fSEmmanuel Vadot&tmu3 {
740c66ec88fSEmmanuel Vadot	status = "okay";
741c66ec88fSEmmanuel Vadot};
742c66ec88fSEmmanuel Vadot
743c66ec88fSEmmanuel Vadot&tmu4 {
744c66ec88fSEmmanuel Vadot	status = "okay";
745c66ec88fSEmmanuel Vadot};
746c66ec88fSEmmanuel Vadot
747c66ec88fSEmmanuel Vadot&usb2_phy0 {
748c66ec88fSEmmanuel Vadot	pinctrl-0 = <&usb0_pins>;
749c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
750c66ec88fSEmmanuel Vadot	status = "okay";
751c66ec88fSEmmanuel Vadot};
752c66ec88fSEmmanuel Vadot
753c66ec88fSEmmanuel Vadot&usb2_phy1 {
754c66ec88fSEmmanuel Vadot	pinctrl-0 = <&usb1_pins>;
755c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
756c66ec88fSEmmanuel Vadot	status = "okay";
757c66ec88fSEmmanuel Vadot};
758c66ec88fSEmmanuel Vadot
759c66ec88fSEmmanuel Vadot&usb3_peri0 {
760c66ec88fSEmmanuel Vadot	companion = <&xhci0>;
761c66ec88fSEmmanuel Vadot	status = "okay";
762c66ec88fSEmmanuel Vadot	usb-role-switch;
763c66ec88fSEmmanuel Vadot
7645def4c47SEmmanuel Vadot	ports {
7655def4c47SEmmanuel Vadot		#address-cells = <1>;
7665def4c47SEmmanuel Vadot		#size-cells = <0>;
7675def4c47SEmmanuel Vadot		port@0 {
7685def4c47SEmmanuel Vadot			reg = <0>;
7695def4c47SEmmanuel Vadot			usb3_hs_ep: endpoint {
7705def4c47SEmmanuel Vadot				remote-endpoint = <&hs_ep>;
7715def4c47SEmmanuel Vadot			};
7725def4c47SEmmanuel Vadot		};
7735def4c47SEmmanuel Vadot		port@1 {
7745def4c47SEmmanuel Vadot			reg = <1>;
775c66ec88fSEmmanuel Vadot			usb3_role_switch: endpoint {
7765def4c47SEmmanuel Vadot				remote-endpoint = <&hd3ss3220_out_ep>;
7775def4c47SEmmanuel Vadot			};
778c66ec88fSEmmanuel Vadot		};
779c66ec88fSEmmanuel Vadot	};
780c66ec88fSEmmanuel Vadot};
781c66ec88fSEmmanuel Vadot
782c66ec88fSEmmanuel Vadot&usb3_phy0 {
783c66ec88fSEmmanuel Vadot	status = "okay";
784c66ec88fSEmmanuel Vadot};
785c66ec88fSEmmanuel Vadot
786c66ec88fSEmmanuel Vadot&vin0 {
787c66ec88fSEmmanuel Vadot	status = "okay";
788c66ec88fSEmmanuel Vadot};
789c66ec88fSEmmanuel Vadot&vin1 {
790c66ec88fSEmmanuel Vadot	status = "okay";
791c66ec88fSEmmanuel Vadot};
792c66ec88fSEmmanuel Vadot&vin2 {
793c66ec88fSEmmanuel Vadot	status = "okay";
794c66ec88fSEmmanuel Vadot};
795c66ec88fSEmmanuel Vadot&vin3 {
796c66ec88fSEmmanuel Vadot	status = "okay";
797c66ec88fSEmmanuel Vadot};
798c66ec88fSEmmanuel Vadot&vin4 {
799c66ec88fSEmmanuel Vadot	status = "okay";
800c66ec88fSEmmanuel Vadot};
801c66ec88fSEmmanuel Vadot&vin5 {
802c66ec88fSEmmanuel Vadot	status = "okay";
803c66ec88fSEmmanuel Vadot};
804c66ec88fSEmmanuel Vadot&vin6 {
805c66ec88fSEmmanuel Vadot	status = "okay";
806c66ec88fSEmmanuel Vadot};
807c66ec88fSEmmanuel Vadot&vin7 {
808c66ec88fSEmmanuel Vadot	status = "okay";
809c66ec88fSEmmanuel Vadot};
810c66ec88fSEmmanuel Vadot
811c66ec88fSEmmanuel Vadot&xhci0
812c66ec88fSEmmanuel Vadot{
813c66ec88fSEmmanuel Vadot	pinctrl-0 = <&usb30_pins>;
814c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
815c66ec88fSEmmanuel Vadot	status = "okay";
816c66ec88fSEmmanuel Vadot};
817