xref: /freebsd/sys/contrib/device-tree/src/arm64/renesas/r8a774c0-cat874.dts (revision d5b0e70f7e04d971691517ce1304d86a1e367e2e)
1c66ec88fSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2c66ec88fSEmmanuel Vadot/*
3c66ec88fSEmmanuel Vadot * Device Tree Source for the Silicon Linux RZ/G2E 96board platform (CAT874)
4c66ec88fSEmmanuel Vadot *
5c66ec88fSEmmanuel Vadot * Copyright (C) 2019 Renesas Electronics Corp.
6c66ec88fSEmmanuel Vadot */
7c66ec88fSEmmanuel Vadot
8c66ec88fSEmmanuel Vadot/dts-v1/;
9c66ec88fSEmmanuel Vadot#include "r8a774c0.dtsi"
10c66ec88fSEmmanuel Vadot#include <dt-bindings/gpio/gpio.h>
11c66ec88fSEmmanuel Vadot#include <dt-bindings/display/tda998x.h>
12c66ec88fSEmmanuel Vadot
13c66ec88fSEmmanuel Vadot/ {
14c66ec88fSEmmanuel Vadot	model = "Silicon Linux RZ/G2E 96board platform (CAT874)";
15c66ec88fSEmmanuel Vadot	compatible = "si-linux,cat874", "renesas,r8a774c0";
16c66ec88fSEmmanuel Vadot
17c66ec88fSEmmanuel Vadot	aliases {
18c66ec88fSEmmanuel Vadot		serial0 = &scif2;
19c66ec88fSEmmanuel Vadot		serial1 = &hscif2;
202eb4d8dcSEmmanuel Vadot		mmc0 = &sdhi0;
212eb4d8dcSEmmanuel Vadot		mmc1 = &sdhi3;
22c66ec88fSEmmanuel Vadot	};
23c66ec88fSEmmanuel Vadot
24c66ec88fSEmmanuel Vadot	chosen {
25c66ec88fSEmmanuel Vadot		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
26c66ec88fSEmmanuel Vadot		stdout-path = "serial0:115200n8";
27c66ec88fSEmmanuel Vadot	};
28c66ec88fSEmmanuel Vadot
29c66ec88fSEmmanuel Vadot	hdmi-out {
30c66ec88fSEmmanuel Vadot		compatible = "hdmi-connector";
31c66ec88fSEmmanuel Vadot		type = "a";
32c66ec88fSEmmanuel Vadot
33c66ec88fSEmmanuel Vadot		port {
34c66ec88fSEmmanuel Vadot			hdmi_con_out: endpoint {
35c66ec88fSEmmanuel Vadot				remote-endpoint = <&tda19988_out>;
36c66ec88fSEmmanuel Vadot			};
37c66ec88fSEmmanuel Vadot		};
38c66ec88fSEmmanuel Vadot	};
39c66ec88fSEmmanuel Vadot
40c66ec88fSEmmanuel Vadot	leds {
41c66ec88fSEmmanuel Vadot		compatible = "gpio-leds";
42c66ec88fSEmmanuel Vadot
43c66ec88fSEmmanuel Vadot		led0 {
44c66ec88fSEmmanuel Vadot			gpios = <&gpio5 19 GPIO_ACTIVE_HIGH>;
45c66ec88fSEmmanuel Vadot			label = "LED0";
46c66ec88fSEmmanuel Vadot		};
47c66ec88fSEmmanuel Vadot
48c66ec88fSEmmanuel Vadot		led1 {
49c66ec88fSEmmanuel Vadot			gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>;
50c66ec88fSEmmanuel Vadot			label = "LED1";
51c66ec88fSEmmanuel Vadot		};
52c66ec88fSEmmanuel Vadot
53c66ec88fSEmmanuel Vadot		led2 {
54c66ec88fSEmmanuel Vadot			gpios = <&gpio4 10 GPIO_ACTIVE_HIGH>;
55c66ec88fSEmmanuel Vadot			label = "LED2";
56c66ec88fSEmmanuel Vadot		};
57c66ec88fSEmmanuel Vadot
58c66ec88fSEmmanuel Vadot		led3 {
59c66ec88fSEmmanuel Vadot			gpios = <&gpio6 4 GPIO_ACTIVE_HIGH>;
60c66ec88fSEmmanuel Vadot			label = "LED3";
61c66ec88fSEmmanuel Vadot		};
62c66ec88fSEmmanuel Vadot	};
63c66ec88fSEmmanuel Vadot
64c66ec88fSEmmanuel Vadot	memory@48000000 {
65c66ec88fSEmmanuel Vadot		device_type = "memory";
66c66ec88fSEmmanuel Vadot		/* first 128MB is reserved for secure area. */
67c66ec88fSEmmanuel Vadot		reg = <0x0 0x48000000 0x0 0x78000000>;
68c66ec88fSEmmanuel Vadot	};
69c66ec88fSEmmanuel Vadot
70c66ec88fSEmmanuel Vadot	reg_12p0v: regulator-12p0v {
71c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
72c66ec88fSEmmanuel Vadot		regulator-name = "D12.0V";
73c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <12000000>;
74c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <12000000>;
75c66ec88fSEmmanuel Vadot		regulator-boot-on;
76c66ec88fSEmmanuel Vadot		regulator-always-on;
77c66ec88fSEmmanuel Vadot	};
78c66ec88fSEmmanuel Vadot
79c66ec88fSEmmanuel Vadot	sound: sound {
80c66ec88fSEmmanuel Vadot		compatible = "simple-audio-card";
81c66ec88fSEmmanuel Vadot
82c66ec88fSEmmanuel Vadot		simple-audio-card,name = "CAT874 HDMI sound";
83c66ec88fSEmmanuel Vadot		simple-audio-card,format = "i2s";
84c66ec88fSEmmanuel Vadot		simple-audio-card,bitclock-master = <&sndcpu>;
85c66ec88fSEmmanuel Vadot		simple-audio-card,frame-master = <&sndcpu>;
86c66ec88fSEmmanuel Vadot
87c66ec88fSEmmanuel Vadot		sndcodec: simple-audio-card,codec {
88c66ec88fSEmmanuel Vadot			sound-dai = <&tda19988>;
89c66ec88fSEmmanuel Vadot		};
90c66ec88fSEmmanuel Vadot
91c66ec88fSEmmanuel Vadot		sndcpu: simple-audio-card,cpu {
92c66ec88fSEmmanuel Vadot			sound-dai = <&rcar_sound>;
93c66ec88fSEmmanuel Vadot		};
94c66ec88fSEmmanuel Vadot	};
95c66ec88fSEmmanuel Vadot
96c66ec88fSEmmanuel Vadot	vcc_sdhi0: regulator-vcc-sdhi0 {
97c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
98c66ec88fSEmmanuel Vadot
99c66ec88fSEmmanuel Vadot		regulator-name = "SDHI0 Vcc";
100c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
101c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
102c66ec88fSEmmanuel Vadot		regulator-always-on;
103c66ec88fSEmmanuel Vadot		regulator-boot-on;
104c66ec88fSEmmanuel Vadot	};
105c66ec88fSEmmanuel Vadot
106c66ec88fSEmmanuel Vadot	vccq_sdhi0: regulator-vccq-sdhi0 {
107c66ec88fSEmmanuel Vadot		compatible = "regulator-gpio";
108c66ec88fSEmmanuel Vadot
109c66ec88fSEmmanuel Vadot		regulator-name = "SDHI0 VccQ";
110c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
111c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
112c66ec88fSEmmanuel Vadot
113c66ec88fSEmmanuel Vadot		gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
114c66ec88fSEmmanuel Vadot		gpios-states = <1>;
115c66ec88fSEmmanuel Vadot		states = <3300000 1>, <1800000 0>;
116c66ec88fSEmmanuel Vadot	};
117c66ec88fSEmmanuel Vadot
118c66ec88fSEmmanuel Vadot	wlan_en_reg: fixedregulator {
119c66ec88fSEmmanuel Vadot		compatible = "regulator-fixed";
120c66ec88fSEmmanuel Vadot		regulator-name = "wlan-en-regulator";
121c66ec88fSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
122c66ec88fSEmmanuel Vadot		regulator-max-microvolt = <1800000>;
123c66ec88fSEmmanuel Vadot		startup-delay-us = <70000>;
124c66ec88fSEmmanuel Vadot
125c66ec88fSEmmanuel Vadot		gpio = <&gpio2 25 GPIO_ACTIVE_HIGH>;
126c66ec88fSEmmanuel Vadot		enable-active-high;
127c66ec88fSEmmanuel Vadot	};
128c66ec88fSEmmanuel Vadot
129c66ec88fSEmmanuel Vadot	x13_clk: x13 {
130c66ec88fSEmmanuel Vadot		compatible = "fixed-clock";
131c66ec88fSEmmanuel Vadot		#clock-cells = <0>;
132c66ec88fSEmmanuel Vadot		clock-frequency = <74250000>;
133c66ec88fSEmmanuel Vadot	};
1345def4c47SEmmanuel Vadot
1355def4c47SEmmanuel Vadot	connector {
1365def4c47SEmmanuel Vadot		compatible = "usb-c-connector";
1375def4c47SEmmanuel Vadot		label = "USB-C";
1385def4c47SEmmanuel Vadot		data-role = "dual";
1395def4c47SEmmanuel Vadot
1405def4c47SEmmanuel Vadot		ports {
1415def4c47SEmmanuel Vadot			#address-cells = <1>;
1425def4c47SEmmanuel Vadot			#size-cells = <0>;
1435def4c47SEmmanuel Vadot			port@0 {
1445def4c47SEmmanuel Vadot				reg = <0>;
1455def4c47SEmmanuel Vadot				hs_ep: endpoint {
1465def4c47SEmmanuel Vadot					remote-endpoint = <&usb3_hs_ep>;
1475def4c47SEmmanuel Vadot				};
1485def4c47SEmmanuel Vadot			};
1495def4c47SEmmanuel Vadot			port@1 {
1505def4c47SEmmanuel Vadot				reg = <1>;
1515def4c47SEmmanuel Vadot				ss_ep: endpoint {
1525def4c47SEmmanuel Vadot					remote-endpoint = <&hd3ss3220_in_ep>;
1535def4c47SEmmanuel Vadot				};
1545def4c47SEmmanuel Vadot			};
1555def4c47SEmmanuel Vadot		};
1565def4c47SEmmanuel Vadot	};
157c66ec88fSEmmanuel Vadot};
158c66ec88fSEmmanuel Vadot
159c66ec88fSEmmanuel Vadot&audio_clk_a {
160c66ec88fSEmmanuel Vadot	clock-frequency = <22579200>;
161c66ec88fSEmmanuel Vadot};
162c66ec88fSEmmanuel Vadot
163c66ec88fSEmmanuel Vadot&du {
164c66ec88fSEmmanuel Vadot	pinctrl-0 = <&du_pins>;
165c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
166c66ec88fSEmmanuel Vadot	status = "okay";
167c66ec88fSEmmanuel Vadot
168c66ec88fSEmmanuel Vadot	clocks = <&cpg CPG_MOD 724>,
169c66ec88fSEmmanuel Vadot		 <&cpg CPG_MOD 723>,
170c66ec88fSEmmanuel Vadot		 <&x13_clk>;
171c66ec88fSEmmanuel Vadot	clock-names = "du.0", "du.1", "dclkin.0";
172c66ec88fSEmmanuel Vadot
173c66ec88fSEmmanuel Vadot	ports {
174c66ec88fSEmmanuel Vadot		port@0 {
175*d5b0e70fSEmmanuel Vadot			du_out_rgb: endpoint {
176c66ec88fSEmmanuel Vadot				remote-endpoint = <&tda19988_in>;
177c66ec88fSEmmanuel Vadot			};
178c66ec88fSEmmanuel Vadot		};
179c66ec88fSEmmanuel Vadot	};
180c66ec88fSEmmanuel Vadot};
181c66ec88fSEmmanuel Vadot
182c66ec88fSEmmanuel Vadot&ehci0 {
183c66ec88fSEmmanuel Vadot	dr_mode = "host";
184c66ec88fSEmmanuel Vadot	status = "okay";
185c66ec88fSEmmanuel Vadot};
186c66ec88fSEmmanuel Vadot
187c66ec88fSEmmanuel Vadot&extal_clk {
188c66ec88fSEmmanuel Vadot	clock-frequency = <48000000>;
189c66ec88fSEmmanuel Vadot};
190c66ec88fSEmmanuel Vadot
191c66ec88fSEmmanuel Vadot&hscif2 {
192c66ec88fSEmmanuel Vadot	pinctrl-0 = <&hscif2_pins>;
193c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
194c66ec88fSEmmanuel Vadot
195c66ec88fSEmmanuel Vadot	uart-has-rtscts;
196c66ec88fSEmmanuel Vadot	status = "okay";
197c66ec88fSEmmanuel Vadot
198c66ec88fSEmmanuel Vadot	bluetooth {
199c66ec88fSEmmanuel Vadot		compatible = "ti,wl1837-st";
200c66ec88fSEmmanuel Vadot		enable-gpios = <&gpio4 6 GPIO_ACTIVE_HIGH>;
201c66ec88fSEmmanuel Vadot	};
202c66ec88fSEmmanuel Vadot};
203c66ec88fSEmmanuel Vadot
204c66ec88fSEmmanuel Vadot&i2c0 {
205c66ec88fSEmmanuel Vadot	status = "okay";
206c66ec88fSEmmanuel Vadot	clock-frequency = <100000>;
207c66ec88fSEmmanuel Vadot
208c66ec88fSEmmanuel Vadot	hd3ss3220@47 {
209c66ec88fSEmmanuel Vadot		compatible = "ti,hd3ss3220";
210c66ec88fSEmmanuel Vadot		reg = <0x47>;
211c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio6>;
212c66ec88fSEmmanuel Vadot		interrupts = <3 IRQ_TYPE_LEVEL_LOW>;
213c66ec88fSEmmanuel Vadot
214c66ec88fSEmmanuel Vadot		ports {
215c66ec88fSEmmanuel Vadot			#address-cells = <1>;
216c66ec88fSEmmanuel Vadot			#size-cells = <0>;
2175def4c47SEmmanuel Vadot			port@0 {
2185def4c47SEmmanuel Vadot				reg = <0>;
2195def4c47SEmmanuel Vadot				hd3ss3220_in_ep: endpoint {
2205def4c47SEmmanuel Vadot					remote-endpoint = <&ss_ep>;
2215def4c47SEmmanuel Vadot				};
2225def4c47SEmmanuel Vadot			};
223c66ec88fSEmmanuel Vadot			port@1 {
224c66ec88fSEmmanuel Vadot				reg = <1>;
2255def4c47SEmmanuel Vadot				hd3ss3220_out_ep: endpoint {
226c66ec88fSEmmanuel Vadot					remote-endpoint = <&usb3_role_switch>;
227c66ec88fSEmmanuel Vadot				};
228c66ec88fSEmmanuel Vadot			};
229c66ec88fSEmmanuel Vadot		};
230c66ec88fSEmmanuel Vadot	};
231c66ec88fSEmmanuel Vadot
232c66ec88fSEmmanuel Vadot	tda19988: tda19988@70 {
233c66ec88fSEmmanuel Vadot		compatible = "nxp,tda998x";
234c66ec88fSEmmanuel Vadot		reg = <0x70>;
235c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
236c66ec88fSEmmanuel Vadot		interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
237c66ec88fSEmmanuel Vadot
238c66ec88fSEmmanuel Vadot		video-ports = <0x234501>;
239c66ec88fSEmmanuel Vadot
240c66ec88fSEmmanuel Vadot		#sound-dai-cells = <0>;
241c66ec88fSEmmanuel Vadot		audio-ports = <TDA998x_I2S 0x03>;
242c66ec88fSEmmanuel Vadot		clocks = <&rcar_sound 1>;
243c66ec88fSEmmanuel Vadot
244c66ec88fSEmmanuel Vadot		ports {
245c66ec88fSEmmanuel Vadot			#address-cells = <1>;
246c66ec88fSEmmanuel Vadot			#size-cells = <0>;
247c66ec88fSEmmanuel Vadot
248c66ec88fSEmmanuel Vadot			port@0 {
249c66ec88fSEmmanuel Vadot				reg = <0>;
250c66ec88fSEmmanuel Vadot				tda19988_in: endpoint {
251c66ec88fSEmmanuel Vadot					remote-endpoint = <&du_out_rgb>;
252c66ec88fSEmmanuel Vadot				};
253c66ec88fSEmmanuel Vadot			};
254c66ec88fSEmmanuel Vadot
255c66ec88fSEmmanuel Vadot			port@1 {
256c66ec88fSEmmanuel Vadot				reg = <1>;
257c66ec88fSEmmanuel Vadot				tda19988_out: endpoint {
258c66ec88fSEmmanuel Vadot					remote-endpoint = <&hdmi_con_out>;
259c66ec88fSEmmanuel Vadot				};
260c66ec88fSEmmanuel Vadot			};
261c66ec88fSEmmanuel Vadot		};
262c66ec88fSEmmanuel Vadot	};
263c66ec88fSEmmanuel Vadot};
264c66ec88fSEmmanuel Vadot
265c66ec88fSEmmanuel Vadot&i2c1 {
266c66ec88fSEmmanuel Vadot	pinctrl-0 = <&i2c1_pins>;
267c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
268c66ec88fSEmmanuel Vadot
269c66ec88fSEmmanuel Vadot	status = "okay";
270c66ec88fSEmmanuel Vadot	clock-frequency = <400000>;
271c66ec88fSEmmanuel Vadot
272c66ec88fSEmmanuel Vadot	rtc@32 {
273c66ec88fSEmmanuel Vadot		compatible = "epson,rx8571";
274c66ec88fSEmmanuel Vadot		reg = <0x32>;
275c66ec88fSEmmanuel Vadot	};
276c66ec88fSEmmanuel Vadot};
277c66ec88fSEmmanuel Vadot
278c66ec88fSEmmanuel Vadot&lvds0 {
279c66ec88fSEmmanuel Vadot	status = "okay";
280c66ec88fSEmmanuel Vadot
281c66ec88fSEmmanuel Vadot	clocks = <&cpg CPG_MOD 727>, <&x13_clk>, <&extal_clk>;
282c66ec88fSEmmanuel Vadot	clock-names = "fck", "dclkin.0", "extal";
283c66ec88fSEmmanuel Vadot};
284c66ec88fSEmmanuel Vadot
285c66ec88fSEmmanuel Vadot&ohci0 {
286c66ec88fSEmmanuel Vadot	dr_mode = "host";
287c66ec88fSEmmanuel Vadot	status = "okay";
288c66ec88fSEmmanuel Vadot};
289c66ec88fSEmmanuel Vadot
290c66ec88fSEmmanuel Vadot&pcie_bus_clk {
291c66ec88fSEmmanuel Vadot	clock-frequency = <100000000>;
292c66ec88fSEmmanuel Vadot};
293c66ec88fSEmmanuel Vadot
294c66ec88fSEmmanuel Vadot&pciec0 {
295c66ec88fSEmmanuel Vadot	/* Map all possible DDR as inbound ranges */
296c66ec88fSEmmanuel Vadot	dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>;
297c66ec88fSEmmanuel Vadot};
298c66ec88fSEmmanuel Vadot
299c66ec88fSEmmanuel Vadot&pfc {
300c66ec88fSEmmanuel Vadot	du_pins: du {
301c66ec88fSEmmanuel Vadot		groups = "du_rgb888", "du_clk_out_0", "du_sync", "du_disp",
302c66ec88fSEmmanuel Vadot			 "du_clk_in_0";
303c66ec88fSEmmanuel Vadot		function = "du";
304c66ec88fSEmmanuel Vadot	};
305c66ec88fSEmmanuel Vadot
306c66ec88fSEmmanuel Vadot	hscif2_pins: hscif2 {
307c66ec88fSEmmanuel Vadot		groups = "hscif2_data_a", "hscif2_ctrl_a";
308c66ec88fSEmmanuel Vadot		function = "hscif2";
309c66ec88fSEmmanuel Vadot	};
310c66ec88fSEmmanuel Vadot
311c66ec88fSEmmanuel Vadot	i2c1_pins: i2c1 {
312c66ec88fSEmmanuel Vadot		groups = "i2c1_b";
313c66ec88fSEmmanuel Vadot		function = "i2c1";
314c66ec88fSEmmanuel Vadot	};
315c66ec88fSEmmanuel Vadot
316c66ec88fSEmmanuel Vadot	scif2_pins: scif2 {
317c66ec88fSEmmanuel Vadot		groups = "scif2_data_a";
318c66ec88fSEmmanuel Vadot		function = "scif2";
319c66ec88fSEmmanuel Vadot	};
320c66ec88fSEmmanuel Vadot
321c66ec88fSEmmanuel Vadot	sdhi0_pins: sd0 {
322c66ec88fSEmmanuel Vadot		groups = "sdhi0_data4", "sdhi0_ctrl";
323c66ec88fSEmmanuel Vadot		function = "sdhi0";
324c66ec88fSEmmanuel Vadot		power-source = <3300>;
325c66ec88fSEmmanuel Vadot	};
326c66ec88fSEmmanuel Vadot
327c66ec88fSEmmanuel Vadot	sdhi0_pins_uhs: sd0_uhs {
328c66ec88fSEmmanuel Vadot		groups = "sdhi0_data4", "sdhi0_ctrl";
329c66ec88fSEmmanuel Vadot		function = "sdhi0";
330c66ec88fSEmmanuel Vadot		power-source = <1800>;
331c66ec88fSEmmanuel Vadot	};
332c66ec88fSEmmanuel Vadot
333c66ec88fSEmmanuel Vadot	sdhi3_pins: sd3 {
334c66ec88fSEmmanuel Vadot		groups = "sdhi3_data4", "sdhi3_ctrl";
335c66ec88fSEmmanuel Vadot		function = "sdhi3";
336c66ec88fSEmmanuel Vadot		power-source = <1800>;
337c66ec88fSEmmanuel Vadot	};
338c66ec88fSEmmanuel Vadot
339c66ec88fSEmmanuel Vadot	sound_clk_pins: sound_clk {
340c66ec88fSEmmanuel Vadot		groups = "audio_clkout1_a";
341c66ec88fSEmmanuel Vadot		function = "audio_clk";
342c66ec88fSEmmanuel Vadot	};
343c66ec88fSEmmanuel Vadot
344c66ec88fSEmmanuel Vadot	sound_pins: sound {
345c66ec88fSEmmanuel Vadot		groups = "ssi01239_ctrl", "ssi0_data";
346c66ec88fSEmmanuel Vadot		function = "ssi";
347c66ec88fSEmmanuel Vadot	};
348c66ec88fSEmmanuel Vadot
349c66ec88fSEmmanuel Vadot	usb30_pins: usb30 {
350c66ec88fSEmmanuel Vadot		groups = "usb30", "usb30_id";
351c66ec88fSEmmanuel Vadot		function = "usb30";
352c66ec88fSEmmanuel Vadot	};
353c66ec88fSEmmanuel Vadot};
354c66ec88fSEmmanuel Vadot
355c66ec88fSEmmanuel Vadot&rcar_sound {
3562eb4d8dcSEmmanuel Vadot	pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
357c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
358c66ec88fSEmmanuel Vadot
359c66ec88fSEmmanuel Vadot	/* Single DAI */
360c66ec88fSEmmanuel Vadot	#sound-dai-cells = <0>;
361c66ec88fSEmmanuel Vadot
362c66ec88fSEmmanuel Vadot	/* audio_clkout0/1/2/3 */
363c66ec88fSEmmanuel Vadot	#clock-cells = <1>;
364c66ec88fSEmmanuel Vadot	clock-frequency = <11289600>;
365c66ec88fSEmmanuel Vadot
366c66ec88fSEmmanuel Vadot	status = "okay";
367c66ec88fSEmmanuel Vadot
368c66ec88fSEmmanuel Vadot	rcar_sound,dai {
369c66ec88fSEmmanuel Vadot		dai0 {
3702eb4d8dcSEmmanuel Vadot			playback = <&ssi0>, <&src0>, <&dvc0>;
371c66ec88fSEmmanuel Vadot		};
372c66ec88fSEmmanuel Vadot	};
373c66ec88fSEmmanuel Vadot};
374c66ec88fSEmmanuel Vadot
375c66ec88fSEmmanuel Vadot&rwdt {
376c66ec88fSEmmanuel Vadot	timeout-sec = <60>;
377c66ec88fSEmmanuel Vadot	status = "okay";
378c66ec88fSEmmanuel Vadot};
379c66ec88fSEmmanuel Vadot
380c66ec88fSEmmanuel Vadot&scif2 {
381c66ec88fSEmmanuel Vadot	pinctrl-0 = <&scif2_pins>;
382c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
383c66ec88fSEmmanuel Vadot
384c66ec88fSEmmanuel Vadot	status = "okay";
385c66ec88fSEmmanuel Vadot};
386c66ec88fSEmmanuel Vadot
387c66ec88fSEmmanuel Vadot&sdhi0 {
388c66ec88fSEmmanuel Vadot	pinctrl-0 = <&sdhi0_pins>;
389c66ec88fSEmmanuel Vadot	pinctrl-1 = <&sdhi0_pins_uhs>;
390c66ec88fSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
391c66ec88fSEmmanuel Vadot
392c66ec88fSEmmanuel Vadot	vmmc-supply = <&vcc_sdhi0>;
393c66ec88fSEmmanuel Vadot	vqmmc-supply = <&vccq_sdhi0>;
394c66ec88fSEmmanuel Vadot	cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
395c66ec88fSEmmanuel Vadot	bus-width = <4>;
396c66ec88fSEmmanuel Vadot	sd-uhs-sdr50;
397c66ec88fSEmmanuel Vadot	sd-uhs-sdr104;
398c66ec88fSEmmanuel Vadot	status = "okay";
399c66ec88fSEmmanuel Vadot};
400c66ec88fSEmmanuel Vadot
401c66ec88fSEmmanuel Vadot&sdhi3 {
402c66ec88fSEmmanuel Vadot	status = "okay";
403c66ec88fSEmmanuel Vadot	pinctrl-0 = <&sdhi3_pins>;
404c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
405c66ec88fSEmmanuel Vadot
406c66ec88fSEmmanuel Vadot	vmmc-supply = <&wlan_en_reg>;
407c66ec88fSEmmanuel Vadot	bus-width = <4>;
408c66ec88fSEmmanuel Vadot	non-removable;
409c66ec88fSEmmanuel Vadot	cap-power-off-card;
410c66ec88fSEmmanuel Vadot	keep-power-in-suspend;
411c66ec88fSEmmanuel Vadot
412c66ec88fSEmmanuel Vadot	#address-cells = <1>;
413c66ec88fSEmmanuel Vadot	#size-cells = <0>;
414c66ec88fSEmmanuel Vadot	wlcore: wlcore@2 {
415c66ec88fSEmmanuel Vadot		compatible = "ti,wl1837";
416c66ec88fSEmmanuel Vadot		reg = <2>;
417c66ec88fSEmmanuel Vadot		interrupt-parent = <&gpio1>;
418c66ec88fSEmmanuel Vadot		interrupts = <0 IRQ_TYPE_LEVEL_HIGH>;
419c66ec88fSEmmanuel Vadot	};
420c66ec88fSEmmanuel Vadot};
421c66ec88fSEmmanuel Vadot
422c66ec88fSEmmanuel Vadot&usb2_phy0 {
423c66ec88fSEmmanuel Vadot	renesas,no-otg-pins;
424c66ec88fSEmmanuel Vadot	status = "okay";
425c66ec88fSEmmanuel Vadot};
426c66ec88fSEmmanuel Vadot
427c66ec88fSEmmanuel Vadot&usb3_peri0 {
428c66ec88fSEmmanuel Vadot	companion = <&xhci0>;
429c66ec88fSEmmanuel Vadot	status = "okay";
430c66ec88fSEmmanuel Vadot	usb-role-switch;
431c66ec88fSEmmanuel Vadot
4325def4c47SEmmanuel Vadot	ports {
4335def4c47SEmmanuel Vadot		#address-cells = <1>;
4345def4c47SEmmanuel Vadot		#size-cells = <0>;
4355def4c47SEmmanuel Vadot		port@0 {
4365def4c47SEmmanuel Vadot			reg = <0>;
4375def4c47SEmmanuel Vadot			usb3_hs_ep: endpoint {
4385def4c47SEmmanuel Vadot				remote-endpoint = <&hs_ep>;
4395def4c47SEmmanuel Vadot			};
4405def4c47SEmmanuel Vadot		};
4415def4c47SEmmanuel Vadot		port@1 {
4425def4c47SEmmanuel Vadot			reg = <1>;
443c66ec88fSEmmanuel Vadot			usb3_role_switch: endpoint {
4445def4c47SEmmanuel Vadot				remote-endpoint = <&hd3ss3220_out_ep>;
4455def4c47SEmmanuel Vadot			};
446c66ec88fSEmmanuel Vadot		};
447c66ec88fSEmmanuel Vadot	};
448c66ec88fSEmmanuel Vadot};
449c66ec88fSEmmanuel Vadot
450c66ec88fSEmmanuel Vadot&xhci0 {
451c66ec88fSEmmanuel Vadot	pinctrl-0 = <&usb30_pins>;
452c66ec88fSEmmanuel Vadot	pinctrl-names = "default";
453c66ec88fSEmmanuel Vadot
454c66ec88fSEmmanuel Vadot	status = "okay";
455c66ec88fSEmmanuel Vadot};
456