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