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