Commit | Line | Data |
---|---|---|
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; | |
5ba55fa8 LP |
53 | }; |
54 | ||
1f52c659 | 55 | chosen { |
79e69d17 | 56 | bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp"; |
832dae1f | 57 | stdout-path = "serial0:115200n8"; |
1f52c659 HN |
58 | }; |
59 | ||
60 | memory@40000000 { | |
61 | device_type = "memory"; | |
4cd1bad4 TY |
62 | reg = <0 0x40000000 0 0x40000000>; |
63 | }; | |
64 | ||
65 | memory@200000000 { | |
66 | device_type = "memory"; | |
67 | reg = <2 0x00000000 0 0x40000000>; | |
1f52c659 HN |
68 | }; |
69 | ||
70 | lbsc { | |
71 | #address-cells = <1>; | |
72 | #size-cells = <1>; | |
73 | }; | |
f8e2535d | 74 | |
d3aaec83 | 75 | keyboard { |
aff5274f LP |
76 | compatible = "gpio-keys"; |
77 | ||
7f168b1e MD |
78 | key-1 { |
79 | gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; | |
80 | linux,code = <KEY_1>; | |
81 | label = "SW2-1"; | |
0cc16889 | 82 | wakeup-source; |
7f168b1e MD |
83 | debounce-interval = <20>; |
84 | }; | |
85 | key-2 { | |
86 | gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; | |
87 | linux,code = <KEY_2>; | |
88 | label = "SW2-2"; | |
0cc16889 | 89 | wakeup-source; |
7f168b1e MD |
90 | debounce-interval = <20>; |
91 | }; | |
92 | key-3 { | |
93 | gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; | |
94 | linux,code = <KEY_3>; | |
95 | label = "SW2-3"; | |
0cc16889 | 96 | wakeup-source; |
7f168b1e MD |
97 | debounce-interval = <20>; |
98 | }; | |
99 | key-4 { | |
100 | gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; | |
101 | linux,code = <KEY_4>; | |
102 | label = "SW2-4"; | |
0cc16889 | 103 | wakeup-source; |
7f168b1e MD |
104 | debounce-interval = <20>; |
105 | }; | |
aff5274f LP |
106 | key-a { |
107 | gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; | |
7f168b1e | 108 | linux,code = <KEY_A>; |
aff5274f | 109 | label = "SW30"; |
0cc16889 | 110 | wakeup-source; |
aff5274f LP |
111 | debounce-interval = <20>; |
112 | }; | |
113 | key-b { | |
114 | gpios = <&gpio7 1 GPIO_ACTIVE_LOW>; | |
7f168b1e | 115 | linux,code = <KEY_B>; |
aff5274f | 116 | label = "SW31"; |
0cc16889 | 117 | wakeup-source; |
aff5274f LP |
118 | debounce-interval = <20>; |
119 | }; | |
120 | key-c { | |
121 | gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; | |
7f168b1e | 122 | linux,code = <KEY_C>; |
aff5274f | 123 | label = "SW32"; |
0cc16889 | 124 | wakeup-source; |
aff5274f LP |
125 | debounce-interval = <20>; |
126 | }; | |
127 | key-d { | |
128 | gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; | |
7f168b1e | 129 | linux,code = <KEY_D>; |
aff5274f | 130 | label = "SW33"; |
0cc16889 | 131 | wakeup-source; |
aff5274f LP |
132 | debounce-interval = <20>; |
133 | }; | |
134 | key-e { | |
135 | gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; | |
7f168b1e | 136 | linux,code = <KEY_E>; |
aff5274f | 137 | label = "SW34"; |
0cc16889 | 138 | wakeup-source; |
aff5274f LP |
139 | debounce-interval = <20>; |
140 | }; | |
141 | key-f { | |
142 | gpios = <&gpio7 5 GPIO_ACTIVE_LOW>; | |
7f168b1e | 143 | linux,code = <KEY_F>; |
aff5274f | 144 | label = "SW35"; |
0cc16889 | 145 | wakeup-source; |
aff5274f LP |
146 | debounce-interval = <20>; |
147 | }; | |
148 | key-g { | |
149 | gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; | |
7f168b1e | 150 | linux,code = <KEY_G>; |
aff5274f | 151 | label = "SW36"; |
0cc16889 | 152 | wakeup-source; |
aff5274f LP |
153 | debounce-interval = <20>; |
154 | }; | |
155 | }; | |
156 | ||
f8e2535d LP |
157 | leds { |
158 | compatible = "gpio-leds"; | |
159 | led6 { | |
160 | gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; | |
352faa5f | 161 | label = "LED6"; |
f8e2535d LP |
162 | }; |
163 | led7 { | |
164 | gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; | |
352faa5f | 165 | label = "LED7"; |
f8e2535d LP |
166 | }; |
167 | led8 { | |
168 | gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; | |
352faa5f | 169 | label = "LED8"; |
f8e2535d LP |
170 | }; |
171 | }; | |
2c60a7df MD |
172 | |
173 | vcc_sdhi0: regulator@0 { | |
174 | compatible = "regulator-fixed"; | |
175 | ||
176 | regulator-name = "SDHI0 Vcc"; | |
177 | regulator-min-microvolt = <3300000>; | |
178 | regulator-max-microvolt = <3300000>; | |
179 | ||
180 | gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>; | |
181 | enable-active-high; | |
182 | }; | |
183 | ||
184 | vccq_sdhi0: regulator@1 { | |
185 | compatible = "regulator-gpio"; | |
186 | ||
187 | regulator-name = "SDHI0 VccQ"; | |
188 | regulator-min-microvolt = <1800000>; | |
189 | regulator-max-microvolt = <3300000>; | |
190 | ||
191 | gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; | |
192 | gpios-states = <1>; | |
193 | states = <3300000 1 | |
194 | 1800000 0>; | |
195 | }; | |
196 | ||
197 | vcc_sdhi1: regulator@2 { | |
198 | compatible = "regulator-fixed"; | |
199 | ||
200 | regulator-name = "SDHI1 Vcc"; | |
201 | regulator-min-microvolt = <3300000>; | |
202 | regulator-max-microvolt = <3300000>; | |
203 | ||
204 | gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>; | |
205 | enable-active-high; | |
206 | }; | |
207 | ||
208 | vccq_sdhi1: regulator@3 { | |
209 | compatible = "regulator-gpio"; | |
210 | ||
211 | regulator-name = "SDHI1 VccQ"; | |
212 | regulator-min-microvolt = <1800000>; | |
213 | regulator-max-microvolt = <3300000>; | |
214 | ||
215 | gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; | |
216 | gpios-states = <1>; | |
217 | states = <3300000 1 | |
218 | 1800000 0>; | |
219 | }; | |
220 | ||
221 | vcc_sdhi2: regulator@4 { | |
222 | compatible = "regulator-fixed"; | |
223 | ||
224 | regulator-name = "SDHI2 Vcc"; | |
225 | regulator-min-microvolt = <3300000>; | |
226 | regulator-max-microvolt = <3300000>; | |
227 | ||
228 | gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>; | |
229 | enable-active-high; | |
230 | }; | |
231 | ||
232 | vccq_sdhi2: regulator@5 { | |
233 | compatible = "regulator-gpio"; | |
234 | ||
235 | regulator-name = "SDHI2 VccQ"; | |
236 | regulator-min-microvolt = <1800000>; | |
237 | regulator-max-microvolt = <3300000>; | |
238 | ||
239 | gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; | |
240 | gpios-states = <1>; | |
241 | states = <3300000 1 | |
242 | 1800000 0>; | |
243 | }; | |
b160f615 | 244 | |
c19c84ff KM |
245 | audio_clock: clock { |
246 | compatible = "fixed-clock"; | |
247 | #clock-cells = <0>; | |
248 | clock-frequency = <11289600>; | |
249 | clock-output-names = "audio_clock"; | |
250 | }; | |
251 | ||
18f88d22 | 252 | rsnd_ak4643: sound { |
b160f615 KM |
253 | compatible = "simple-audio-card"; |
254 | ||
255 | simple-audio-card,format = "left_j"; | |
256 | simple-audio-card,bitclock-master = <&sndcodec>; | |
257 | simple-audio-card,frame-master = <&sndcodec>; | |
258 | ||
259 | sndcpu: simple-audio-card,cpu { | |
260 | sound-dai = <&rcar_sound>; | |
261 | }; | |
262 | ||
263 | sndcodec: simple-audio-card,codec { | |
264 | sound-dai = <&ak4643>; | |
c19c84ff | 265 | clocks = <&audio_clock>; |
b160f615 KM |
266 | }; |
267 | }; | |
83a0731b LP |
268 | |
269 | hdmi-out { | |
270 | compatible = "hdmi-connector"; | |
271 | type = "a"; | |
272 | ||
273 | port { | |
274 | hdmi_con: endpoint { | |
275 | remote-endpoint = <&adv7511_out>; | |
276 | }; | |
277 | }; | |
278 | }; | |
cd21cb46 LP |
279 | |
280 | x2_clk: x2-clock { | |
281 | compatible = "fixed-clock"; | |
282 | #clock-cells = <0>; | |
283 | clock-frequency = <148500000>; | |
284 | }; | |
285 | ||
286 | x13_clk: x13-clock { | |
287 | compatible = "fixed-clock"; | |
288 | #clock-cells = <0>; | |
289 | clock-frequency = <148500000>; | |
290 | }; | |
f8e2535d LP |
291 | }; |
292 | ||
0ee56d40 LP |
293 | &du { |
294 | pinctrl-0 = <&du_pins>; | |
295 | pinctrl-names = "default"; | |
296 | status = "okay"; | |
297 | ||
cd21cb46 LP |
298 | clocks = <&mstp7_clks R8A7791_CLK_DU0>, |
299 | <&mstp7_clks R8A7791_CLK_DU1>, | |
300 | <&mstp7_clks R8A7791_CLK_LVDS0>, | |
301 | <&x13_clk>, <&x2_clk>; | |
302 | clock-names = "du.0", "du.1", "lvds.0", | |
303 | "dclkin.0", "dclkin.1"; | |
304 | ||
0ee56d40 | 305 | ports { |
83a0731b LP |
306 | port@0 { |
307 | endpoint { | |
308 | remote-endpoint = <&adv7511_in>; | |
309 | }; | |
310 | }; | |
0ee56d40 LP |
311 | port@1 { |
312 | lvds_connector: endpoint { | |
313 | }; | |
314 | }; | |
315 | }; | |
316 | }; | |
317 | ||
fcf0c725 LP |
318 | &extal_clk { |
319 | clock-frequency = <20000000>; | |
320 | }; | |
321 | ||
f8e2535d | 322 | &pfc { |
338f7ebf GU |
323 | pinctrl-0 = <&scif_clk_pins>; |
324 | pinctrl-names = "default"; | |
325 | ||
e6a4c001 | 326 | i2c2_pins: i2c2 { |
38c53516 WS |
327 | renesas,groups = "i2c2"; |
328 | renesas,function = "i2c2"; | |
329 | }; | |
330 | ||
afba941c | 331 | du_pins: du { |
22a1ae36 | 332 | renesas,groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; |
afba941c LP |
333 | renesas,function = "du"; |
334 | }; | |
335 | ||
f8e2535d LP |
336 | scif0_pins: serial0 { |
337 | renesas,groups = "scif0_data_d"; | |
338 | renesas,function = "scif0"; | |
339 | }; | |
340 | ||
341 | scif1_pins: serial1 { | |
342 | renesas,groups = "scif1_data_d"; | |
343 | renesas,function = "scif1"; | |
344 | }; | |
e02ee513 | 345 | |
338f7ebf GU |
346 | scif_clk_pins: scif_clk { |
347 | renesas,groups = "scif_clk"; | |
348 | renesas,function = "scif_clk"; | |
349 | }; | |
350 | ||
08e8f0f3 SS |
351 | ether_pins: ether { |
352 | renesas,groups = "eth_link", "eth_mdio", "eth_rmii"; | |
353 | renesas,function = "eth"; | |
354 | }; | |
355 | ||
356 | phy1_pins: phy1 { | |
357 | renesas,groups = "intc_irq0"; | |
358 | renesas,function = "intc"; | |
359 | }; | |
360 | ||
2c60a7df | 361 | sdhi0_pins: sd0 { |
d5dda038 | 362 | renesas,groups = "sdhi0_data4", "sdhi0_ctrl"; |
2c60a7df MD |
363 | renesas,function = "sdhi0"; |
364 | }; | |
365 | ||
366 | sdhi1_pins: sd1 { | |
d5dda038 | 367 | renesas,groups = "sdhi1_data4", "sdhi1_ctrl"; |
2c60a7df MD |
368 | renesas,function = "sdhi1"; |
369 | }; | |
370 | ||
371 | sdhi2_pins: sd2 { | |
d5dda038 | 372 | renesas,groups = "sdhi2_data4", "sdhi2_ctrl"; |
2c60a7df MD |
373 | renesas,function = "sdhi2"; |
374 | }; | |
375 | ||
6f3e4ee3 | 376 | qspi_pins: spi0 { |
e02ee513 GU |
377 | renesas,groups = "qspi_ctrl", "qspi_data4"; |
378 | renesas,function = "qspi"; | |
379 | }; | |
b16f05ab GU |
380 | |
381 | msiof0_pins: spi1 { | |
382 | renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", | |
383 | "msiof0_tx"; | |
384 | renesas,function = "msiof0"; | |
385 | }; | |
1d41f36a | 386 | |
7540aeb0 SS |
387 | usb0_pins: usb0 { |
388 | renesas,groups = "usb0"; | |
389 | renesas,function = "usb0"; | |
390 | }; | |
391 | ||
392 | usb1_pins: usb1 { | |
393 | renesas,groups = "usb1"; | |
394 | renesas,function = "usb1"; | |
395 | }; | |
2cf08810 | 396 | |
397 | vin1_pins: vin1 { | |
398 | renesas,groups = "vin1_data8", "vin1_clk"; | |
399 | renesas,function = "vin1"; | |
400 | }; | |
b160f615 KM |
401 | |
402 | sound_pins: sound { | |
403 | renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; | |
404 | renesas,function = "ssi"; | |
405 | }; | |
406 | ||
407 | sound_clk_pins: sound_clk { | |
408 | renesas,groups = "audio_clk_a"; | |
409 | renesas,function = "audio_clk"; | |
410 | }; | |
1f52c659 | 411 | }; |
760c277b | 412 | |
08e8f0f3 SS |
413 | ðer { |
414 | pinctrl-0 = <ðer_pins &phy1_pins>; | |
415 | pinctrl-names = "default"; | |
416 | ||
417 | phy-handle = <&phy1>; | |
418 | renesas,ether-link-active-low; | |
815446d6 | 419 | status = "okay"; |
08e8f0f3 SS |
420 | |
421 | phy1: ethernet-phy@1 { | |
422 | reg = <1>; | |
423 | interrupt-parent = <&irqc0>; | |
424 | interrupts = <0 IRQ_TYPE_LEVEL_LOW>; | |
19f647cb | 425 | micrel,led-mode = <1>; |
08e8f0f3 SS |
426 | }; |
427 | }; | |
428 | ||
6a1d9460 | 429 | &cmt0 { |
815446d6 | 430 | status = "okay"; |
6a1d9460 LP |
431 | }; |
432 | ||
760c277b VB |
433 | &sata0 { |
434 | status = "okay"; | |
435 | }; | |
e02ee513 | 436 | |
5ba55fa8 LP |
437 | &scif0 { |
438 | pinctrl-0 = <&scif0_pins>; | |
439 | pinctrl-names = "default"; | |
440 | ||
441 | status = "okay"; | |
442 | }; | |
443 | ||
444 | &scif1 { | |
445 | pinctrl-0 = <&scif1_pins>; | |
446 | pinctrl-names = "default"; | |
447 | ||
448 | status = "okay"; | |
449 | }; | |
450 | ||
338f7ebf GU |
451 | &scif_clk { |
452 | clock-frequency = <14745600>; | |
453 | status = "okay"; | |
454 | }; | |
455 | ||
2c60a7df MD |
456 | &sdhi0 { |
457 | pinctrl-0 = <&sdhi0_pins>; | |
458 | pinctrl-names = "default"; | |
459 | ||
460 | vmmc-supply = <&vcc_sdhi0>; | |
461 | vqmmc-supply = <&vccq_sdhi0>; | |
462 | cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; | |
463 | wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; | |
464 | status = "okay"; | |
465 | }; | |
466 | ||
467 | &sdhi1 { | |
468 | pinctrl-0 = <&sdhi1_pins>; | |
469 | pinctrl-names = "default"; | |
470 | ||
471 | vmmc-supply = <&vcc_sdhi1>; | |
472 | vqmmc-supply = <&vccq_sdhi1>; | |
473 | cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; | |
474 | wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; | |
475 | status = "okay"; | |
476 | }; | |
477 | ||
478 | &sdhi2 { | |
479 | pinctrl-0 = <&sdhi2_pins>; | |
480 | pinctrl-names = "default"; | |
481 | ||
482 | vmmc-supply = <&vcc_sdhi2>; | |
483 | vqmmc-supply = <&vccq_sdhi2>; | |
484 | cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; | |
485 | status = "okay"; | |
486 | }; | |
487 | ||
6f3e4ee3 | 488 | &qspi { |
e02ee513 GU |
489 | pinctrl-0 = <&qspi_pins>; |
490 | pinctrl-names = "default"; | |
491 | ||
492 | status = "okay"; | |
493 | ||
494 | flash: flash@0 { | |
cc3db02c | 495 | compatible = "spansion,s25fl512s", "jedec,spi-nor"; |
e02ee513 GU |
496 | reg = <0>; |
497 | spi-max-frequency = <30000000>; | |
ed56083a GU |
498 | spi-tx-bus-width = <4>; |
499 | spi-rx-bus-width = <4>; | |
9c5becce HN |
500 | spi-cpha; |
501 | spi-cpol; | |
e02ee513 GU |
502 | m25p,fast-read; |
503 | ||
27fa0a6c | 504 | partitions { |
f6531bb5 | 505 | compatible = "fixed-partitions"; |
27fa0a6c GU |
506 | #address-cells = <1>; |
507 | #size-cells = <1>; | |
508 | ||
509 | partition@0 { | |
510 | label = "loader"; | |
511 | reg = <0x00000000 0x00080000>; | |
512 | read-only; | |
513 | }; | |
514 | partition@80000 { | |
515 | label = "user"; | |
516 | reg = <0x00080000 0x00580000>; | |
517 | read-only; | |
518 | }; | |
519 | partition@600000 { | |
520 | label = "flash"; | |
521 | reg = <0x00600000 0x03a00000>; | |
522 | }; | |
e02ee513 GU |
523 | }; |
524 | }; | |
525 | }; | |
b16f05ab GU |
526 | |
527 | &msiof0 { | |
528 | pinctrl-0 = <&msiof0_pins>; | |
529 | pinctrl-names = "default"; | |
530 | ||
531 | status = "okay"; | |
532 | ||
533 | pmic: pmic@0 { | |
534 | compatible = "renesas,r2a11302ft"; | |
535 | reg = <0>; | |
536 | spi-max-frequency = <6000000>; | |
537 | spi-cpol; | |
538 | spi-cpha; | |
539 | }; | |
540 | }; | |
1d41f36a | 541 | |
897dfdbc SH |
542 | &i2c2 { |
543 | pinctrl-0 = <&i2c2_pins>; | |
544 | pinctrl-names = "default"; | |
545 | ||
546 | status = "okay"; | |
a8d943ed | 547 | clock-frequency = <100000>; |
897dfdbc | 548 | |
95cfb59a | 549 | ak4643: codec@12 { |
b160f615 KM |
550 | compatible = "asahi-kasei,ak4643"; |
551 | #sound-dai-cells = <0>; | |
552 | reg = <0x12>; | |
553 | }; | |
897dfdbc | 554 | |
2cf08810 | 555 | composite-in@20 { |
556 | compatible = "adi,adv7180"; | |
557 | reg = <0x20>; | |
558 | remote = <&vin1>; | |
559 | ||
560 | port { | |
561 | adv7180: endpoint { | |
562 | bus-width = <8>; | |
563 | remote-endpoint = <&vin1ep>; | |
564 | }; | |
565 | }; | |
566 | }; | |
567 | ||
83a0731b LP |
568 | hdmi@39 { |
569 | compatible = "adi,adv7511w"; | |
570 | reg = <0x39>; | |
571 | interrupt-parent = <&gpio3>; | |
12392f58 | 572 | interrupts = <29 IRQ_TYPE_LEVEL_LOW>; |
83a0731b LP |
573 | |
574 | adi,input-depth = <8>; | |
575 | adi,input-colorspace = "rgb"; | |
576 | adi,input-clock = "1x"; | |
577 | adi,input-style = <1>; | |
578 | adi,input-justification = "evenly"; | |
579 | ||
580 | ports { | |
581 | #address-cells = <1>; | |
582 | #size-cells = <0>; | |
583 | ||
584 | port@0 { | |
585 | reg = <0>; | |
586 | adv7511_in: endpoint { | |
587 | remote-endpoint = <&du_out_rgb>; | |
588 | }; | |
589 | }; | |
590 | ||
591 | port@1 { | |
592 | reg = <1>; | |
593 | adv7511_out: endpoint { | |
594 | remote-endpoint = <&hdmi_con>; | |
595 | }; | |
596 | }; | |
597 | }; | |
598 | }; | |
599 | ||
897dfdbc SH |
600 | eeprom@50 { |
601 | compatible = "renesas,24c02"; | |
602 | reg = <0x50>; | |
603 | pagesize = <16>; | |
604 | }; | |
605 | }; | |
606 | ||
1d41f36a | 607 | &i2c6 { |
1d41f36a | 608 | status = "okay"; |
897dfdbc | 609 | clock-frequency = <100000>; |
1d41f36a | 610 | |
a6b42266 GU |
611 | pmic@58 { |
612 | compatible = "dlg,da9063"; | |
613 | reg = <0x58>; | |
614 | interrupt-parent = <&irqc0>; | |
615 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; | |
616 | interrupt-controller; | |
617 | ||
618 | rtc { | |
619 | compatible = "dlg,da9063-rtc"; | |
620 | }; | |
621 | ||
622 | wdt { | |
623 | compatible = "dlg,da9063-watchdog"; | |
624 | }; | |
625 | }; | |
626 | ||
1d41f36a | 627 | vdd_dvfs: regulator@68 { |
bd597f47 | 628 | compatible = "dlg,da9210"; |
1d41f36a | 629 | reg = <0x68>; |
4be7338d GU |
630 | interrupt-parent = <&irqc0>; |
631 | interrupts = <2 IRQ_TYPE_LEVEL_LOW>; | |
1d41f36a GI |
632 | |
633 | regulator-min-microvolt = <1000000>; | |
634 | regulator-max-microvolt = <1000000>; | |
635 | regulator-boot-on; | |
636 | regulator-always-on; | |
637 | }; | |
638 | }; | |
a57004ec | 639 | |
7540aeb0 SS |
640 | &pci0 { |
641 | status = "okay"; | |
642 | pinctrl-0 = <&usb0_pins>; | |
643 | pinctrl-names = "default"; | |
644 | }; | |
645 | ||
646 | &pci1 { | |
647 | status = "okay"; | |
648 | pinctrl-0 = <&usb1_pins>; | |
649 | pinctrl-names = "default"; | |
650 | }; | |
651 | ||
fc4a00b7 YS |
652 | &hsusb { |
653 | status = "okay"; | |
654 | pinctrl-0 = <&usb0_pins>; | |
655 | pinctrl-names = "default"; | |
656 | renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; | |
657 | }; | |
658 | ||
dc80d8bc SS |
659 | &usbphy { |
660 | status = "okay"; | |
661 | }; | |
662 | ||
998d7d64 PE |
663 | &pcie_bus_clk { |
664 | status = "okay"; | |
665 | }; | |
666 | ||
667 | &pciec { | |
668 | status = "okay"; | |
669 | }; | |
670 | ||
a57004ec GI |
671 | &cpu0 { |
672 | cpu0-supply = <&vdd_dvfs>; | |
673 | }; | |
2cf08810 | 674 | |
675 | /* composite video input */ | |
676 | &vin1 { | |
815446d6 | 677 | status = "okay"; |
2cf08810 | 678 | pinctrl-0 = <&vin1_pins>; |
679 | pinctrl-names = "default"; | |
680 | ||
681 | port { | |
682 | #address-cells = <1>; | |
683 | #size-cells = <0>; | |
684 | ||
685 | vin1ep: endpoint { | |
686 | remote-endpoint = <&adv7180>; | |
687 | bus-width = <8>; | |
688 | }; | |
689 | }; | |
690 | }; | |
b160f615 KM |
691 | |
692 | &rcar_sound { | |
693 | pinctrl-0 = <&sound_pins &sound_clk_pins>; | |
694 | pinctrl-names = "default"; | |
695 | ||
d2b541c9 | 696 | /* Single DAI */ |
b160f615 KM |
697 | #sound-dai-cells = <0>; |
698 | ||
699 | status = "okay"; | |
700 | ||
701 | rcar_sound,dai { | |
702 | dai0 { | |
5c6d4b94 KM |
703 | playback = <&ssi0 &src2 &dvc0>; |
704 | capture = <&ssi1 &src3 &dvc1>; | |
b160f615 KM |
705 | }; |
706 | }; | |
707 | }; | |
708 | ||
b160f615 | 709 | &ssi1 { |
b160f615 KM |
710 | shared-pin; |
711 | }; |