• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the Lager board
4 *
5 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded, Inc.
7 * Copyright (C) 2015-2016 Renesas Electronics Corporation
8 */
9
10/*
11 * SSI-AK4643
12 *
13 * SW1: 1: AK4643
14 *      2: CN22
15 *      3: ADV7511
16 *
17 * This command is required when Playback/Capture
18 *
19 *	amixer set "LINEOUT Mixer DACL" on
20 *	amixer set "DVC Out" 100%
21 *	amixer set "DVC In" 100%
22 *
23 * You can use Mute
24 *
25 *	amixer set "DVC Out Mute" on
26 *	amixer set "DVC In Mute" on
27 *
28 * You can use Volume Ramp
29 *
30 *	amixer set "DVC Out Ramp Up Rate"   "0.125 dB/64 steps"
31 *	amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
32 *	amixer set "DVC Out Ramp" on
33 *	aplay xxx.wav &
34 *	amixer set "DVC Out"  80%  // Volume Down
35 *	amixer set "DVC Out" 100%  // Volume Up
36 */
37
38/dts-v1/;
39#include "r8a7790.dtsi"
40#include <dt-bindings/gpio/gpio.h>
41#include <dt-bindings/input/input.h>
42
43/ {
44	model = "Lager";
45	compatible = "renesas,lager", "renesas,r8a7790";
46
47	aliases {
48		serial0 = &scif0;
49		serial1 = &scifa1;
50		i2c8 = &gpioi2c1;
51		i2c9 = &gpioi2c2;
52		i2c10 = &i2cexio0;
53		i2c11 = &i2cexio1;
54		i2c12 = &i2chdmi;
55		i2c13 = &i2cpwr;
56		mmc0 = &mmcif1;
57		mmc1 = &sdhi0;
58		mmc2 = &sdhi2;
59	};
60
61	chosen {
62		bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
63		stdout-path = "serial0:115200n8";
64	};
65
66	memory@40000000 {
67		device_type = "memory";
68		reg = <0 0x40000000 0 0x40000000>;
69	};
70
71	memory@140000000 {
72		device_type = "memory";
73		reg = <1 0x40000000 0 0xc0000000>;
74	};
75
76	lbsc {
77		#address-cells = <1>;
78		#size-cells = <1>;
79	};
80
81	keyboard {
82		compatible = "gpio-keys";
83
84		one {
85			linux,code = <KEY_1>;
86			label = "SW2-1";
87			wakeup-source;
88			debounce-interval = <20>;
89			gpios = <&gpio1 14 GPIO_ACTIVE_LOW>;
90		};
91		two {
92			linux,code = <KEY_2>;
93			label = "SW2-2";
94			wakeup-source;
95			debounce-interval = <20>;
96			gpios = <&gpio1 24 GPIO_ACTIVE_LOW>;
97		};
98		three {
99			linux,code = <KEY_3>;
100			label = "SW2-3";
101			wakeup-source;
102			debounce-interval = <20>;
103			gpios = <&gpio1 26 GPIO_ACTIVE_LOW>;
104		};
105		four {
106			linux,code = <KEY_4>;
107			label = "SW2-4";
108			wakeup-source;
109			debounce-interval = <20>;
110			gpios = <&gpio1 28 GPIO_ACTIVE_LOW>;
111		};
112	};
113
114	leds {
115		compatible = "gpio-leds";
116		led6 {
117			gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>;
118		};
119		led7 {
120			gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>;
121		};
122		led8 {
123			gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>;
124		};
125	};
126
127	fixedregulator3v3: regulator-3v3 {
128		compatible = "regulator-fixed";
129		regulator-name = "fixed-3.3V";
130		regulator-min-microvolt = <3300000>;
131		regulator-max-microvolt = <3300000>;
132		regulator-boot-on;
133		regulator-always-on;
134	};
135
136	vcc_sdhi0: regulator-vcc-sdhi0 {
137		compatible = "regulator-fixed";
138
139		regulator-name = "SDHI0 Vcc";
140		regulator-min-microvolt = <3300000>;
141		regulator-max-microvolt = <3300000>;
142
143		gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>;
144		enable-active-high;
145	};
146
147	vccq_sdhi0: regulator-vccq-sdhi0 {
148		compatible = "regulator-gpio";
149
150		regulator-name = "SDHI0 VccQ";
151		regulator-min-microvolt = <1800000>;
152		regulator-max-microvolt = <3300000>;
153
154		gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>;
155		gpios-states = <1>;
156		states = <3300000 1>, <1800000 0>;
157	};
158
159	vcc_sdhi2: regulator-vcc-sdhi2 {
160		compatible = "regulator-fixed";
161
162		regulator-name = "SDHI2 Vcc";
163		regulator-min-microvolt = <3300000>;
164		regulator-max-microvolt = <3300000>;
165
166		gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>;
167		enable-active-high;
168	};
169
170	vccq_sdhi2: regulator-vccq-sdhi2 {
171		compatible = "regulator-gpio";
172
173		regulator-name = "SDHI2 VccQ";
174		regulator-min-microvolt = <1800000>;
175		regulator-max-microvolt = <3300000>;
176
177		gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>;
178		gpios-states = <1>;
179		states = <3300000 1>, <1800000 0>;
180	};
181
182	audio_clock: audio_clock {
183		compatible = "fixed-clock";
184		#clock-cells = <0>;
185		clock-frequency = <11289600>;
186	};
187
188	rsnd_ak4643: sound {
189		compatible = "simple-audio-card";
190
191		simple-audio-card,format = "left_j";
192		simple-audio-card,bitclock-master = <&sndcodec>;
193		simple-audio-card,frame-master = <&sndcodec>;
194
195		sndcpu: simple-audio-card,cpu {
196			sound-dai = <&rcar_sound>;
197		};
198
199		sndcodec: simple-audio-card,codec {
200			sound-dai = <&ak4643>;
201			clocks = <&audio_clock>;
202		};
203	};
204
205	vga-encoder {
206		compatible = "adi,adv7123";
207
208		ports {
209			#address-cells = <1>;
210			#size-cells = <0>;
211
212			port@0 {
213				reg = <0>;
214				adv7123_in: endpoint {
215					remote-endpoint = <&du_out_rgb>;
216				};
217			};
218			port@1 {
219				reg = <1>;
220				adv7123_out: endpoint {
221					remote-endpoint = <&vga_in>;
222				};
223			};
224		};
225	};
226
227	vga {
228		compatible = "vga-connector";
229
230		port {
231			vga_in: endpoint {
232				remote-endpoint = <&adv7123_out>;
233			};
234		};
235	};
236
237	hdmi-in {
238		compatible = "hdmi-connector";
239		type = "a";
240
241		port {
242			hdmi_con_in: endpoint {
243				remote-endpoint = <&adv7612_in>;
244			};
245		};
246	};
247
248	cec_clock: cec-clock {
249		compatible = "fixed-clock";
250		#clock-cells = <0>;
251		clock-frequency = <12000000>;
252	};
253
254	hdmi-out {
255		compatible = "hdmi-connector";
256		type = "a";
257
258		port {
259			hdmi_con_out: endpoint {
260				remote-endpoint = <&adv7511_out>;
261			};
262		};
263	};
264
265	x2_clk: x2-clock {
266		compatible = "fixed-clock";
267		#clock-cells = <0>;
268		clock-frequency = <148500000>;
269	};
270
271	x13_clk: x13-clock {
272		compatible = "fixed-clock";
273		#clock-cells = <0>;
274		clock-frequency = <148500000>;
275	};
276
277	gpioi2c1: i2c-8 {
278		#address-cells = <1>;
279		#size-cells = <0>;
280		compatible = "i2c-gpio";
281		status = "disabled";
282		scl-gpios = <&gpio1 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
283		sda-gpios = <&gpio1 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
284		i2c-gpio,delay-us = <5>;
285	};
286
287	gpioi2c2: i2c-9 {
288		#address-cells = <1>;
289		#size-cells = <0>;
290		compatible = "i2c-gpio";
291		status = "disabled";
292		scl-gpios = <&gpio5 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
293		sda-gpios = <&gpio5 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
294		i2c-gpio,delay-us = <5>;
295	};
296
297	/*
298	 * IIC0/I2C0 is routed to EXIO connector A, pins 114 (SCL) + 116 (SDA) only.
299	 * We use the I2C demuxer, so the desired IP core can be selected at runtime
300	 * depending on the use case (e.g. DMA with IIC0 or slave support with I2C0).
301	 * Note: For testing the I2C slave feature, it is convenient to connect this
302	 * bus with IIC3 on pins 110 (SCL) + 112 (SDA), select I2C0 at runtime, and
303	 * instantiate the slave device at runtime according to the documentation.
304	 * You can then communicate with the slave via IIC3.
305	 *
306	 * IIC0/I2C0 does not appear to support fallback to GPIO.
307	 */
308	i2cexio0: i2c-10 {
309		compatible = "i2c-demux-pinctrl";
310		i2c-parent = <&iic0>, <&i2c0>;
311		i2c-bus-name = "i2c-exio0";
312		#address-cells = <1>;
313		#size-cells = <0>;
314	};
315
316	/*
317	 * IIC1/I2C1 is routed to EXIO connector A, pins 78 (SCL) + 80 (SDA).
318	 * This is similar to the arangement described for i2cexio0 (above)
319	 * with a fallback to GPIO also provided.
320	 */
321	i2cexio1: i2c-11 {
322		compatible = "i2c-demux-pinctrl";
323		i2c-parent = <&iic1>, <&i2c1>, <&gpioi2c1>;
324		i2c-bus-name = "i2c-exio1";
325		#address-cells = <1>;
326		#size-cells = <0>;
327	};
328
329	/*
330	 * IIC2 and I2C2 may be switched using pinmux.
331	 * A fallback to GPIO is also provided.
332	 */
333	i2chdmi: i2c-12 {
334		compatible = "i2c-demux-pinctrl";
335		i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>;
336		i2c-bus-name = "i2c-hdmi";
337		#address-cells = <1>;
338		#size-cells = <0>;
339
340		ak4643: codec@12 {
341			compatible = "asahi-kasei,ak4643";
342			#sound-dai-cells = <0>;
343			reg = <0x12>;
344		};
345
346		composite-in@20 {
347			compatible = "adi,adv7180";
348			reg = <0x20>;
349
350			port {
351				adv7180: endpoint {
352					bus-width = <8>;
353					remote-endpoint = <&vin1ep0>;
354				};
355			};
356		};
357
358		hdmi@39 {
359			compatible = "adi,adv7511w";
360			reg = <0x39>;
361			interrupt-parent = <&gpio1>;
362			interrupts = <15 IRQ_TYPE_LEVEL_LOW>;
363			clocks = <&cec_clock>;
364			clock-names = "cec";
365
366			adi,input-depth = <8>;
367			adi,input-colorspace = "rgb";
368			adi,input-clock = "1x";
369
370			ports {
371				#address-cells = <1>;
372				#size-cells = <0>;
373
374				port@0 {
375					reg = <0>;
376					adv7511_in: endpoint {
377						remote-endpoint = <&lvds0_out>;
378					};
379				};
380
381				port@1 {
382					reg = <1>;
383					adv7511_out: endpoint {
384						remote-endpoint = <&hdmi_con_out>;
385					};
386				};
387			};
388		};
389
390		hdmi-in@4c {
391			compatible = "adi,adv7612";
392			reg = <0x4c>;
393			interrupt-parent = <&gpio1>;
394			interrupts = <20 IRQ_TYPE_LEVEL_LOW>;
395			default-input = <0>;
396
397			ports {
398				#address-cells = <1>;
399				#size-cells = <0>;
400
401				port@0 {
402					reg = <0>;
403					adv7612_in: endpoint {
404						remote-endpoint = <&hdmi_con_in>;
405					};
406				};
407
408				port@2 {
409					reg = <2>;
410					adv7612_out: endpoint {
411						remote-endpoint = <&vin0ep2>;
412					};
413				};
414			};
415		};
416	};
417
418	/*
419	 * IIC3 and I2C3 may be switched using pinmux.
420	 * IIC3/I2C3 does not appear to support fallback to GPIO.
421	 */
422	i2cpwr: i2c-13 {
423		compatible = "i2c-demux-pinctrl";
424		pinctrl-names = "default";
425		pinctrl-0 = <&pmic_irq_pins>;
426		i2c-parent = <&iic3>, <&i2c3>;
427		i2c-bus-name = "i2c-pwr";
428		#address-cells = <1>;
429		#size-cells = <0>;
430
431		pmic@58 {
432			compatible = "dlg,da9063";
433			reg = <0x58>;
434			interrupt-parent = <&irqc0>;
435			interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
436			interrupt-controller;
437
438			rtc {
439				compatible = "dlg,da9063-rtc";
440			};
441
442			wdt {
443				compatible = "dlg,da9063-watchdog";
444			};
445		};
446
447		vdd_dvfs: regulator@68 {
448			compatible = "dlg,da9210";
449			reg = <0x68>;
450			interrupt-parent = <&irqc0>;
451			interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
452
453			regulator-min-microvolt = <1000000>;
454			regulator-max-microvolt = <1000000>;
455			regulator-boot-on;
456			regulator-always-on;
457		};
458	};
459};
460
461&du {
462	pinctrl-0 = <&du_pins>;
463	pinctrl-names = "default";
464	status = "okay";
465
466	clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
467		 <&x13_clk>, <&x2_clk>;
468	clock-names = "du.0", "du.1", "du.2", "dclkin.0", "dclkin.1";
469
470	ports {
471		port@0 {
472			endpoint {
473				remote-endpoint = <&adv7123_in>;
474			};
475		};
476	};
477};
478
479&lvds0 {
480	status = "okay";
481
482	ports {
483		port@1 {
484			endpoint {
485				remote-endpoint = <&adv7511_in>;
486			};
487		};
488	};
489};
490
491&lvds1 {
492	ports {
493		port@1 {
494			lvds_connector: endpoint {
495			};
496		};
497	};
498};
499
500&extal_clk {
501	clock-frequency = <20000000>;
502};
503
504&pfc {
505	pinctrl-0 = <&scif_clk_pins>;
506	pinctrl-names = "default";
507
508	du_pins: du {
509		groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
510		function = "du";
511	};
512
513	scif0_pins: scif0 {
514		groups = "scif0_data";
515		function = "scif0";
516	};
517
518	scif_clk_pins: scif_clk {
519		groups = "scif_clk";
520		function = "scif_clk";
521	};
522
523	ether_pins: ether {
524		groups = "eth_link", "eth_mdio", "eth_rmii";
525		function = "eth";
526	};
527
528	phy1_pins: phy1 {
529		groups = "intc_irq0";
530		function = "intc";
531	};
532
533	scifa1_pins: scifa1 {
534		groups = "scifa1_data";
535		function = "scifa1";
536	};
537
538	sdhi0_pins: sd0 {
539		groups = "sdhi0_data4", "sdhi0_ctrl";
540		function = "sdhi0";
541		power-source = <3300>;
542	};
543
544	sdhi0_pins_uhs: sd0_uhs {
545		groups = "sdhi0_data4", "sdhi0_ctrl";
546		function = "sdhi0";
547		power-source = <1800>;
548	};
549
550	sdhi2_pins: sd2 {
551		groups = "sdhi2_data4", "sdhi2_ctrl";
552		function = "sdhi2";
553		power-source = <3300>;
554	};
555
556	sdhi2_pins_uhs: sd2_uhs {
557		groups = "sdhi2_data4", "sdhi2_ctrl";
558		function = "sdhi2";
559		power-source = <1800>;
560	};
561
562	mmc1_pins: mmc1 {
563		groups = "mmc1_data8", "mmc1_ctrl";
564		function = "mmc1";
565	};
566
567	qspi_pins: qspi {
568		groups = "qspi_ctrl", "qspi_data4";
569		function = "qspi";
570	};
571
572	msiof1_pins: msiof1 {
573		groups = "msiof1_clk", "msiof1_sync", "msiof1_rx",
574				 "msiof1_tx";
575		function = "msiof1";
576	};
577
578	i2c0_pins: i2c0 {
579		groups = "i2c0";
580		function = "i2c0";
581	};
582
583	iic0_pins: iic0 {
584		groups = "iic0";
585		function = "iic0";
586	};
587
588	i2c1_pins: i2c1 {
589		groups = "i2c1";
590		function = "i2c1";
591	};
592
593	iic1_pins: iic1 {
594		groups = "iic1";
595		function = "iic1";
596	};
597
598	i2c2_pins: i2c2 {
599		groups = "i2c2";
600		function = "i2c2";
601	};
602
603	iic2_pins: iic2 {
604		groups = "iic2";
605		function = "iic2";
606	};
607
608	i2c3_pins: i2c3 {
609		groups = "i2c3";
610		function = "i2c3";
611	};
612
613	iic3_pins: iic3 {
614		groups = "iic3";
615		function = "iic3";
616	};
617
618	pmic_irq_pins: pmicirq {
619		groups = "intc_irq2";
620		function = "intc";
621	};
622
623	hsusb_pins: hsusb {
624		groups = "usb0_ovc_vbus";
625		function = "usb0";
626	};
627
628	usb0_pins: usb0 {
629		groups = "usb0";
630		function = "usb0";
631	};
632
633	usb1_pins: usb1 {
634		groups = "usb1";
635		function = "usb1";
636	};
637
638	usb2_pins: usb2 {
639		groups = "usb2";
640		function = "usb2";
641	};
642
643	vin0_pins: vin0 {
644		groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
645		function = "vin0";
646	};
647
648	vin1_pins: vin1 {
649		groups = "vin1_data8", "vin1_clk";
650		function = "vin1";
651	};
652
653	sound_pins: sound {
654		groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
655		function = "ssi";
656	};
657
658	sound_clk_pins: sound_clk {
659		groups = "audio_clk_a";
660		function = "audio_clk";
661	};
662};
663
664&ether {
665	pinctrl-0 = <&ether_pins &phy1_pins>;
666	pinctrl-names = "default";
667
668	phy-handle = <&phy1>;
669	renesas,ether-link-active-low;
670	status = "okay";
671
672	phy1: ethernet-phy@1 {
673		reg = <1>;
674		interrupt-parent = <&irqc0>;
675		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
676		micrel,led-mode = <1>;
677		reset-gpios = <&gpio5 31 GPIO_ACTIVE_LOW>;
678	};
679};
680
681&cmt0 {
682	status = "okay";
683};
684
685&mmcif1 {
686	pinctrl-0 = <&mmc1_pins>;
687	pinctrl-names = "default";
688
689	vmmc-supply = <&fixedregulator3v3>;
690	bus-width = <8>;
691	non-removable;
692	status = "okay";
693};
694
695&sata1 {
696	status = "okay";
697};
698
699&qspi {
700	pinctrl-0 = <&qspi_pins>;
701	pinctrl-names = "default";
702
703	status = "okay";
704
705	flash: flash@0 {
706		compatible = "spansion,s25fl512s", "jedec,spi-nor";
707		reg = <0>;
708		spi-max-frequency = <30000000>;
709		spi-tx-bus-width = <4>;
710		spi-rx-bus-width = <4>;
711		spi-cpha;
712		spi-cpol;
713		m25p,fast-read;
714
715		partitions {
716			compatible = "fixed-partitions";
717			#address-cells = <1>;
718			#size-cells = <1>;
719
720			partition@0 {
721				label = "loader";
722				reg = <0x00000000 0x00040000>;
723				read-only;
724			};
725			partition@40000 {
726				label = "user";
727				reg = <0x00040000 0x00400000>;
728				read-only;
729			};
730			partition@440000 {
731				label = "flash";
732				reg = <0x00440000 0x03bc0000>;
733			};
734		};
735	};
736};
737
738&scif0 {
739	pinctrl-0 = <&scif0_pins>;
740	pinctrl-names = "default";
741
742	status = "okay";
743};
744
745&scifa1 {
746	pinctrl-0 = <&scifa1_pins>;
747	pinctrl-names = "default";
748
749	status = "okay";
750};
751
752&scif_clk {
753	clock-frequency = <14745600>;
754};
755
756&msiof1 {
757	pinctrl-0 = <&msiof1_pins>;
758	pinctrl-names = "default";
759
760	status = "okay";
761
762	pmic: pmic@0 {
763		compatible = "renesas,r2a11302ft";
764		reg = <0>;
765		spi-max-frequency = <6000000>;
766		spi-cpol;
767		spi-cpha;
768	};
769};
770
771&sdhi0 {
772	pinctrl-0 = <&sdhi0_pins>;
773	pinctrl-1 = <&sdhi0_pins_uhs>;
774	pinctrl-names = "default", "state_uhs";
775
776	vmmc-supply = <&vcc_sdhi0>;
777	vqmmc-supply = <&vccq_sdhi0>;
778	cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
779	sd-uhs-sdr50;
780	sd-uhs-sdr104;
781	status = "okay";
782};
783
784&sdhi2 {
785	pinctrl-0 = <&sdhi2_pins>;
786	pinctrl-1 = <&sdhi2_pins_uhs>;
787	pinctrl-names = "default", "state_uhs";
788
789	vmmc-supply = <&vcc_sdhi2>;
790	vqmmc-supply = <&vccq_sdhi2>;
791	cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
792	sd-uhs-sdr50;
793	status = "okay";
794};
795
796&cpu0 {
797	cpu0-supply = <&vdd_dvfs>;
798};
799
800&i2c0	{
801	pinctrl-0 = <&i2c0_pins>;
802	pinctrl-names = "i2c-exio0";
803};
804
805&iic0	{
806	pinctrl-0 = <&iic0_pins>;
807	pinctrl-names = "i2c-exio0";
808};
809
810&i2c1	{
811	pinctrl-0 = <&i2c1_pins>;
812	pinctrl-names = "i2c-exio1";
813};
814
815&iic1	{
816	pinctrl-0 = <&iic1_pins>;
817	pinctrl-names = "i2c-exio1";
818};
819
820&i2c2	{
821	pinctrl-0 = <&i2c2_pins>;
822	pinctrl-names = "i2c-hdmi";
823
824	clock-frequency = <100000>;
825};
826
827&iic2	{
828	pinctrl-0 = <&iic2_pins>;
829	pinctrl-names = "i2c-hdmi";
830
831	clock-frequency = <100000>;
832};
833
834&i2c3	{
835	pinctrl-0 = <&i2c3_pins>;
836	pinctrl-names = "i2c-pwr";
837};
838
839&iic3	{
840	pinctrl-0 = <&iic3_pins>;
841	pinctrl-names = "i2c-pwr";
842};
843
844&pci0 {
845	status = "okay";
846	pinctrl-0 = <&usb0_pins>;
847	pinctrl-names = "default";
848};
849
850&pci1 {
851	status = "okay";
852	pinctrl-0 = <&usb1_pins>;
853	pinctrl-names = "default";
854};
855
856&xhci {
857	status = "okay";
858	pinctrl-0 = <&usb2_pins>;
859	pinctrl-names = "default";
860};
861
862&pci2 {
863	status = "okay";
864	pinctrl-0 = <&usb2_pins>;
865	pinctrl-names = "default";
866};
867
868&hsusb {
869	status = "okay";
870	pinctrl-0 = <&hsusb_pins>;
871	pinctrl-names = "default";
872	renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>;
873};
874
875&usbphy {
876	status = "okay";
877};
878
879/* HDMI video input */
880&vin0 {
881	pinctrl-0 = <&vin0_pins>;
882	pinctrl-names = "default";
883
884	status = "okay";
885
886	port {
887		vin0ep2: endpoint {
888			remote-endpoint = <&adv7612_out>;
889			bus-width = <24>;
890			hsync-active = <0>;
891			vsync-active = <0>;
892			pclk-sample = <1>;
893			data-active = <1>;
894		};
895	};
896};
897
898/* composite video input */
899&vin1 {
900	pinctrl-0 = <&vin1_pins>;
901	pinctrl-names = "default";
902
903	status = "okay";
904
905	port {
906		vin1ep0: endpoint {
907			remote-endpoint = <&adv7180>;
908			bus-width = <8>;
909		};
910	};
911};
912
913&rcar_sound {
914	pinctrl-0 = <&sound_pins &sound_clk_pins>;
915	pinctrl-names = "default";
916
917	/* Single DAI */
918	#sound-dai-cells = <0>;
919
920	status = "okay";
921
922	rcar_sound,dai {
923		dai0 {
924			playback = <&ssi0 &src2 &dvc0>;
925			capture  = <&ssi1 &src3 &dvc1>;
926		};
927	};
928};
929
930&rwdt {
931	timeout-sec = <60>;
932	status = "okay";
933};
934
935&ssi1 {
936	shared-pin;
937};
938