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