Merge tag 'soc-drivers-6.9' of git://git.kernel.org/pub/scm/linux/kernel/git/soc/soc
[linux-block.git] / arch / arm / boot / dts / renesas / r8a7793-gose.dts
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * Device Tree Source for the Gose board
4  *
5  * Copyright (C) 2014-2015 Renesas Electronics Corporation
6  */
7
8 /*
9  * SSI-AK4643
10  *
11  * SW1: 1: AK4643
12  *      2: CN22
13  *      3: ADV7511
14  *
15  * This command is required when Playback/Capture
16  *
17  *      amixer set "LINEOUT Mixer DACL" on
18  *      amixer set "DVC Out" 100%
19  *      amixer set "DVC In" 100%
20  *
21  * You can use Mute
22  *
23  *      amixer set "DVC Out Mute" on
24  *      amixer set "DVC In Mute" on
25  *
26  * You can use Volume Ramp
27  *
28  *      amixer set "DVC Out Ramp Up Rate"   "0.125 dB/64 steps"
29  *      amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
30  *      amixer set "DVC Out Ramp" on
31  *      aplay xxx.wav &
32  *      amixer set "DVC Out"  80%  // Volume Down
33  *      amixer set "DVC Out" 100%  // Volume Up
34  */
35
36 /dts-v1/;
37 #include "r8a7793.dtsi"
38 #include <dt-bindings/gpio/gpio.h>
39 #include <dt-bindings/input/input.h>
40
41 / {
42         model = "Gose";
43         compatible = "renesas,gose", "renesas,r8a7793";
44
45         aliases {
46                 serial0 = &scif0;
47                 serial1 = &scif1;
48                 i2c9 = &gpioi2c2;
49                 i2c10 = &gpioi2c4;
50                 i2c11 = &i2chdmi;
51                 i2c12 = &i2cexio4;
52                 mmc0 = &sdhi0;
53                 mmc1 = &sdhi1;
54                 mmc2 = &sdhi2;
55         };
56
57         chosen {
58                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
59                 stdout-path = "serial0:115200n8";
60         };
61
62         memory@40000000 {
63                 device_type = "memory";
64                 reg = <0 0x40000000 0 0x40000000>;
65         };
66
67         keyboard {
68                 compatible = "gpio-keys";
69
70                 pinctrl-0 = <&keyboard_pins>;
71                 pinctrl-names = "default";
72
73                 key-1 {
74                         gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
75                         linux,code = <KEY_1>;
76                         label = "SW2-1";
77                         wakeup-source;
78                         debounce-interval = <20>;
79                 };
80                 key-2 {
81                         gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
82                         linux,code = <KEY_2>;
83                         label = "SW2-2";
84                         wakeup-source;
85                         debounce-interval = <20>;
86                 };
87                 key-3 {
88                         gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
89                         linux,code = <KEY_3>;
90                         label = "SW2-3";
91                         wakeup-source;
92                         debounce-interval = <20>;
93                 };
94                 key-4 {
95                         gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
96                         linux,code = <KEY_4>;
97                         label = "SW2-4";
98                         wakeup-source;
99                         debounce-interval = <20>;
100                 };
101                 key-a {
102                         gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
103                         linux,code = <KEY_A>;
104                         label = "SW30";
105                         wakeup-source;
106                         debounce-interval = <20>;
107                 };
108                 key-b {
109                         gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
110                         linux,code = <KEY_B>;
111                         label = "SW31";
112                         wakeup-source;
113                         debounce-interval = <20>;
114                 };
115                 key-c {
116                         gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
117                         linux,code = <KEY_C>;
118                         label = "SW32";
119                         wakeup-source;
120                         debounce-interval = <20>;
121                 };
122                 key-d {
123                         gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
124                         linux,code = <KEY_D>;
125                         label = "SW33";
126                         wakeup-source;
127                         debounce-interval = <20>;
128                 };
129                 key-e {
130                         gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
131                         linux,code = <KEY_E>;
132                         label = "SW34";
133                         wakeup-source;
134                         debounce-interval = <20>;
135                 };
136                 key-f {
137                         gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
138                         linux,code = <KEY_F>;
139                         label = "SW35";
140                         wakeup-source;
141                         debounce-interval = <20>;
142                 };
143                 key-g {
144                         gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
145                         linux,code = <KEY_G>;
146                         label = "SW36";
147                         wakeup-source;
148                         debounce-interval = <20>;
149                 };
150         };
151
152         leds {
153                 compatible = "gpio-leds";
154                 led6 {
155                         gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
156                         label = "LED6";
157                 };
158                 led7 {
159                         gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
160                         label = "LED7";
161                 };
162                 led8 {
163                         gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
164                         label = "LED8";
165                 };
166         };
167
168         reg_1p8v: regulator-1v8 {
169                 compatible = "regulator-fixed";
170                 regulator-name = "fixed-1.8V";
171                 regulator-min-microvolt = <1800000>;
172                 regulator-max-microvolt = <1800000>;
173                 regulator-boot-on;
174                 regulator-always-on;
175         };
176
177         reg_3p3v: regulator-3v3 {
178                 compatible = "regulator-fixed";
179                 regulator-name = "fixed-3.3V";
180                 regulator-min-microvolt = <3300000>;
181                 regulator-max-microvolt = <3300000>;
182                 regulator-boot-on;
183                 regulator-always-on;
184         };
185
186         vcc_sdhi0: regulator-vcc-sdhi0 {
187                 compatible = "regulator-fixed";
188
189                 regulator-name = "SDHI0 Vcc";
190                 regulator-min-microvolt = <3300000>;
191                 regulator-max-microvolt = <3300000>;
192
193                 gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
194                 enable-active-high;
195         };
196
197         vccq_sdhi0: regulator-vccq-sdhi0 {
198                 compatible = "regulator-gpio";
199
200                 regulator-name = "SDHI0 VccQ";
201                 regulator-min-microvolt = <1800000>;
202                 regulator-max-microvolt = <3300000>;
203
204                 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
205                 gpios-states = <1>;
206                 states = <3300000 1>, <1800000 0>;
207         };
208
209         vcc_sdhi1: regulator-vcc-sdhi1 {
210                 compatible = "regulator-fixed";
211
212                 regulator-name = "SDHI1 Vcc";
213                 regulator-min-microvolt = <3300000>;
214                 regulator-max-microvolt = <3300000>;
215
216                 gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
217                 enable-active-high;
218         };
219
220         vccq_sdhi1: regulator-vccq-sdhi1 {
221                 compatible = "regulator-gpio";
222
223                 regulator-name = "SDHI1 VccQ";
224                 regulator-min-microvolt = <1800000>;
225                 regulator-max-microvolt = <3300000>;
226
227                 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
228                 gpios-states = <1>;
229                 states = <3300000 1>, <1800000 0>;
230         };
231
232         vcc_sdhi2: regulator-vcc-sdhi2 {
233                 compatible = "regulator-fixed";
234
235                 regulator-name = "SDHI2 Vcc";
236                 regulator-min-microvolt = <3300000>;
237                 regulator-max-microvolt = <3300000>;
238
239                 gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
240                 enable-active-high;
241         };
242
243         vccq_sdhi2: regulator-vccq-sdhi2 {
244                 compatible = "regulator-gpio";
245
246                 regulator-name = "SDHI2 VccQ";
247                 regulator-min-microvolt = <1800000>;
248                 regulator-max-microvolt = <3300000>;
249
250                 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
251                 gpios-states = <1>;
252                 states = <3300000 1>, <1800000 0>;
253         };
254
255         audio_clock: audio_clock {
256                 compatible = "fixed-clock";
257                 #clock-cells = <0>;
258                 clock-frequency = <11289600>;
259         };
260
261         rsnd_ak4643: sound {
262                 compatible = "simple-audio-card";
263
264                 simple-audio-card,format = "left_j";
265                 simple-audio-card,bitclock-master = <&sndcodec>;
266                 simple-audio-card,frame-master = <&sndcodec>;
267
268                 sndcpu: simple-audio-card,cpu {
269                         sound-dai = <&rcar_sound>;
270                 };
271
272                 sndcodec: simple-audio-card,codec {
273                         sound-dai = <&ak4643>;
274                         clocks = <&audio_clock>;
275                 };
276         };
277
278         hdmi-in {
279                 compatible = "hdmi-connector";
280                 type = "a";
281
282                 port {
283                         hdmi_con_in: endpoint {
284                                 remote-endpoint = <&adv7612_in>;
285                         };
286                 };
287         };
288
289         hdmi-out {
290                 compatible = "hdmi-connector";
291                 type = "a";
292
293                 port {
294                         hdmi_con_out: endpoint {
295                                 remote-endpoint = <&adv7511_out>;
296                         };
297                 };
298         };
299
300         composite-in {
301                 compatible = "composite-video-connector";
302
303                 port {
304                         composite_con_in: endpoint {
305                                 remote-endpoint = <&adv7180_in>;
306                         };
307                 };
308         };
309
310         x2_clk: x2-clock {
311                 compatible = "fixed-clock";
312                 #clock-cells = <0>;
313                 clock-frequency = <74250000>;
314         };
315
316         x13_clk: x13-clock {
317                 compatible = "fixed-clock";
318                 #clock-cells = <0>;
319                 clock-frequency = <148500000>;
320         };
321
322         gpioi2c2: i2c-9 {
323                 #address-cells = <1>;
324                 #size-cells = <0>;
325                 compatible = "i2c-gpio";
326                 status = "disabled";
327                 scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
328                 sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
329                 i2c-gpio,delay-us = <5>;
330         };
331
332         gpioi2c4: i2c-10 {
333                 #address-cells = <1>;
334                 #size-cells = <0>;
335                 compatible = "i2c-gpio";
336                 status = "disabled";
337                 scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
338                 sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
339                 i2c-gpio,delay-us = <5>;
340         };
341
342         /*
343          * A fallback to GPIO is provided for I2C2.
344          */
345         i2chdmi: i2c-mux1 {
346                 compatible = "i2c-demux-pinctrl";
347                 i2c-parent = <&i2c2>, <&gpioi2c2>;
348                 i2c-bus-name = "i2c-hdmi";
349                 #address-cells = <1>;
350                 #size-cells = <0>;
351
352                 ak4643: codec@12 {
353                         compatible = "asahi-kasei,ak4643";
354                         #sound-dai-cells = <0>;
355                         reg = <0x12>;
356                 };
357
358                 composite-in@20 {
359                         compatible = "adi,adv7180cp";
360                         reg = <0x20>;
361
362                         ports {
363                                 #address-cells = <1>;
364                                 #size-cells = <0>;
365
366                                 port@0 {
367                                         reg = <0>;
368                                         adv7180_in: endpoint {
369                                                 remote-endpoint = <&composite_con_in>;
370                                         };
371                                 };
372
373                                 port@3 {
374                                         reg = <3>;
375                                         adv7180_out: endpoint {
376                                                 bus-width = <8>;
377                                                 remote-endpoint = <&vin1ep>;
378                                         };
379                                 };
380                         };
381                 };
382
383                 hdmi@39 {
384                         compatible = "adi,adv7511w";
385                         reg = <0x39>;
386                         interrupt-parent = <&gpio3>;
387                         interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
388
389                         avdd-supply = <&reg_1p8v>;
390                         dvdd-supply = <&reg_1p8v>;
391                         pvdd-supply = <&reg_1p8v>;
392                         dvdd-3v-supply = <&reg_3p3v>;
393                         bgvdd-supply = <&reg_1p8v>;
394
395                         adi,input-depth = <8>;
396                         adi,input-colorspace = "rgb";
397                         adi,input-clock = "1x";
398
399                         ports {
400                                 #address-cells = <1>;
401                                 #size-cells = <0>;
402
403                                 port@0 {
404                                         reg = <0>;
405                                         adv7511_in: endpoint {
406                                                 remote-endpoint = <&du_out_rgb>;
407                                         };
408                                 };
409
410                                 port@1 {
411                                         reg = <1>;
412                                         adv7511_out: endpoint {
413                                                 remote-endpoint = <&hdmi_con_out>;
414                                         };
415                                 };
416                         };
417                 };
418
419                 hdmi-in@4c {
420                         compatible = "adi,adv7612";
421                         reg = <0x4c>;
422                         interrupt-parent = <&gpio4>;
423                         interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
424                         default-input = <0>;
425
426                         ports {
427                                 #address-cells = <1>;
428                                 #size-cells = <0>;
429
430                                 port@0 {
431                                         reg = <0>;
432                                         adv7612_in: endpoint {
433                                                 remote-endpoint = <&hdmi_con_in>;
434                                         };
435                                 };
436
437                                 port@2 {
438                                         reg = <2>;
439                                         adv7612_out: endpoint {
440                                                 remote-endpoint = <&vin0ep2>;
441                                         };
442                                 };
443                         };
444                 };
445
446                 eeprom@50 {
447                         compatible = "renesas,r1ex24002", "atmel,24c02";
448                         reg = <0x50>;
449                         pagesize = <16>;
450                 };
451         };
452
453         /*
454          * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA).
455          * A fallback to GPIO is provided.
456          */
457         i2cexio4: i2c-mux2 {
458                 compatible = "i2c-demux-pinctrl";
459                 i2c-parent = <&i2c4>, <&gpioi2c4>;
460                 i2c-bus-name = "i2c-exio4";
461                 #address-cells = <1>;
462                 #size-cells = <0>;
463         };
464 };
465
466 &du {
467         pinctrl-0 = <&du_pins>;
468         pinctrl-names = "default";
469         status = "okay";
470
471         clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
472                  <&x13_clk>, <&x2_clk>;
473         clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
474
475         ports {
476                 port@0 {
477                         endpoint {
478                                 remote-endpoint = <&adv7511_in>;
479                         };
480                 };
481         };
482 };
483
484 &lvds0 {
485         ports {
486                 port@1 {
487                         lvds_connector: endpoint {
488                         };
489                 };
490         };
491 };
492
493 &extal_clk {
494         clock-frequency = <20000000>;
495 };
496
497 &pfc {
498         pinctrl-0 = <&scif_clk_pins>;
499         pinctrl-names = "default";
500
501         i2c2_pins: i2c2 {
502                 groups = "i2c2";
503                 function = "i2c2";
504         };
505
506         i2c4_pins: i2c4 {
507                 groups = "i2c4_c";
508                 function = "i2c4";
509         };
510
511         du_pins: du {
512                 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
513                 function = "du";
514         };
515
516         scif0_pins: scif0 {
517                 groups = "scif0_data_d";
518                 function = "scif0";
519         };
520
521         scif1_pins: scif1 {
522                 groups = "scif1_data_d";
523                 function = "scif1";
524         };
525
526         scif_clk_pins: scif_clk {
527                 groups = "scif_clk";
528                 function = "scif_clk";
529         };
530
531         ether_pins: ether {
532                 groups = "eth_link", "eth_mdio", "eth_rmii";
533                 function = "eth";
534         };
535
536         phy1_pins: phy1 {
537                 groups = "intc_irq0";
538                 function = "intc";
539         };
540
541         pmic_irq_pins: pmicirq {
542                 groups = "intc_irq2";
543                 function = "intc";
544         };
545
546         sdhi0_pins: sd0 {
547                 groups = "sdhi0_data4", "sdhi0_ctrl";
548                 function = "sdhi0";
549                 power-source = <3300>;
550         };
551
552         sdhi0_pins_uhs: sd0_uhs {
553                 groups = "sdhi0_data4", "sdhi0_ctrl";
554                 function = "sdhi0";
555                 power-source = <1800>;
556         };
557
558         sdhi1_pins: sd1 {
559                 groups = "sdhi1_data4", "sdhi1_ctrl";
560                 function = "sdhi1";
561                 power-source = <3300>;
562         };
563
564         sdhi1_pins_uhs: sd1_uhs {
565                 groups = "sdhi1_data4", "sdhi1_ctrl";
566                 function = "sdhi1";
567                 power-source = <1800>;
568         };
569
570         sdhi2_pins: sd2 {
571                 groups = "sdhi2_data4", "sdhi2_ctrl";
572                 function = "sdhi2";
573                 power-source = <3300>;
574         };
575
576         sdhi2_pins_uhs: sd2_uhs {
577                 groups = "sdhi2_data4", "sdhi2_ctrl";
578                 function = "sdhi2";
579                 power-source = <1800>;
580         };
581
582         qspi_pins: qspi {
583                 groups = "qspi_ctrl", "qspi_data4";
584                 function = "qspi";
585         };
586
587         sound_pins: sound {
588                 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
589                 function = "ssi";
590         };
591
592         sound_clk_pins: sound_clk {
593                 groups = "audio_clk_a";
594                 function = "audio_clk";
595         };
596
597         keyboard_pins: keyboard {
598                 pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3";
599                 bias-pull-up;
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
613 &ether {
614         pinctrl-0 = <&ether_pins>, <&phy1_pins>;
615         pinctrl-names = "default";
616
617         phy-handle = <&phy1>;
618         renesas,ether-link-active-low;
619         status = "okay";
620
621         phy1: ethernet-phy@1 {
622                 compatible = "ethernet-phy-id0022.1537",
623                              "ethernet-phy-ieee802.3-c22";
624                 reg = <1>;
625                 interrupt-parent = <&irqc0>;
626                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
627                 micrel,led-mode = <1>;
628                 reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
629         };
630 };
631
632 &cmt0 {
633         status = "okay";
634 };
635
636 &cpu0 {
637         cpu0-supply = <&vdd_dvfs>;
638 };
639
640 &rwdt {
641         timeout-sec = <60>;
642         status = "okay";
643 };
644
645 &scif0 {
646         pinctrl-0 = <&scif0_pins>;
647         pinctrl-names = "default";
648
649         status = "okay";
650 };
651
652 &scif1 {
653         pinctrl-0 = <&scif1_pins>;
654         pinctrl-names = "default";
655
656         status = "okay";
657 };
658
659 &scif_clk {
660         clock-frequency = <14745600>;
661 };
662
663 &sdhi0 {
664         pinctrl-0 = <&sdhi0_pins>;
665         pinctrl-1 = <&sdhi0_pins_uhs>;
666         pinctrl-names = "default", "state_uhs";
667
668         vmmc-supply = <&vcc_sdhi0>;
669         vqmmc-supply = <&vccq_sdhi0>;
670         cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
671         wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
672         sd-uhs-sdr50;
673         sd-uhs-sdr104;
674         status = "okay";
675 };
676
677 &sdhi1 {
678         pinctrl-0 = <&sdhi1_pins>;
679         pinctrl-1 = <&sdhi1_pins_uhs>;
680         pinctrl-names = "default", "state_uhs";
681
682         vmmc-supply = <&vcc_sdhi1>;
683         vqmmc-supply = <&vccq_sdhi1>;
684         cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
685         wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
686         sd-uhs-sdr50;
687         status = "okay";
688 };
689
690 &sdhi2 {
691         pinctrl-0 = <&sdhi2_pins>;
692         pinctrl-1 = <&sdhi2_pins_uhs>;
693         pinctrl-names = "default", "state_uhs";
694
695         vmmc-supply = <&vcc_sdhi2>;
696         vqmmc-supply = <&vccq_sdhi2>;
697         cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
698         sd-uhs-sdr50;
699         status = "okay";
700 };
701
702 &qspi {
703         pinctrl-0 = <&qspi_pins>;
704         pinctrl-names = "default";
705
706         status = "okay";
707
708         flash@0 {
709                 compatible = "spansion,s25fl512s", "jedec,spi-nor";
710                 reg = <0>;
711                 spi-max-frequency = <30000000>;
712                 spi-tx-bus-width = <4>;
713                 spi-rx-bus-width = <4>;
714                 spi-cpol;
715                 spi-cpha;
716                 m25p,fast-read;
717
718                 partitions {
719                         compatible = "fixed-partitions";
720                         #address-cells = <1>;
721                         #size-cells = <1>;
722
723                         partition@0 {
724                                 label = "loader";
725                                 reg = <0x00000000 0x00040000>;
726                                 read-only;
727                         };
728                         partition@40000 {
729                                 label = "user";
730                                 reg = <0x00040000 0x00400000>;
731                                 read-only;
732                         };
733                         partition@440000 {
734                                 label = "flash";
735                                 reg = <0x00440000 0x03bc0000>;
736                         };
737                 };
738         };
739 };
740
741 &i2c2 {
742         pinctrl-0 = <&i2c2_pins>;
743         pinctrl-names = "i2c-hdmi";
744
745         status = "okay";
746         clock-frequency = <100000>;
747
748 };
749
750 &i2c6 {
751         pinctrl-names = "default";
752         pinctrl-0 = <&pmic_irq_pins>;
753         status = "okay";
754         clock-frequency = <100000>;
755
756         pmic@58 {
757                 compatible = "dlg,da9063";
758                 reg = <0x58>;
759                 interrupt-parent = <&irqc0>;
760                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
761                 interrupt-controller;
762                 #interrupt-cells = <2>;
763
764                 rtc {
765                         compatible = "dlg,da9063-rtc";
766                 };
767
768                 watchdog {
769                         compatible = "dlg,da9063-watchdog";
770                 };
771         };
772
773         vdd_dvfs: regulator@68 {
774                 compatible = "dlg,da9210";
775                 reg = <0x68>;
776                 interrupt-parent = <&irqc0>;
777                 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
778
779                 regulator-min-microvolt = <1000000>;
780                 regulator-max-microvolt = <1000000>;
781                 regulator-boot-on;
782                 regulator-always-on;
783         };
784 };
785
786 &i2c4 {
787         pinctrl-0 = <&i2c4_pins>;
788         pinctrl-names = "i2c-exio4";
789 };
790
791 &rcar_sound {
792         pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
793         pinctrl-names = "default";
794
795         /* Single DAI */
796         #sound-dai-cells = <0>;
797
798         status = "okay";
799
800         rcar_sound,dai {
801                 dai0 {
802                         playback = <&ssi0>, <&src2>, <&dvc0>;
803                         capture  = <&ssi1>, <&src3>, <&dvc1>;
804                 };
805         };
806 };
807
808 &ssi1 {
809         shared-pin;
810 };
811
812 /* HDMI video input */
813 &vin0 {
814         status = "okay";
815         pinctrl-0 = <&vin0_pins>;
816         pinctrl-names = "default";
817
818         port {
819                 vin0ep2: endpoint {
820                         remote-endpoint = <&adv7612_out>;
821                         bus-width = <24>;
822                         hsync-active = <0>;
823                         vsync-active = <0>;
824                         pclk-sample = <1>;
825                         data-active = <1>;
826                 };
827         };
828 };
829
830 /* composite video input */
831 &vin1 {
832         pinctrl-0 = <&vin1_pins>;
833         pinctrl-names = "default";
834
835         status = "okay";
836
837         port {
838                 vin1ep: endpoint {
839                         remote-endpoint = <&adv7180_out>;
840                         bus-width = <8>;
841                 };
842         };
843 };