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