Loading...
Note: File does not exist in v5.14.15.
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 key-1 {
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 key-2 {
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 key-3 {
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 key-4 {
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 interrupts-extended = <&gpio1 15 IRQ_TYPE_LEVEL_LOW>;
369 clocks = <&cec_clock>;
370 clock-names = "cec";
371
372 avdd-supply = <&fixedregulator1v8>;
373 dvdd-supply = <&fixedregulator1v8>;
374 pvdd-supply = <&fixedregulator1v8>;
375 dvdd-3v-supply = <&fixedregulator3v3>;
376 bgvdd-supply = <&fixedregulator1v8>;
377
378 adi,input-depth = <8>;
379 adi,input-colorspace = "rgb";
380 adi,input-clock = "1x";
381
382 ports {
383 #address-cells = <1>;
384 #size-cells = <0>;
385
386 port@0 {
387 reg = <0>;
388 adv7511_in: endpoint {
389 remote-endpoint = <&lvds0_out>;
390 };
391 };
392
393 port@1 {
394 reg = <1>;
395 adv7511_out: endpoint {
396 remote-endpoint = <&hdmi_con_out>;
397 };
398 };
399 };
400 };
401
402 hdmi-in@4c {
403 compatible = "adi,adv7612";
404 reg = <0x4c>;
405 interrupts-extended = <&gpio1 20 IRQ_TYPE_LEVEL_LOW>;
406 default-input = <0>;
407
408 ports {
409 #address-cells = <1>;
410 #size-cells = <0>;
411
412 port@0 {
413 reg = <0>;
414 adv7612_in: endpoint {
415 remote-endpoint = <&hdmi_con_in>;
416 };
417 };
418
419 port@2 {
420 reg = <2>;
421 adv7612_out: endpoint {
422 remote-endpoint = <&vin0ep2>;
423 };
424 };
425 };
426 };
427 };
428
429 /*
430 * IIC3 and I2C3 may be switched using pinmux.
431 * IIC3/I2C3 does not appear to support fallback to GPIO.
432 */
433 i2cpwr: i2c-mux4 {
434 compatible = "i2c-demux-pinctrl";
435 pinctrl-names = "default";
436 pinctrl-0 = <&pmic_irq_pins>;
437 i2c-parent = <&iic3>, <&i2c3>;
438 i2c-bus-name = "i2c-pwr";
439 #address-cells = <1>;
440 #size-cells = <0>;
441
442 pmic@58 {
443 compatible = "dlg,da9063";
444 reg = <0x58>;
445 interrupts-extended = <&irqc0 2 IRQ_TYPE_LEVEL_LOW>;
446 interrupt-controller;
447 #interrupt-cells = <2>;
448
449 rtc {
450 compatible = "dlg,da9063-rtc";
451 };
452
453 watchdog {
454 compatible = "dlg,da9063-watchdog";
455 };
456 };
457
458 vdd_dvfs: regulator@68 {
459 compatible = "dlg,da9210";
460 reg = <0x68>;
461 interrupts-extended = <&irqc0 2 IRQ_TYPE_LEVEL_LOW>;
462
463 regulator-min-microvolt = <1000000>;
464 regulator-max-microvolt = <1000000>;
465 regulator-boot-on;
466 regulator-always-on;
467 };
468 };
469};
470
471&du {
472 pinctrl-0 = <&du_pins>;
473 pinctrl-names = "default";
474 status = "okay";
475
476 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>,
477 <&x13_clk>, <&x2_clk>;
478 clock-names = "du.0", "du.1", "du.2", "dclkin.0", "dclkin.1";
479
480 ports {
481 port@0 {
482 endpoint {
483 remote-endpoint = <&adv7123_in>;
484 };
485 };
486 };
487};
488
489&lvds0 {
490 status = "okay";
491
492 ports {
493 port@1 {
494 endpoint {
495 remote-endpoint = <&adv7511_in>;
496 };
497 };
498 };
499};
500
501&lvds1 {
502 ports {
503 port@1 {
504 lvds_connector: endpoint {
505 };
506 };
507 };
508};
509
510&extal_clk {
511 clock-frequency = <20000000>;
512};
513
514&pfc {
515 pinctrl-0 = <&scif_clk_pins>;
516 pinctrl-names = "default";
517
518 du_pins: du {
519 groups = "du_rgb666", "du_sync_1", "du_clk_out_0";
520 function = "du";
521 };
522
523 scif0_pins: scif0 {
524 groups = "scif0_data";
525 function = "scif0";
526 };
527
528 scif_clk_pins: scif_clk {
529 groups = "scif_clk";
530 function = "scif_clk";
531 };
532
533 ether_pins: ether {
534 groups = "eth_link", "eth_mdio", "eth_rmii";
535 function = "eth";
536 };
537
538 phy1_pins: phy1 {
539 groups = "intc_irq0";
540 function = "intc";
541 };
542
543 scifa1_pins: scifa1 {
544 groups = "scifa1_data";
545 function = "scifa1";
546 };
547
548 sdhi0_pins: sd0 {
549 groups = "sdhi0_data4", "sdhi0_ctrl";
550 function = "sdhi0";
551 power-source = <3300>;
552 };
553
554 sdhi0_pins_uhs: sd0_uhs {
555 groups = "sdhi0_data4", "sdhi0_ctrl";
556 function = "sdhi0";
557 power-source = <1800>;
558 };
559
560 sdhi2_pins: sd2 {
561 groups = "sdhi2_data4", "sdhi2_ctrl";
562 function = "sdhi2";
563 power-source = <3300>;
564 };
565
566 sdhi2_pins_uhs: sd2_uhs {
567 groups = "sdhi2_data4", "sdhi2_ctrl";
568 function = "sdhi2";
569 power-source = <1800>;
570 };
571
572 mmc1_pins: mmc1 {
573 groups = "mmc1_data8", "mmc1_ctrl";
574 function = "mmc1";
575 };
576
577 qspi_pins: qspi {
578 groups = "qspi_ctrl", "qspi_data4";
579 function = "qspi";
580 };
581
582 msiof1_pins: msiof1 {
583 groups = "msiof1_clk", "msiof1_sync", "msiof1_rx",
584 "msiof1_tx";
585 function = "msiof1";
586 };
587
588 i2c0_pins: i2c0 {
589 groups = "i2c0";
590 function = "i2c0";
591 };
592
593 iic0_pins: iic0 {
594 groups = "iic0";
595 function = "iic0";
596 };
597
598 i2c1_pins: i2c1 {
599 groups = "i2c1";
600 function = "i2c1";
601 };
602
603 iic1_pins: iic1 {
604 groups = "iic1";
605 function = "iic1";
606 };
607
608 i2c2_pins: i2c2 {
609 groups = "i2c2";
610 function = "i2c2";
611 };
612
613 iic2_pins: iic2 {
614 groups = "iic2";
615 function = "iic2";
616 };
617
618 i2c3_pins: i2c3 {
619 groups = "i2c3";
620 function = "i2c3";
621 };
622
623 iic3_pins: iic3 {
624 groups = "iic3";
625 function = "iic3";
626 };
627
628 pmic_irq_pins: pmicirq {
629 groups = "intc_irq2";
630 function = "intc";
631 };
632
633 hsusb_pins: hsusb {
634 groups = "usb0_ovc_vbus";
635 function = "usb0";
636 };
637
638 usb0_pins: usb0 {
639 groups = "usb0";
640 function = "usb0";
641 };
642
643 usb1_pins: usb1 {
644 groups = "usb1";
645 function = "usb1";
646 };
647
648 usb2_pins: usb2 {
649 groups = "usb2";
650 function = "usb2";
651 };
652
653 vin0_pins: vin0 {
654 groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
655 function = "vin0";
656 };
657
658 vin1_pins: vin1 {
659 groups = "vin1_data8", "vin1_clk";
660 function = "vin1";
661 };
662
663 sound_pins: sound {
664 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
665 function = "ssi";
666 };
667
668 sound_clk_pins: sound_clk {
669 groups = "audio_clk_a";
670 function = "audio_clk";
671 };
672
673 keyboard_pins: keyboard {
674 pins = "GP_1_14", "GP_1_24", "GP_1_26", "GP_1_28";
675 bias-pull-up;
676 };
677};
678
679ðer {
680 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
681 pinctrl-names = "default";
682
683 phy-handle = <&phy1>;
684 renesas,ether-link-active-low;
685 status = "okay";
686
687 phy1: ethernet-phy@1 {
688 compatible = "ethernet-phy-id0022.1537",
689 "ethernet-phy-ieee802.3-c22";
690 reg = <1>;
691 interrupts-extended = <&irqc0 0 IRQ_TYPE_LEVEL_LOW>;
692 micrel,led-mode = <1>;
693 reset-gpios = <&gpio5 31 GPIO_ACTIVE_LOW>;
694 };
695};
696
697&cmt0 {
698 status = "okay";
699};
700
701&mmcif1 {
702 pinctrl-0 = <&mmc1_pins>;
703 pinctrl-names = "default";
704
705 vmmc-supply = <&fixedregulator3v3>;
706 bus-width = <8>;
707 non-removable;
708 status = "okay";
709};
710
711&sata1 {
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 0x00040000>;
739 read-only;
740 };
741 partition@40000 {
742 label = "user";
743 reg = <0x00040000 0x00400000>;
744 read-only;
745 };
746 partition@440000 {
747 label = "flash";
748 reg = <0x00440000 0x03bc0000>;
749 };
750 };
751 };
752};
753
754&scif0 {
755 pinctrl-0 = <&scif0_pins>;
756 pinctrl-names = "default";
757
758 status = "okay";
759};
760
761&scifa1 {
762 pinctrl-0 = <&scifa1_pins>;
763 pinctrl-names = "default";
764
765 status = "okay";
766};
767
768&scif_clk {
769 clock-frequency = <14745600>;
770};
771
772&msiof1 {
773 pinctrl-0 = <&msiof1_pins>;
774 pinctrl-names = "default";
775
776 status = "okay";
777
778 pmic: pmic@0 {
779 compatible = "renesas,r2a11302ft";
780 reg = <0>;
781 spi-max-frequency = <6000000>;
782 spi-cpol;
783 spi-cpha;
784 };
785};
786
787&sdhi0 {
788 pinctrl-0 = <&sdhi0_pins>;
789 pinctrl-1 = <&sdhi0_pins_uhs>;
790 pinctrl-names = "default", "state_uhs";
791
792 vmmc-supply = <&vcc_sdhi0>;
793 vqmmc-supply = <&vccq_sdhi0>;
794 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>;
795 sd-uhs-sdr50;
796 sd-uhs-sdr104;
797 status = "okay";
798};
799
800&sdhi2 {
801 pinctrl-0 = <&sdhi2_pins>;
802 pinctrl-1 = <&sdhi2_pins_uhs>;
803 pinctrl-names = "default", "state_uhs";
804
805 vmmc-supply = <&vcc_sdhi2>;
806 vqmmc-supply = <&vccq_sdhi2>;
807 cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>;
808 sd-uhs-sdr50;
809 status = "okay";
810};
811
812&cpu0 {
813 cpu0-supply = <&vdd_dvfs>;
814};
815
816&i2c0 {
817 pinctrl-0 = <&i2c0_pins>;
818 pinctrl-names = "i2c-exio0";
819};
820
821&iic0 {
822 pinctrl-0 = <&iic0_pins>;
823 pinctrl-names = "i2c-exio0";
824};
825
826&i2c1 {
827 pinctrl-0 = <&i2c1_pins>;
828 pinctrl-names = "i2c-exio1";
829};
830
831&iic1 {
832 pinctrl-0 = <&iic1_pins>;
833 pinctrl-names = "i2c-exio1";
834};
835
836&i2c2 {
837 pinctrl-0 = <&i2c2_pins>;
838 pinctrl-names = "i2c-hdmi";
839
840 clock-frequency = <100000>;
841};
842
843&iic2 {
844 pinctrl-0 = <&iic2_pins>;
845 pinctrl-names = "i2c-hdmi";
846
847 clock-frequency = <100000>;
848};
849
850&i2c3 {
851 pinctrl-0 = <&i2c3_pins>;
852 pinctrl-names = "i2c-pwr";
853};
854
855&iic3 {
856 pinctrl-0 = <&iic3_pins>;
857 pinctrl-names = "i2c-pwr";
858};
859
860&pci0 {
861 status = "okay";
862 pinctrl-0 = <&usb0_pins>;
863 pinctrl-names = "default";
864};
865
866&pci1 {
867 status = "okay";
868 pinctrl-0 = <&usb1_pins>;
869 pinctrl-names = "default";
870};
871
872&xhci {
873 status = "okay";
874 pinctrl-0 = <&usb2_pins>;
875 pinctrl-names = "default";
876};
877
878&pci2 {
879 status = "okay";
880 pinctrl-0 = <&usb2_pins>;
881 pinctrl-names = "default";
882};
883
884&hsusb {
885 status = "okay";
886 pinctrl-0 = <&hsusb_pins>;
887 pinctrl-names = "default";
888 renesas,enable-gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
889};
890
891&usbphy {
892 status = "okay";
893};
894
895/* HDMI video input */
896&vin0 {
897 pinctrl-0 = <&vin0_pins>;
898 pinctrl-names = "default";
899
900 status = "okay";
901
902 port {
903 vin0ep2: endpoint {
904 remote-endpoint = <&adv7612_out>;
905 bus-width = <24>;
906 hsync-active = <0>;
907 vsync-active = <0>;
908 pclk-sample = <1>;
909 data-active = <1>;
910 };
911 };
912};
913
914/* composite video input */
915&vin1 {
916 pinctrl-0 = <&vin1_pins>;
917 pinctrl-names = "default";
918
919 status = "okay";
920
921 port {
922 vin1ep0: endpoint {
923 remote-endpoint = <&adv7180>;
924 bus-width = <8>;
925 };
926 };
927};
928
929&rcar_sound {
930 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
931 pinctrl-names = "default";
932
933 /* Single DAI */
934 #sound-dai-cells = <0>;
935
936 status = "okay";
937
938 rcar_sound,dai {
939 dai0 {
940 playback = <&ssi0>, <&src2>, <&dvc0>;
941 capture = <&ssi1>, <&src3>, <&dvc1>;
942 };
943 };
944};
945
946&rwdt {
947 timeout-sec = <60>;
948 status = "okay";
949};
950
951&ssi1 {
952 shared-pin;
953};