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