xref: /freebsd-src/sys/contrib/device-tree/src/arm/renesas/r8a7742-iwg21d-q7.dts (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0
2*f126890aSEmmanuel Vadot/*
3*f126890aSEmmanuel Vadot * Device Tree Source for the iWave-RZ/G1H Qseven board
4*f126890aSEmmanuel Vadot *
5*f126890aSEmmanuel Vadot * Copyright (C) 2020 Renesas Electronics Corp.
6*f126890aSEmmanuel Vadot */
7*f126890aSEmmanuel Vadot
8*f126890aSEmmanuel Vadot/*
9*f126890aSEmmanuel Vadot * SSI-SGTL5000
10*f126890aSEmmanuel Vadot *
11*f126890aSEmmanuel Vadot * This command is required when Playback/Capture
12*f126890aSEmmanuel Vadot *
13*f126890aSEmmanuel Vadot *      amixer set "DVC Out" 100%
14*f126890aSEmmanuel Vadot *      amixer set "DVC In" 100%
15*f126890aSEmmanuel Vadot *
16*f126890aSEmmanuel Vadot * You can use Mute
17*f126890aSEmmanuel Vadot *
18*f126890aSEmmanuel Vadot *      amixer set "DVC Out Mute" on
19*f126890aSEmmanuel Vadot *      amixer set "DVC In Mute" on
20*f126890aSEmmanuel Vadot *
21*f126890aSEmmanuel Vadot * You can use Volume Ramp
22*f126890aSEmmanuel Vadot *
23*f126890aSEmmanuel Vadot *      amixer set "DVC Out Ramp Up Rate"   "0.125 dB/64 steps"
24*f126890aSEmmanuel Vadot *      amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
25*f126890aSEmmanuel Vadot *      amixer set "DVC Out Ramp" on
26*f126890aSEmmanuel Vadot *      aplay xxx.wav &
27*f126890aSEmmanuel Vadot *      amixer set "DVC Out"  80%  // Volume Down
28*f126890aSEmmanuel Vadot *      amixer set "DVC Out" 100%  // Volume Up
29*f126890aSEmmanuel Vadot */
30*f126890aSEmmanuel Vadot
31*f126890aSEmmanuel Vadot/dts-v1/;
32*f126890aSEmmanuel Vadot#include "r8a7742-iwg21m.dtsi"
33*f126890aSEmmanuel Vadot#include <dt-bindings/pwm/pwm.h>
34*f126890aSEmmanuel Vadot
35*f126890aSEmmanuel Vadot/ {
36*f126890aSEmmanuel Vadot	model = "iWave Systems RainboW-G21D-Qseven board based on RZ/G1H";
37*f126890aSEmmanuel Vadot	compatible = "iwave,g21d", "iwave,g21m", "renesas,r8a7742";
38*f126890aSEmmanuel Vadot
39*f126890aSEmmanuel Vadot	aliases {
40*f126890aSEmmanuel Vadot		serial2 = &scifa2;
41*f126890aSEmmanuel Vadot		serial4 = &scifb2;
42*f126890aSEmmanuel Vadot		ethernet0 = &avb;
43*f126890aSEmmanuel Vadot	};
44*f126890aSEmmanuel Vadot
45*f126890aSEmmanuel Vadot	chosen {
46*f126890aSEmmanuel Vadot		bootargs = "ignore_loglevel root=/dev/mmcblk0p1 rw rootwait";
47*f126890aSEmmanuel Vadot		stdout-path = "serial2:115200n8";
48*f126890aSEmmanuel Vadot	};
49*f126890aSEmmanuel Vadot
50*f126890aSEmmanuel Vadot	audio_clock: audio_clock {
51*f126890aSEmmanuel Vadot		compatible = "fixed-clock";
52*f126890aSEmmanuel Vadot		#clock-cells = <0>;
53*f126890aSEmmanuel Vadot		clock-frequency = <26000000>;
54*f126890aSEmmanuel Vadot	};
55*f126890aSEmmanuel Vadot
56*f126890aSEmmanuel Vadot	lcd_backlight: backlight {
57*f126890aSEmmanuel Vadot		compatible = "pwm-backlight";
58*f126890aSEmmanuel Vadot		pwms = <&tpu 2 5000000 0>;
59*f126890aSEmmanuel Vadot		brightness-levels = <0 4 8 16 32 64 128 255>;
60*f126890aSEmmanuel Vadot		pinctrl-0 = <&backlight_pins>;
61*f126890aSEmmanuel Vadot		pinctrl-names = "default";
62*f126890aSEmmanuel Vadot		default-brightness-level = <7>;
63*f126890aSEmmanuel Vadot		enable-gpios = <&gpio3 11 GPIO_ACTIVE_HIGH>;
64*f126890aSEmmanuel Vadot	};
65*f126890aSEmmanuel Vadot
66*f126890aSEmmanuel Vadot	leds {
67*f126890aSEmmanuel Vadot		compatible = "gpio-leds";
68*f126890aSEmmanuel Vadot
69*f126890aSEmmanuel Vadot		sdhi2_led {
70*f126890aSEmmanuel Vadot			label = "sdio-led";
71*f126890aSEmmanuel Vadot			gpios = <&gpio5 22 GPIO_ACTIVE_HIGH>;
72*f126890aSEmmanuel Vadot			linux,default-trigger = "mmc1";
73*f126890aSEmmanuel Vadot		};
74*f126890aSEmmanuel Vadot	};
75*f126890aSEmmanuel Vadot
76*f126890aSEmmanuel Vadot	lvds-receiver {
77*f126890aSEmmanuel Vadot		compatible = "ti,ds90cf384a", "lvds-decoder";
78*f126890aSEmmanuel Vadot		power-supply = <&vcc_3v3_tft1>;
79*f126890aSEmmanuel Vadot
80*f126890aSEmmanuel Vadot		ports {
81*f126890aSEmmanuel Vadot			#address-cells = <1>;
82*f126890aSEmmanuel Vadot			#size-cells = <0>;
83*f126890aSEmmanuel Vadot
84*f126890aSEmmanuel Vadot			port@0 {
85*f126890aSEmmanuel Vadot				reg = <0>;
86*f126890aSEmmanuel Vadot				lvds_receiver_in: endpoint {
87*f126890aSEmmanuel Vadot					remote-endpoint = <&lvds0_out>;
88*f126890aSEmmanuel Vadot				};
89*f126890aSEmmanuel Vadot			};
90*f126890aSEmmanuel Vadot			port@1 {
91*f126890aSEmmanuel Vadot				reg = <1>;
92*f126890aSEmmanuel Vadot				lvds_receiver_out: endpoint {
93*f126890aSEmmanuel Vadot					remote-endpoint = <&panel_in>;
94*f126890aSEmmanuel Vadot				};
95*f126890aSEmmanuel Vadot			};
96*f126890aSEmmanuel Vadot		};
97*f126890aSEmmanuel Vadot	};
98*f126890aSEmmanuel Vadot
99*f126890aSEmmanuel Vadot	panel {
100*f126890aSEmmanuel Vadot		compatible = "edt,etm0700g0dh6";
101*f126890aSEmmanuel Vadot		backlight = <&lcd_backlight>;
102*f126890aSEmmanuel Vadot		power-supply = <&vcc_3v3_tft1>;
103*f126890aSEmmanuel Vadot
104*f126890aSEmmanuel Vadot		port {
105*f126890aSEmmanuel Vadot			panel_in: endpoint {
106*f126890aSEmmanuel Vadot				remote-endpoint = <&lvds_receiver_out>;
107*f126890aSEmmanuel Vadot			};
108*f126890aSEmmanuel Vadot		};
109*f126890aSEmmanuel Vadot	};
110*f126890aSEmmanuel Vadot
111*f126890aSEmmanuel Vadot	reg_1p5v: 1p5v {
112*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
113*f126890aSEmmanuel Vadot		regulator-name = "1P5V";
114*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1500000>;
115*f126890aSEmmanuel Vadot		regulator-max-microvolt = <1500000>;
116*f126890aSEmmanuel Vadot		regulator-always-on;
117*f126890aSEmmanuel Vadot	};
118*f126890aSEmmanuel Vadot
119*f126890aSEmmanuel Vadot	rsnd_sgtl5000: sound {
120*f126890aSEmmanuel Vadot		compatible = "simple-audio-card";
121*f126890aSEmmanuel Vadot		simple-audio-card,format = "i2s";
122*f126890aSEmmanuel Vadot		simple-audio-card,bitclock-master = <&sndcodec>;
123*f126890aSEmmanuel Vadot		simple-audio-card,frame-master = <&sndcodec>;
124*f126890aSEmmanuel Vadot
125*f126890aSEmmanuel Vadot		sndcpu: simple-audio-card,cpu {
126*f126890aSEmmanuel Vadot			sound-dai = <&rcar_sound>;
127*f126890aSEmmanuel Vadot		};
128*f126890aSEmmanuel Vadot
129*f126890aSEmmanuel Vadot		sndcodec: simple-audio-card,codec {
130*f126890aSEmmanuel Vadot			sound-dai = <&sgtl5000>;
131*f126890aSEmmanuel Vadot		};
132*f126890aSEmmanuel Vadot	};
133*f126890aSEmmanuel Vadot
134*f126890aSEmmanuel Vadot	vcc_3v3_tft1: regulator-panel {
135*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
136*f126890aSEmmanuel Vadot
137*f126890aSEmmanuel Vadot		regulator-name = "vcc-3v3-tft1";
138*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
139*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
140*f126890aSEmmanuel Vadot		enable-active-high;
141*f126890aSEmmanuel Vadot		startup-delay-us = <500>;
142*f126890aSEmmanuel Vadot		gpio = <&gpio5 28 GPIO_ACTIVE_HIGH>;
143*f126890aSEmmanuel Vadot	};
144*f126890aSEmmanuel Vadot
145*f126890aSEmmanuel Vadot	vcc_sdhi2: regulator-vcc-sdhi2 {
146*f126890aSEmmanuel Vadot		compatible = "regulator-fixed";
147*f126890aSEmmanuel Vadot
148*f126890aSEmmanuel Vadot		regulator-name = "SDHI2 Vcc";
149*f126890aSEmmanuel Vadot		regulator-min-microvolt = <3300000>;
150*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
151*f126890aSEmmanuel Vadot
152*f126890aSEmmanuel Vadot		gpio = <&gpio1 27 GPIO_ACTIVE_LOW>;
153*f126890aSEmmanuel Vadot	};
154*f126890aSEmmanuel Vadot
155*f126890aSEmmanuel Vadot	vccq_sdhi2: regulator-vccq-sdhi2 {
156*f126890aSEmmanuel Vadot		compatible = "regulator-gpio";
157*f126890aSEmmanuel Vadot
158*f126890aSEmmanuel Vadot		regulator-name = "SDHI2 VccQ";
159*f126890aSEmmanuel Vadot		regulator-min-microvolt = <1800000>;
160*f126890aSEmmanuel Vadot		regulator-max-microvolt = <3300000>;
161*f126890aSEmmanuel Vadot
162*f126890aSEmmanuel Vadot		gpios = <&gpio1 8 GPIO_ACTIVE_HIGH>;
163*f126890aSEmmanuel Vadot		gpios-states = <1>;
164*f126890aSEmmanuel Vadot		states = <3300000 1>, <1800000 0>;
165*f126890aSEmmanuel Vadot	};
166*f126890aSEmmanuel Vadot};
167*f126890aSEmmanuel Vadot
168*f126890aSEmmanuel Vadot&avb {
169*f126890aSEmmanuel Vadot	pinctrl-0 = <&avb_pins>;
170*f126890aSEmmanuel Vadot	pinctrl-names = "default";
171*f126890aSEmmanuel Vadot
172*f126890aSEmmanuel Vadot	phy-handle = <&phy3>;
173*f126890aSEmmanuel Vadot	phy-mode = "gmii";
174*f126890aSEmmanuel Vadot	renesas,no-ether-link;
175*f126890aSEmmanuel Vadot	status = "okay";
176*f126890aSEmmanuel Vadot
177*f126890aSEmmanuel Vadot	phy3: ethernet-phy@3 {
178*f126890aSEmmanuel Vadot		compatible = "ethernet-phy-id0022.1622",
179*f126890aSEmmanuel Vadot			     "ethernet-phy-ieee802.3-c22";
180*f126890aSEmmanuel Vadot		reg = <3>;
181*f126890aSEmmanuel Vadot		micrel,led-mode = <1>;
182*f126890aSEmmanuel Vadot	};
183*f126890aSEmmanuel Vadot};
184*f126890aSEmmanuel Vadot
185*f126890aSEmmanuel Vadot&i2c2 {
186*f126890aSEmmanuel Vadot	pinctrl-0 = <&i2c2_pins>;
187*f126890aSEmmanuel Vadot	pinctrl-names = "default";
188*f126890aSEmmanuel Vadot
189*f126890aSEmmanuel Vadot	status = "okay";
190*f126890aSEmmanuel Vadot	clock-frequency = <400000>;
191*f126890aSEmmanuel Vadot
192*f126890aSEmmanuel Vadot	sgtl5000: codec@a {
193*f126890aSEmmanuel Vadot		compatible = "fsl,sgtl5000";
194*f126890aSEmmanuel Vadot		#sound-dai-cells = <0>;
195*f126890aSEmmanuel Vadot		reg = <0x0a>;
196*f126890aSEmmanuel Vadot		clocks = <&audio_clock>;
197*f126890aSEmmanuel Vadot		VDDA-supply = <&reg_3p3v>;
198*f126890aSEmmanuel Vadot		VDDIO-supply = <&reg_3p3v>;
199*f126890aSEmmanuel Vadot		VDDD-supply = <&reg_1p5v>;
200*f126890aSEmmanuel Vadot	};
201*f126890aSEmmanuel Vadot
202*f126890aSEmmanuel Vadot	touch: touchpanel@38 {
203*f126890aSEmmanuel Vadot		compatible = "edt,edt-ft5406";
204*f126890aSEmmanuel Vadot		reg = <0x38>;
205*f126890aSEmmanuel Vadot		interrupt-parent = <&gpio0>;
206*f126890aSEmmanuel Vadot		interrupts = <24 IRQ_TYPE_EDGE_FALLING>;
207*f126890aSEmmanuel Vadot		/* GP1_29 is also shared with audio codec reset pin */
208*f126890aSEmmanuel Vadot		reset-gpios = <&gpio1 29 GPIO_ACTIVE_LOW>;
209*f126890aSEmmanuel Vadot		vcc-supply = <&vcc_3v3_tft1>;
210*f126890aSEmmanuel Vadot	};
211*f126890aSEmmanuel Vadot};
212*f126890aSEmmanuel Vadot
213*f126890aSEmmanuel Vadot&can1 {
214*f126890aSEmmanuel Vadot	pinctrl-0 = <&can1_pins>;
215*f126890aSEmmanuel Vadot	pinctrl-names = "default";
216*f126890aSEmmanuel Vadot
217*f126890aSEmmanuel Vadot	status = "okay";
218*f126890aSEmmanuel Vadot};
219*f126890aSEmmanuel Vadot
220*f126890aSEmmanuel Vadot&cmt0 {
221*f126890aSEmmanuel Vadot	status = "okay";
222*f126890aSEmmanuel Vadot};
223*f126890aSEmmanuel Vadot
224*f126890aSEmmanuel Vadot&du {
225*f126890aSEmmanuel Vadot	status = "okay";
226*f126890aSEmmanuel Vadot};
227*f126890aSEmmanuel Vadot
228*f126890aSEmmanuel Vadot&gpio0 {
229*f126890aSEmmanuel Vadot	touch-interrupt-hog {
230*f126890aSEmmanuel Vadot		gpio-hog;
231*f126890aSEmmanuel Vadot		gpios = <24 GPIO_ACTIVE_LOW>;
232*f126890aSEmmanuel Vadot		input;
233*f126890aSEmmanuel Vadot	};
234*f126890aSEmmanuel Vadot};
235*f126890aSEmmanuel Vadot
236*f126890aSEmmanuel Vadot&gpio1 {
237*f126890aSEmmanuel Vadot	can-trx-en-hog {
238*f126890aSEmmanuel Vadot		gpio-hog;
239*f126890aSEmmanuel Vadot		gpios = <28 GPIO_ACTIVE_HIGH>;
240*f126890aSEmmanuel Vadot		output-low;
241*f126890aSEmmanuel Vadot		line-name = "can-trx-en-gpio";
242*f126890aSEmmanuel Vadot	};
243*f126890aSEmmanuel Vadot};
244*f126890aSEmmanuel Vadot
245*f126890aSEmmanuel Vadot&hsusb {
246*f126890aSEmmanuel Vadot	pinctrl-0 = <&usb0_pins>;
247*f126890aSEmmanuel Vadot	pinctrl-names = "default";
248*f126890aSEmmanuel Vadot	status = "okay";
249*f126890aSEmmanuel Vadot};
250*f126890aSEmmanuel Vadot
251*f126890aSEmmanuel Vadot&lvds0 {
252*f126890aSEmmanuel Vadot	status = "okay";
253*f126890aSEmmanuel Vadot	ports {
254*f126890aSEmmanuel Vadot		port@1 {
255*f126890aSEmmanuel Vadot			lvds0_out: endpoint {
256*f126890aSEmmanuel Vadot				remote-endpoint = <&lvds_receiver_in>;
257*f126890aSEmmanuel Vadot			};
258*f126890aSEmmanuel Vadot		};
259*f126890aSEmmanuel Vadot	};
260*f126890aSEmmanuel Vadot};
261*f126890aSEmmanuel Vadot
262*f126890aSEmmanuel Vadot&msiof0 {
263*f126890aSEmmanuel Vadot	pinctrl-0 = <&msiof0_pins>;
264*f126890aSEmmanuel Vadot	pinctrl-names = "default";
265*f126890aSEmmanuel Vadot	cs-gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
266*f126890aSEmmanuel Vadot
267*f126890aSEmmanuel Vadot	status = "okay";
268*f126890aSEmmanuel Vadot
269*f126890aSEmmanuel Vadot	flash1: flash@0 {
270*f126890aSEmmanuel Vadot		compatible = "sst,sst25vf016b", "jedec,spi-nor";
271*f126890aSEmmanuel Vadot		reg = <0>;
272*f126890aSEmmanuel Vadot		spi-max-frequency = <50000000>;
273*f126890aSEmmanuel Vadot		m25p,fast-read;
274*f126890aSEmmanuel Vadot
275*f126890aSEmmanuel Vadot		partitions {
276*f126890aSEmmanuel Vadot			compatible = "fixed-partitions";
277*f126890aSEmmanuel Vadot			#address-cells = <1>;
278*f126890aSEmmanuel Vadot			#size-cells = <1>;
279*f126890aSEmmanuel Vadot
280*f126890aSEmmanuel Vadot			partition@0 {
281*f126890aSEmmanuel Vadot				label = "user";
282*f126890aSEmmanuel Vadot				reg = <0x00000000 0x00200000>;
283*f126890aSEmmanuel Vadot			};
284*f126890aSEmmanuel Vadot		};
285*f126890aSEmmanuel Vadot	};
286*f126890aSEmmanuel Vadot};
287*f126890aSEmmanuel Vadot
288*f126890aSEmmanuel Vadot&pci0 {
289*f126890aSEmmanuel Vadot	pinctrl-0 = <&usb0_pins>;
290*f126890aSEmmanuel Vadot	pinctrl-names = "default";
291*f126890aSEmmanuel Vadot	/* Disable hsusb to enable USB2.0 host mode support on J2 */
292*f126890aSEmmanuel Vadot	/* status = "okay"; */
293*f126890aSEmmanuel Vadot};
294*f126890aSEmmanuel Vadot
295*f126890aSEmmanuel Vadot&pci1 {
296*f126890aSEmmanuel Vadot	pinctrl-0 = <&usb1_pins>;
297*f126890aSEmmanuel Vadot	pinctrl-names = "default";
298*f126890aSEmmanuel Vadot	status = "okay";
299*f126890aSEmmanuel Vadot};
300*f126890aSEmmanuel Vadot
301*f126890aSEmmanuel Vadot&pci2 {
302*f126890aSEmmanuel Vadot	/* Disable xhci to enable USB2.0 host mode support on J23 bottom port */
303*f126890aSEmmanuel Vadot	/* status = "okay"; */
304*f126890aSEmmanuel Vadot};
305*f126890aSEmmanuel Vadot
306*f126890aSEmmanuel Vadot&pcie_bus_clk {
307*f126890aSEmmanuel Vadot	clock-frequency = <100000000>;
308*f126890aSEmmanuel Vadot};
309*f126890aSEmmanuel Vadot
310*f126890aSEmmanuel Vadot&pciec {
311*f126890aSEmmanuel Vadot	/* SW2[6] determines which connector is activated
312*f126890aSEmmanuel Vadot	 * ON = PCIe X4 (connector-J7)
313*f126890aSEmmanuel Vadot	 * OFF = mini-PCIe (connector-J26)
314*f126890aSEmmanuel Vadot	 */
315*f126890aSEmmanuel Vadot	status = "okay";
316*f126890aSEmmanuel Vadot};
317*f126890aSEmmanuel Vadot
318*f126890aSEmmanuel Vadot&pfc {
319*f126890aSEmmanuel Vadot	avb_pins: avb {
320*f126890aSEmmanuel Vadot		groups = "avb_mdio", "avb_gmii";
321*f126890aSEmmanuel Vadot		function = "avb";
322*f126890aSEmmanuel Vadot	};
323*f126890aSEmmanuel Vadot
324*f126890aSEmmanuel Vadot	backlight_pins: backlight {
325*f126890aSEmmanuel Vadot		groups = "tpu0_to2";
326*f126890aSEmmanuel Vadot		function = "tpu0";
327*f126890aSEmmanuel Vadot	};
328*f126890aSEmmanuel Vadot
329*f126890aSEmmanuel Vadot	can1_pins: can1 {
330*f126890aSEmmanuel Vadot		groups = "can1_data_b";
331*f126890aSEmmanuel Vadot		function = "can1";
332*f126890aSEmmanuel Vadot	};
333*f126890aSEmmanuel Vadot
334*f126890aSEmmanuel Vadot	i2c2_pins: i2c2 {
335*f126890aSEmmanuel Vadot		groups = "i2c2_b";
336*f126890aSEmmanuel Vadot		function = "i2c2";
337*f126890aSEmmanuel Vadot	};
338*f126890aSEmmanuel Vadot
339*f126890aSEmmanuel Vadot	msiof0_pins: msiof0 {
340*f126890aSEmmanuel Vadot		groups = "msiof0_clk", "msiof0_sync", "msiof0_tx", "msiof0_rx";
341*f126890aSEmmanuel Vadot		function = "msiof0";
342*f126890aSEmmanuel Vadot	};
343*f126890aSEmmanuel Vadot
344*f126890aSEmmanuel Vadot	scifa2_pins: scifa2 {
345*f126890aSEmmanuel Vadot		groups = "scifa2_data_c";
346*f126890aSEmmanuel Vadot		function = "scifa2";
347*f126890aSEmmanuel Vadot	};
348*f126890aSEmmanuel Vadot
349*f126890aSEmmanuel Vadot	scifb2_pins: scifb2 {
350*f126890aSEmmanuel Vadot		groups = "scifb2_data", "scifb2_ctrl";
351*f126890aSEmmanuel Vadot		function = "scifb2";
352*f126890aSEmmanuel Vadot	};
353*f126890aSEmmanuel Vadot
354*f126890aSEmmanuel Vadot	sdhi2_pins: sd2 {
355*f126890aSEmmanuel Vadot		groups = "sdhi2_data4", "sdhi2_ctrl";
356*f126890aSEmmanuel Vadot		function = "sdhi2";
357*f126890aSEmmanuel Vadot		power-source = <3300>;
358*f126890aSEmmanuel Vadot	};
359*f126890aSEmmanuel Vadot
360*f126890aSEmmanuel Vadot	sdhi2_pins_uhs: sd2_uhs {
361*f126890aSEmmanuel Vadot		groups = "sdhi2_data4", "sdhi2_ctrl";
362*f126890aSEmmanuel Vadot		function = "sdhi2";
363*f126890aSEmmanuel Vadot		power-source = <1800>;
364*f126890aSEmmanuel Vadot	};
365*f126890aSEmmanuel Vadot
366*f126890aSEmmanuel Vadot	sound_pins: sound {
367*f126890aSEmmanuel Vadot		groups = "ssi34_ctrl", "ssi3_data", "ssi4_data";
368*f126890aSEmmanuel Vadot		function = "ssi";
369*f126890aSEmmanuel Vadot	};
370*f126890aSEmmanuel Vadot
371*f126890aSEmmanuel Vadot	usb0_pins: usb0 {
372*f126890aSEmmanuel Vadot		groups = "usb0";
373*f126890aSEmmanuel Vadot		function = "usb0";
374*f126890aSEmmanuel Vadot	};
375*f126890aSEmmanuel Vadot
376*f126890aSEmmanuel Vadot	usb1_pins: usb1 {
377*f126890aSEmmanuel Vadot		groups = "usb1_pwen";
378*f126890aSEmmanuel Vadot		function = "usb1";
379*f126890aSEmmanuel Vadot	};
380*f126890aSEmmanuel Vadot};
381*f126890aSEmmanuel Vadot
382*f126890aSEmmanuel Vadot&rcar_sound {
383*f126890aSEmmanuel Vadot	pinctrl-0 = <&sound_pins>;
384*f126890aSEmmanuel Vadot	pinctrl-names = "default";
385*f126890aSEmmanuel Vadot	status = "okay";
386*f126890aSEmmanuel Vadot
387*f126890aSEmmanuel Vadot	/* Single DAI */
388*f126890aSEmmanuel Vadot	#sound-dai-cells = <0>;
389*f126890aSEmmanuel Vadot
390*f126890aSEmmanuel Vadot	rcar_sound,dai {
391*f126890aSEmmanuel Vadot		dai0 {
392*f126890aSEmmanuel Vadot			playback = <&ssi4>, <&src4>, <&dvc1>;
393*f126890aSEmmanuel Vadot			capture = <&ssi3>, <&src3>, <&dvc0>;
394*f126890aSEmmanuel Vadot		};
395*f126890aSEmmanuel Vadot	};
396*f126890aSEmmanuel Vadot};
397*f126890aSEmmanuel Vadot
398*f126890aSEmmanuel Vadot&rwdt {
399*f126890aSEmmanuel Vadot	timeout-sec = <60>;
400*f126890aSEmmanuel Vadot	status = "okay";
401*f126890aSEmmanuel Vadot};
402*f126890aSEmmanuel Vadot
403*f126890aSEmmanuel Vadot&scifa2 {
404*f126890aSEmmanuel Vadot	pinctrl-0 = <&scifa2_pins>;
405*f126890aSEmmanuel Vadot	pinctrl-names = "default";
406*f126890aSEmmanuel Vadot
407*f126890aSEmmanuel Vadot	status = "okay";
408*f126890aSEmmanuel Vadot};
409*f126890aSEmmanuel Vadot
410*f126890aSEmmanuel Vadot&scifb2 {
411*f126890aSEmmanuel Vadot	pinctrl-0 = <&scifb2_pins>;
412*f126890aSEmmanuel Vadot	pinctrl-names = "default";
413*f126890aSEmmanuel Vadot
414*f126890aSEmmanuel Vadot	uart-has-rtscts;
415*f126890aSEmmanuel Vadot	status = "okay";
416*f126890aSEmmanuel Vadot};
417*f126890aSEmmanuel Vadot
418*f126890aSEmmanuel Vadot&sdhi2 {
419*f126890aSEmmanuel Vadot	pinctrl-0 = <&sdhi2_pins>;
420*f126890aSEmmanuel Vadot	pinctrl-1 = <&sdhi2_pins_uhs>;
421*f126890aSEmmanuel Vadot	pinctrl-names = "default", "state_uhs";
422*f126890aSEmmanuel Vadot
423*f126890aSEmmanuel Vadot	vmmc-supply = <&vcc_sdhi2>;
424*f126890aSEmmanuel Vadot	vqmmc-supply = <&vccq_sdhi2>;
425*f126890aSEmmanuel Vadot	cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
426*f126890aSEmmanuel Vadot	wp-gpios = <&gpio3 23 GPIO_ACTIVE_HIGH>;
427*f126890aSEmmanuel Vadot	sd-uhs-sdr50;
428*f126890aSEmmanuel Vadot	status = "okay";
429*f126890aSEmmanuel Vadot};
430*f126890aSEmmanuel Vadot
431*f126890aSEmmanuel Vadot&ssi4 {
432*f126890aSEmmanuel Vadot	shared-pin;
433*f126890aSEmmanuel Vadot};
434*f126890aSEmmanuel Vadot
435*f126890aSEmmanuel Vadot&tpu {
436*f126890aSEmmanuel Vadot	status = "okay";
437*f126890aSEmmanuel Vadot};
438*f126890aSEmmanuel Vadot
439*f126890aSEmmanuel Vadot&usbphy {
440*f126890aSEmmanuel Vadot	status = "okay";
441*f126890aSEmmanuel Vadot};
442*f126890aSEmmanuel Vadot
443*f126890aSEmmanuel Vadot&xhci {
444*f126890aSEmmanuel Vadot	status = "okay";
445*f126890aSEmmanuel Vadot};
446