Debian Codegraph @

arch/arm/boot/dts/renesas/r8a7791-koelsch.dts

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