xref: /linux/arch/arm/boot/dts/renesas/r8a7791-koelsch.dts (revision 3df692169e8486fc3dd91fcd5ea81c27a0bac033)
1// SPDX-License-Identifier: GPL-2.0
2/*
3 * Device Tree Source for the Koelsch board
4 *
5 * Copyright (C) 2013 Renesas Electronics Corporation
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
7 * Copyright (C) 2014 Cogent Embedded, Inc.
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 "r8a7791.dtsi"
40#include <dt-bindings/gpio/gpio.h>
41#include <dt-bindings/input/input.h>
42
43/ {
44	model = "Koelsch";
45	compatible = "renesas,koelsch", "renesas,r8a7791";
46
47	aliases {
48		serial0 = &scif0;
49		serial1 = &scif1;
50		i2c9 = &gpioi2c1;
51		i2c10 = &gpioi2c2;
52		i2c11 = &gpioi2c4;
53		i2c12 = &i2cexio1;
54		i2c13 = &i2chdmi;
55		i2c14 = &i2cexio4;
56		mmc0 = &sdhi0;
57		mmc1 = &sdhi1;
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@200000000 {
72		device_type = "memory";
73		reg = <2 0x00000000 0 0x40000000>;
74	};
75
76	keyboard {
77		compatible = "gpio-keys";
78
79		pinctrl-0 = <&keyboard_pins>;
80		pinctrl-names = "default";
81
82		key-1 {
83			gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
84			linux,code = <KEY_1>;
85			label = "SW2-1";
86			wakeup-source;
87			debounce-interval = <20>;
88		};
89		key-2 {
90			gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
91			linux,code = <KEY_2>;
92			label = "SW2-2";
93			wakeup-source;
94			debounce-interval = <20>;
95		};
96		key-3 {
97			gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
98			linux,code = <KEY_3>;
99			label = "SW2-3";
100			wakeup-source;
101			debounce-interval = <20>;
102		};
103		key-4 {
104			gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
105			linux,code = <KEY_4>;
106			label = "SW2-4";
107			wakeup-source;
108			debounce-interval = <20>;
109		};
110		key-a {
111			gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
112			linux,code = <KEY_A>;
113			label = "SW30";
114			wakeup-source;
115			debounce-interval = <20>;
116		};
117		key-b {
118			gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
119			linux,code = <KEY_B>;
120			label = "SW31";
121			wakeup-source;
122			debounce-interval = <20>;
123		};
124		key-c {
125			gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
126			linux,code = <KEY_C>;
127			label = "SW32";
128			wakeup-source;
129			debounce-interval = <20>;
130		};
131		key-d {
132			gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
133			linux,code = <KEY_D>;
134			label = "SW33";
135			wakeup-source;
136			debounce-interval = <20>;
137		};
138		key-e {
139			gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
140			linux,code = <KEY_E>;
141			label = "SW34";
142			wakeup-source;
143			debounce-interval = <20>;
144		};
145		key-f {
146			gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
147			linux,code = <KEY_F>;
148			label = "SW35";
149			wakeup-source;
150			debounce-interval = <20>;
151		};
152		key-g {
153			gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
154			linux,code = <KEY_G>;
155			label = "SW36";
156			wakeup-source;
157			debounce-interval = <20>;
158		};
159	};
160
161	leds {
162		compatible = "gpio-leds";
163		led6 {
164			gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
165			label = "LED6";
166		};
167		led7 {
168			gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
169			label = "LED7";
170		};
171		led8 {
172			gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
173			label = "LED8";
174		};
175	};
176
177	vcc_sdhi0: regulator-vcc-sdhi0 {
178		compatible = "regulator-fixed";
179
180		regulator-name = "SDHI0 Vcc";
181		regulator-min-microvolt = <3300000>;
182		regulator-max-microvolt = <3300000>;
183
184		gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
185		enable-active-high;
186	};
187
188	vccq_sdhi0: regulator-vccq-sdhi0 {
189		compatible = "regulator-gpio";
190
191		regulator-name = "SDHI0 VccQ";
192		regulator-min-microvolt = <1800000>;
193		regulator-max-microvolt = <3300000>;
194
195		gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
196		gpios-states = <1>;
197		states = <3300000 1>, <1800000 0>;
198	};
199
200	vcc_sdhi1: regulator-vcc-sdhi1 {
201		compatible = "regulator-fixed";
202
203		regulator-name = "SDHI1 Vcc";
204		regulator-min-microvolt = <3300000>;
205		regulator-max-microvolt = <3300000>;
206
207		gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
208		enable-active-high;
209	};
210
211	vccq_sdhi1: regulator-vccq-sdhi1 {
212		compatible = "regulator-gpio";
213
214		regulator-name = "SDHI1 VccQ";
215		regulator-min-microvolt = <1800000>;
216		regulator-max-microvolt = <3300000>;
217
218		gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
219		gpios-states = <1>;
220		states = <3300000 1>, <1800000 0>;
221	};
222
223	vcc_sdhi2: regulator-vcc-sdhi2 {
224		compatible = "regulator-fixed";
225
226		regulator-name = "SDHI2 Vcc";
227		regulator-min-microvolt = <3300000>;
228		regulator-max-microvolt = <3300000>;
229
230		gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
231		enable-active-high;
232	};
233
234	vccq_sdhi2: regulator-vccq-sdhi2 {
235		compatible = "regulator-gpio";
236
237		regulator-name = "SDHI2 VccQ";
238		regulator-min-microvolt = <1800000>;
239		regulator-max-microvolt = <3300000>;
240
241		gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
242		gpios-states = <1>;
243		states = <3300000 1>, <1800000 0>;
244	};
245
246	audio_clock: audio_clock {
247		compatible = "fixed-clock";
248		#clock-cells = <0>;
249		clock-frequency = <11289600>;
250	};
251
252	rsnd_ak4643: sound {
253		compatible = "simple-audio-card";
254
255		simple-audio-card,format = "left_j";
256		simple-audio-card,bitclock-master = <&sndcodec>;
257		simple-audio-card,frame-master = <&sndcodec>;
258
259		sndcpu: simple-audio-card,cpu {
260			sound-dai = <&rcar_sound>;
261		};
262
263		sndcodec: simple-audio-card,codec {
264			sound-dai = <&ak4643>;
265			clocks = <&audio_clock>;
266		};
267	};
268
269	hdmi-in {
270		compatible = "hdmi-connector";
271		type = "a";
272
273		port {
274			hdmi_con_in: endpoint {
275				remote-endpoint = <&adv7612_in>;
276			};
277		};
278	};
279
280	cec_clock: cec-clock {
281		compatible = "fixed-clock";
282		#clock-cells = <0>;
283		clock-frequency = <12000000>;
284	};
285
286	hdmi-out {
287		compatible = "hdmi-connector";
288		type = "a";
289
290		port {
291			hdmi_con_out: endpoint {
292				remote-endpoint = <&adv7511_out>;
293			};
294		};
295	};
296
297	x2_clk: x2-clock {
298		compatible = "fixed-clock";
299		#clock-cells = <0>;
300		clock-frequency = <74250000>;
301	};
302
303	x13_clk: x13-clock {
304		compatible = "fixed-clock";
305		#clock-cells = <0>;
306		clock-frequency = <148500000>;
307	};
308
309	gpioi2c1: i2c-9 {
310		#address-cells = <1>;
311		#size-cells = <0>;
312		compatible = "i2c-gpio";
313		status = "disabled";
314		scl-gpios = <&gpio7 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
315		sda-gpios = <&gpio7 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
316		i2c-gpio,delay-us = <5>;
317	};
318
319	gpioi2c2: i2c-10 {
320		#address-cells = <1>;
321		#size-cells = <0>;
322		compatible = "i2c-gpio";
323		status = "disabled";
324		scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
325		sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
326		i2c-gpio,delay-us = <5>;
327	};
328
329	gpioi2c4: i2c-11 {
330		#address-cells = <1>;
331		#size-cells = <0>;
332		compatible = "i2c-gpio";
333		status = "disabled";
334		scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
335		sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
336		i2c-gpio,delay-us = <5>;
337	};
338
339	/*
340	 * I2C1 is routed to EXIO connector B, pins 64 (SCL) + 66 (SDA).
341	 * A fallback to GPIO is provided.
342	 */
343	i2cexio1: i2c-12 {
344		compatible = "i2c-demux-pinctrl";
345		i2c-parent = <&i2c1>, <&gpioi2c1>;
346		i2c-bus-name = "i2c-exio1";
347		#address-cells = <1>;
348		#size-cells = <0>;
349	};
350
351	/*
352	 * A fallback to GPIO is provided for I2C2.
353	 */
354	i2chdmi: i2c-13 {
355		compatible = "i2c-demux-pinctrl";
356		i2c-parent = <&i2c2>, <&gpioi2c2>;
357		i2c-bus-name = "i2c-hdmi";
358		#address-cells = <1>;
359		#size-cells = <0>;
360
361		ak4643: codec@12 {
362			compatible = "asahi-kasei,ak4643";
363			#sound-dai-cells = <0>;
364			reg = <0x12>;
365		};
366
367		composite-in@20 {
368			compatible = "adi,adv7180";
369			reg = <0x20>;
370
371			port {
372				adv7180: endpoint {
373					bus-width = <8>;
374					remote-endpoint = <&vin1ep>;
375				};
376			};
377		};
378
379		hdmi@39 {
380			compatible = "adi,adv7511w";
381			reg = <0x39>;
382			interrupt-parent = <&gpio3>;
383			interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
384			clocks = <&cec_clock>;
385			clock-names = "cec";
386
387			adi,input-depth = <8>;
388			adi,input-colorspace = "rgb";
389			adi,input-clock = "1x";
390
391			ports {
392				#address-cells = <1>;
393				#size-cells = <0>;
394
395				port@0 {
396					reg = <0>;
397					adv7511_in: endpoint {
398						remote-endpoint = <&du_out_rgb>;
399					};
400				};
401
402				port@1 {
403					reg = <1>;
404					adv7511_out: endpoint {
405						remote-endpoint = <&hdmi_con_out>;
406					};
407				};
408			};
409		};
410
411		hdmi-in@4c {
412			compatible = "adi,adv7612";
413			reg = <0x4c>;
414			interrupt-parent = <&gpio4>;
415			interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
416			default-input = <0>;
417
418			ports {
419				#address-cells = <1>;
420				#size-cells = <0>;
421
422				port@0 {
423					reg = <0>;
424					adv7612_in: endpoint {
425						remote-endpoint = <&hdmi_con_in>;
426					};
427				};
428
429				port@2 {
430					reg = <2>;
431					adv7612_out: endpoint {
432						remote-endpoint = <&vin0ep2>;
433					};
434				};
435			};
436		};
437
438		eeprom@50 {
439			compatible = "renesas,r1ex24002", "atmel,24c02";
440			reg = <0x50>;
441			pagesize = <16>;
442		};
443	};
444
445	/*
446	 * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA).
447	 * A fallback to GPIO is provided.
448	 */
449	i2cexio4: i2c-14 {
450		compatible = "i2c-demux-pinctrl";
451		i2c-parent = <&i2c4>, <&gpioi2c4>;
452		i2c-bus-name = "i2c-exio4";
453		#address-cells = <1>;
454		#size-cells = <0>;
455	};
456};
457
458&du {
459	pinctrl-0 = <&du_pins>;
460	pinctrl-names = "default";
461	status = "okay";
462
463	clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
464		 <&x13_clk>, <&x2_clk>;
465	clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
466
467	ports {
468		port@0 {
469			endpoint {
470				remote-endpoint = <&adv7511_in>;
471			};
472		};
473	};
474};
475
476&lvds0 {
477	ports {
478		port@1 {
479			lvds_connector: endpoint {
480			};
481		};
482	};
483};
484
485&extal_clk {
486	clock-frequency = <20000000>;
487};
488
489&pfc {
490	pinctrl-0 = <&scif_clk_pins>;
491	pinctrl-names = "default";
492
493	i2c1_pins: i2c1 {
494		groups = "i2c1";
495		function = "i2c1";
496	};
497
498	i2c2_pins: i2c2 {
499		groups = "i2c2";
500		function = "i2c2";
501	};
502
503	i2c4_pins: i2c4 {
504		groups = "i2c4_c";
505		function = "i2c4";
506	};
507
508	du_pins: du {
509		groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
510		function = "du";
511	};
512
513	scif0_pins: scif0 {
514		groups = "scif0_data_d";
515		function = "scif0";
516	};
517
518	scif1_pins: scif1 {
519		groups = "scif1_data_d";
520		function = "scif1";
521	};
522
523	scif_clk_pins: scif_clk {
524		groups = "scif_clk";
525		function = "scif_clk";
526	};
527
528	ether_pins: ether {
529		groups = "eth_link", "eth_mdio", "eth_rmii";
530		function = "eth";
531	};
532
533	phy1_pins: phy1 {
534		groups = "intc_irq0";
535		function = "intc";
536	};
537
538	pmic_irq_pins: pmicirq {
539		groups = "intc_irq2";
540		function = "intc";
541	};
542
543	sdhi0_pins: sd0 {
544		groups = "sdhi0_data4", "sdhi0_ctrl";
545		function = "sdhi0";
546		power-source = <3300>;
547	};
548
549	sdhi0_pins_uhs: sd0_uhs {
550		groups = "sdhi0_data4", "sdhi0_ctrl";
551		function = "sdhi0";
552		power-source = <1800>;
553	};
554
555	sdhi1_pins: sd1 {
556		groups = "sdhi1_data4", "sdhi1_ctrl";
557		function = "sdhi1";
558		power-source = <3300>;
559	};
560
561	sdhi1_pins_uhs: sd1_uhs {
562		groups = "sdhi1_data4", "sdhi1_ctrl";
563		function = "sdhi1";
564		power-source = <1800>;
565	};
566
567	sdhi2_pins: sd2 {
568		groups = "sdhi2_data4", "sdhi2_ctrl";
569		function = "sdhi2";
570		power-source = <3300>;
571	};
572
573	sdhi2_pins_uhs: sd2_uhs {
574		groups = "sdhi2_data4", "sdhi2_ctrl";
575		function = "sdhi2";
576		power-source = <1800>;
577	};
578
579	qspi_pins: qspi {
580		groups = "qspi_ctrl", "qspi_data4";
581		function = "qspi";
582	};
583
584	msiof0_pins: msiof0 {
585		groups = "msiof0_clk", "msiof0_sync", "msiof0_rx",
586				 "msiof0_tx";
587		function = "msiof0";
588	};
589
590	usb0_pins: usb0 {
591		groups = "usb0";
592		function = "usb0";
593	};
594
595	usb1_pins: usb1 {
596		groups = "usb1";
597		function = "usb1";
598	};
599
600	vin0_pins: vin0 {
601		groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
602		function = "vin0";
603	};
604
605	vin1_pins: vin1 {
606		groups = "vin1_data8", "vin1_clk";
607		function = "vin1";
608	};
609
610	sound_pins: sound {
611		groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
612		function = "ssi";
613	};
614
615	sound_clk_pins: sound_clk {
616		groups = "audio_clk_a";
617		function = "audio_clk";
618	};
619
620	keyboard_pins: keyboard {
621		pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3";
622		bias-pull-up;
623	};
624};
625
626&ether {
627	pinctrl-0 = <&ether_pins>, <&phy1_pins>;
628	pinctrl-names = "default";
629
630	phy-handle = <&phy1>;
631	renesas,ether-link-active-low;
632	status = "okay";
633
634	phy1: ethernet-phy@1 {
635		compatible = "ethernet-phy-id0022.1537",
636			     "ethernet-phy-ieee802.3-c22";
637		reg = <1>;
638		interrupt-parent = <&irqc0>;
639		interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
640		micrel,led-mode = <1>;
641		reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
642	};
643};
644
645&cmt0 {
646	status = "okay";
647};
648
649&rwdt {
650	timeout-sec = <60>;
651	status = "okay";
652};
653
654&sata0 {
655	status = "okay";
656};
657
658&scif0 {
659	pinctrl-0 = <&scif0_pins>;
660	pinctrl-names = "default";
661
662	status = "okay";
663};
664
665&scif1 {
666	pinctrl-0 = <&scif1_pins>;
667	pinctrl-names = "default";
668
669	status = "okay";
670};
671
672&scif_clk {
673	clock-frequency = <14745600>;
674};
675
676&sdhi0 {
677	pinctrl-0 = <&sdhi0_pins>;
678	pinctrl-1 = <&sdhi0_pins_uhs>;
679	pinctrl-names = "default", "state_uhs";
680
681	vmmc-supply = <&vcc_sdhi0>;
682	vqmmc-supply = <&vccq_sdhi0>;
683	cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
684	wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
685	sd-uhs-sdr50;
686	sd-uhs-sdr104;
687	status = "okay";
688};
689
690&sdhi1 {
691	pinctrl-0 = <&sdhi1_pins>;
692	pinctrl-1 = <&sdhi1_pins_uhs>;
693	pinctrl-names = "default", "state_uhs";
694
695	vmmc-supply = <&vcc_sdhi1>;
696	vqmmc-supply = <&vccq_sdhi1>;
697	cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
698	wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
699	sd-uhs-sdr50;
700	status = "okay";
701};
702
703&sdhi2 {
704	pinctrl-0 = <&sdhi2_pins>;
705	pinctrl-1 = <&sdhi2_pins_uhs>;
706	pinctrl-names = "default", "state_uhs";
707
708	vmmc-supply = <&vcc_sdhi2>;
709	vqmmc-supply = <&vccq_sdhi2>;
710	cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
711	sd-uhs-sdr50;
712	status = "okay";
713};
714
715&qspi {
716	pinctrl-0 = <&qspi_pins>;
717	pinctrl-names = "default";
718
719	status = "okay";
720
721	flash: flash@0 {
722		compatible = "spansion,s25fl512s", "jedec,spi-nor";
723		reg = <0>;
724		spi-max-frequency = <30000000>;
725		spi-tx-bus-width = <4>;
726		spi-rx-bus-width = <4>;
727		spi-cpha;
728		spi-cpol;
729		m25p,fast-read;
730
731		partitions {
732			compatible = "fixed-partitions";
733			#address-cells = <1>;
734			#size-cells = <1>;
735
736			partition@0 {
737				label = "loader";
738				reg = <0x00000000 0x00080000>;
739				read-only;
740			};
741			partition@80000 {
742				label = "user";
743				reg = <0x00080000 0x00580000>;
744				read-only;
745			};
746			partition@600000 {
747				label = "flash";
748				reg = <0x00600000 0x03a00000>;
749			};
750		};
751	};
752};
753
754&msiof0 {
755	pinctrl-0 = <&msiof0_pins>;
756	pinctrl-names = "default";
757
758	status = "okay";
759
760	pmic: pmic@0 {
761		compatible = "renesas,r2a11302ft";
762		reg = <0>;
763		spi-max-frequency = <6000000>;
764		spi-cpol;
765		spi-cpha;
766	};
767};
768
769&i2c1 {
770	pinctrl-0 = <&i2c1_pins>;
771	pinctrl-names = "i2c-exio1";
772};
773
774&i2c2 {
775	pinctrl-0 = <&i2c2_pins>;
776	pinctrl-names = "i2c-hdmi";
777
778	clock-frequency = <100000>;
779};
780
781&i2c4 {
782	pinctrl-0 = <&i2c4_pins>;
783	pinctrl-names = "i2c-exio4";
784};
785
786&i2c6 {
787	pinctrl-names = "default";
788	pinctrl-0 = <&pmic_irq_pins>;
789	status = "okay";
790	clock-frequency = <100000>;
791
792	pmic@58 {
793		compatible = "dlg,da9063";
794		reg = <0x58>;
795		interrupt-parent = <&irqc0>;
796		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
797		interrupt-controller;
798
799		rtc {
800			compatible = "dlg,da9063-rtc";
801		};
802
803		watchdog {
804			compatible = "dlg,da9063-watchdog";
805		};
806	};
807
808	vdd_dvfs: regulator@68 {
809		compatible = "dlg,da9210";
810		reg = <0x68>;
811		interrupt-parent = <&irqc0>;
812		interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
813
814		regulator-min-microvolt = <1000000>;
815		regulator-max-microvolt = <1000000>;
816		regulator-boot-on;
817		regulator-always-on;
818	};
819};
820
821&pci0 {
822	status = "okay";
823	pinctrl-0 = <&usb0_pins>;
824	pinctrl-names = "default";
825};
826
827&pci1 {
828	status = "okay";
829	pinctrl-0 = <&usb1_pins>;
830	pinctrl-names = "default";
831};
832
833&hsusb {
834	status = "okay";
835	pinctrl-0 = <&usb0_pins>;
836	pinctrl-names = "default";
837	renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
838};
839
840&usbphy {
841	status = "okay";
842};
843
844&pcie_bus_clk {
845	clock-frequency = <100000000>;
846};
847
848&pciec {
849	status = "okay";
850};
851
852&cpu0 {
853	cpu0-supply = <&vdd_dvfs>;
854};
855
856/* HDMI video input */
857&vin0 {
858	status = "okay";
859	pinctrl-0 = <&vin0_pins>;
860	pinctrl-names = "default";
861
862	port {
863		vin0ep2: endpoint {
864			remote-endpoint = <&adv7612_out>;
865			bus-width = <24>;
866			hsync-active = <0>;
867			vsync-active = <0>;
868			pclk-sample = <1>;
869			data-active = <1>;
870		};
871	};
872};
873
874/* composite video input */
875&vin1 {
876	status = "okay";
877	pinctrl-0 = <&vin1_pins>;
878	pinctrl-names = "default";
879
880	port {
881		vin1ep: endpoint {
882			remote-endpoint = <&adv7180>;
883			bus-width = <8>;
884		};
885	};
886};
887
888&rcar_sound {
889	pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
890	pinctrl-names = "default";
891
892	/* Single DAI */
893	#sound-dai-cells = <0>;
894
895	status = "okay";
896
897	rcar_sound,dai {
898		dai0 {
899			playback = <&ssi0>, <&src2>, <&dvc0>;
900			capture  = <&ssi1>, <&src3>, <&dvc1>;
901		};
902	};
903};
904
905&ssi1 {
906	shared-pin;
907};
908