blob: a3c27807f6c516e8c28b75642cb2df3c1a259e5e [file] [log] [blame]
Hisashi Nakamura1f52c652013-09-04 12:46:49 +09001/*
2 * Device Tree Source for the Koelsch board
3 *
4 * Copyright (C) 2013 Renesas Electronics Corporation
Sergei Shtylyov08e8f0f2014-02-20 02:28:59 +03005 * Copyright (C) 2013-2014 Renesas Solutions Corp.
6 * Copyright (C) 2014 Cogent Embedded, Inc.
Hisashi Nakamura1f52c652013-09-04 12:46:49 +09007 *
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
Kuninori Morimotob160f612014-11-03 17:49:00 -080013/*
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
Kuninori Morimoto5c6d4b92014-11-03 17:49:45 -080023 * 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
Kuninori Morimotoce474812014-11-11 04:37:05 +000030 *
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
Kuninori Morimotob160f612014-11-03 17:49:00 -080039 */
40
Hisashi Nakamura1f52c652013-09-04 12:46:49 +090041/dts-v1/;
Laurent Pinchart31c46cb2013-11-09 13:23:53 +010042#include "r8a7791.dtsi"
Laurent Pinchartf8e25352013-12-11 15:13:48 +010043#include <dt-bindings/gpio/gpio.h>
Magnus Damm7f168b12014-03-18 22:01:17 +090044#include <dt-bindings/input/input.h>
Hisashi Nakamura1f52c652013-09-04 12:46:49 +090045
46/ {
47 model = "Koelsch";
48 compatible = "renesas,koelsch", "renesas,r8a7791";
49
Laurent Pinchart5ba55fa2014-04-30 02:31:46 +020050 aliases {
Laurent Pinchart1f75cda2013-10-18 16:00:00 +020051 serial0 = &scif0;
52 serial1 = &scif1;
Laurent Pinchart5ba55fa2014-04-30 02:31:46 +020053 };
54
Hisashi Nakamura1f52c652013-09-04 12:46:49 +090055 chosen {
Geert Uytterhoeven79e69d12014-10-29 15:28:38 +010056 bootargs = "ignore_loglevel rw root=/dev/nfs ip=dhcp";
Geert Uytterhoeven17323b32014-10-03 17:11:42 +020057 stdout-path = &scif0;
Hisashi Nakamura1f52c652013-09-04 12:46:49 +090058 };
59
60 memory@40000000 {
61 device_type = "memory";
Takashi Yoshii4cd1bad2013-12-22 18:27:23 +090062 reg = <0 0x40000000 0 0x40000000>;
63 };
64
65 memory@200000000 {
66 device_type = "memory";
67 reg = <2 0x00000000 0 0x40000000>;
Hisashi Nakamura1f52c652013-09-04 12:46:49 +090068 };
69
70 lbsc {
71 #address-cells = <1>;
72 #size-cells = <1>;
73 };
Laurent Pinchartf8e25352013-12-11 15:13:48 +010074
Simon Hormand3aaec832014-11-12 17:59:36 +090075 keyboard {
Laurent Pinchartaff52742013-12-19 16:28:42 +010076 compatible = "gpio-keys";
77
Magnus Damm7f168b12014-03-18 22:01:17 +090078 key-1 {
79 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
80 linux,code = <KEY_1>;
81 label = "SW2-1";
82 gpio-key,wakeup;
83 debounce-interval = <20>;
84 };
85 key-2 {
86 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
87 linux,code = <KEY_2>;
88 label = "SW2-2";
89 gpio-key,wakeup;
90 debounce-interval = <20>;
91 };
92 key-3 {
93 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
94 linux,code = <KEY_3>;
95 label = "SW2-3";
96 gpio-key,wakeup;
97 debounce-interval = <20>;
98 };
99 key-4 {
100 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
101 linux,code = <KEY_4>;
102 label = "SW2-4";
103 gpio-key,wakeup;
104 debounce-interval = <20>;
105 };
Laurent Pinchartaff52742013-12-19 16:28:42 +0100106 key-a {
107 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900108 linux,code = <KEY_A>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100109 label = "SW30";
110 gpio-key,wakeup;
111 debounce-interval = <20>;
112 };
113 key-b {
114 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900115 linux,code = <KEY_B>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100116 label = "SW31";
117 gpio-key,wakeup;
118 debounce-interval = <20>;
119 };
120 key-c {
121 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900122 linux,code = <KEY_C>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100123 label = "SW32";
124 gpio-key,wakeup;
125 debounce-interval = <20>;
126 };
127 key-d {
128 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900129 linux,code = <KEY_D>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100130 label = "SW33";
131 gpio-key,wakeup;
132 debounce-interval = <20>;
133 };
134 key-e {
135 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900136 linux,code = <KEY_E>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100137 label = "SW34";
138 gpio-key,wakeup;
139 debounce-interval = <20>;
140 };
141 key-f {
142 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900143 linux,code = <KEY_F>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100144 label = "SW35";
145 gpio-key,wakeup;
146 debounce-interval = <20>;
147 };
148 key-g {
149 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
Magnus Damm7f168b12014-03-18 22:01:17 +0900150 linux,code = <KEY_G>;
Laurent Pinchartaff52742013-12-19 16:28:42 +0100151 label = "SW36";
152 gpio-key,wakeup;
153 debounce-interval = <20>;
154 };
155 };
156
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100157 leds {
158 compatible = "gpio-leds";
159 led6 {
160 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
Geert Uytterhoeven352faa52014-11-06 13:49:58 +0100161 label = "LED6";
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100162 };
163 led7 {
164 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
Geert Uytterhoeven352faa52014-11-06 13:49:58 +0100165 label = "LED7";
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100166 };
167 led8 {
168 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
Geert Uytterhoeven352faa52014-11-06 13:49:58 +0100169 label = "LED8";
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100170 };
171 };
Magnus Damm2c60a7d2014-02-12 18:54:04 +0900172
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 };
Kuninori Morimotob160f612014-11-03 17:49:00 -0800244
245 sound {
246 compatible = "simple-audio-card";
247
248 simple-audio-card,format = "left_j";
249 simple-audio-card,bitclock-master = <&sndcodec>;
250 simple-audio-card,frame-master = <&sndcodec>;
251
252 sndcpu: simple-audio-card,cpu {
253 sound-dai = <&rcar_sound>;
254 };
255
256 sndcodec: simple-audio-card,codec {
257 sound-dai = <&ak4643>;
258 system-clock-frequency = <11289600>;
259 };
260 };
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100261};
262
Laurent Pinchart0ee56d42014-01-21 16:02:54 +0100263&du {
264 pinctrl-0 = <&du_pins>;
265 pinctrl-names = "default";
266 status = "okay";
267
268 ports {
269 port@1 {
270 lvds_connector: endpoint {
271 };
272 };
273 };
274};
275
Laurent Pinchartfcf0c722013-12-11 15:13:50 +0100276&extal_clk {
277 clock-frequency = <20000000>;
278};
279
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100280&pfc {
Wolfram Sange6a4c002014-03-10 12:26:59 +0100281 i2c2_pins: i2c2 {
Wolfram Sang38c53512014-02-17 11:44:42 +0100282 renesas,groups = "i2c2";
283 renesas,function = "i2c2";
284 };
285
Laurent Pinchartafba9412014-02-16 22:32:01 +0100286 du_pins: du {
287 renesas,groups = "du_rgb666", "du_sync", "du_clk_out_0";
288 renesas,function = "du";
289 };
290
Laurent Pinchartf8e25352013-12-11 15:13:48 +0100291 scif0_pins: serial0 {
292 renesas,groups = "scif0_data_d";
293 renesas,function = "scif0";
294 };
295
296 scif1_pins: serial1 {
297 renesas,groups = "scif1_data_d";
298 renesas,function = "scif1";
299 };
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100300
Sergei Shtylyov08e8f0f2014-02-20 02:28:59 +0300301 ether_pins: ether {
302 renesas,groups = "eth_link", "eth_mdio", "eth_rmii";
303 renesas,function = "eth";
304 };
305
306 phy1_pins: phy1 {
307 renesas,groups = "intc_irq0";
308 renesas,function = "intc";
309 };
310
Magnus Damm2c60a7d2014-02-12 18:54:04 +0900311 sdhi0_pins: sd0 {
Magnus Dammd5dda032014-04-14 19:13:21 +0900312 renesas,groups = "sdhi0_data4", "sdhi0_ctrl";
Magnus Damm2c60a7d2014-02-12 18:54:04 +0900313 renesas,function = "sdhi0";
314 };
315
316 sdhi1_pins: sd1 {
Magnus Dammd5dda032014-04-14 19:13:21 +0900317 renesas,groups = "sdhi1_data4", "sdhi1_ctrl";
Magnus Damm2c60a7d2014-02-12 18:54:04 +0900318 renesas,function = "sdhi1";
319 };
320
321 sdhi2_pins: sd2 {
Magnus Dammd5dda032014-04-14 19:13:21 +0900322 renesas,groups = "sdhi2_data4", "sdhi2_ctrl";
Magnus Damm2c60a7d2014-02-12 18:54:04 +0900323 renesas,function = "sdhi2";
324 };
325
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +0100326 qspi_pins: spi0 {
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100327 renesas,groups = "qspi_ctrl", "qspi_data4";
328 renesas,function = "qspi";
329 };
Geert Uytterhoevenb16f05a2014-02-25 11:30:18 +0100330
331 msiof0_pins: spi1 {
332 renesas,groups = "msiof0_clk", "msiof0_sync", "msiof0_rx",
333 "msiof0_tx";
334 renesas,function = "msiof0";
335 };
Gaku Inami1d41f362014-06-03 21:02:59 +0900336
Sergei Shtylyov7540aeb2014-06-24 22:11:44 +0400337 usb0_pins: usb0 {
338 renesas,groups = "usb0";
339 renesas,function = "usb0";
340 };
341
342 usb1_pins: usb1 {
343 renesas,groups = "usb1";
344 renesas,function = "usb1";
345 };
sergei.shtylyov@cogentembedded.com2cf08812014-08-06 22:38:22 +0400346
347 vin1_pins: vin1 {
348 renesas,groups = "vin1_data8", "vin1_clk";
349 renesas,function = "vin1";
350 };
Kuninori Morimotob160f612014-11-03 17:49:00 -0800351
352 sound_pins: sound {
353 renesas,groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
354 renesas,function = "ssi";
355 };
356
357 sound_clk_pins: sound_clk {
358 renesas,groups = "audio_clk_a";
359 renesas,function = "audio_clk";
360 };
Hisashi Nakamura1f52c652013-09-04 12:46:49 +0900361};
Valentine Barshak760c2772014-01-14 21:05:41 +0400362
Sergei Shtylyov08e8f0f2014-02-20 02:28:59 +0300363&ether {
364 pinctrl-0 = <&ether_pins &phy1_pins>;
365 pinctrl-names = "default";
366
367 phy-handle = <&phy1>;
368 renesas,ether-link-active-low;
Geert Uytterhoeven815446d2014-12-09 12:25:03 +0100369 status = "okay";
Sergei Shtylyov08e8f0f2014-02-20 02:28:59 +0300370
371 phy1: ethernet-phy@1 {
372 reg = <1>;
373 interrupt-parent = <&irqc0>;
374 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
Laurent Pinchart19f647c2014-03-18 19:04:48 +0100375 micrel,led-mode = <1>;
Sergei Shtylyov08e8f0f2014-02-20 02:28:59 +0300376 };
377};
378
Laurent Pinchart6a1d9462014-07-09 15:12:42 +0200379&cmt0 {
Geert Uytterhoeven815446d2014-12-09 12:25:03 +0100380 status = "okay";
Laurent Pinchart6a1d9462014-07-09 15:12:42 +0200381};
382
Valentine Barshak760c2772014-01-14 21:05:41 +0400383&sata0 {
384 status = "okay";
385};
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100386
Laurent Pinchart5ba55fa2014-04-30 02:31:46 +0200387&scif0 {
388 pinctrl-0 = <&scif0_pins>;
389 pinctrl-names = "default";
390
391 status = "okay";
392};
393
394&scif1 {
395 pinctrl-0 = <&scif1_pins>;
396 pinctrl-names = "default";
397
398 status = "okay";
399};
400
Magnus Damm2c60a7d2014-02-12 18:54:04 +0900401&sdhi0 {
402 pinctrl-0 = <&sdhi0_pins>;
403 pinctrl-names = "default";
404
405 vmmc-supply = <&vcc_sdhi0>;
406 vqmmc-supply = <&vccq_sdhi0>;
407 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
408 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
409 status = "okay";
410};
411
412&sdhi1 {
413 pinctrl-0 = <&sdhi1_pins>;
414 pinctrl-names = "default";
415
416 vmmc-supply = <&vcc_sdhi1>;
417 vqmmc-supply = <&vccq_sdhi1>;
418 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
419 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
420 status = "okay";
421};
422
423&sdhi2 {
424 pinctrl-0 = <&sdhi2_pins>;
425 pinctrl-names = "default";
426
427 vmmc-supply = <&vcc_sdhi2>;
428 vqmmc-supply = <&vccq_sdhi2>;
429 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
430 status = "okay";
431};
432
Geert Uytterhoeven6f3e4ee2014-02-25 11:30:14 +0100433&qspi {
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100434 pinctrl-0 = <&qspi_pins>;
435 pinctrl-names = "default";
436
437 status = "okay";
438
439 flash: flash@0 {
440 #address-cells = <1>;
441 #size-cells = <1>;
442 compatible = "spansion,s25fl512s";
443 reg = <0>;
444 spi-max-frequency = <30000000>;
Geert Uytterhoevened560832014-04-14 19:35:58 +0200445 spi-tx-bus-width = <4>;
446 spi-rx-bus-width = <4>;
Hisashi Nakamura9c5becc2014-12-09 09:37:12 +0900447 spi-cpha;
448 spi-cpol;
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100449 m25p,fast-read;
450
451 partition@0 {
452 label = "loader";
453 reg = <0x00000000 0x00080000>;
454 read-only;
455 };
456 partition@80000 {
Simon Horman5f950e62014-12-05 11:28:28 +0900457 label = "user";
458 reg = <0x00080000 0x00580000>;
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100459 read-only;
460 };
Simon Horman5f950e62014-12-05 11:28:28 +0900461 partition@600000 {
462 label = "flash";
463 reg = <0x00600000 0x03a00000>;
Geert Uytterhoevene02ee512014-02-04 16:24:04 +0100464 };
465 };
466};
Geert Uytterhoevenb16f05a2014-02-25 11:30:18 +0100467
468&msiof0 {
469 pinctrl-0 = <&msiof0_pins>;
470 pinctrl-names = "default";
471
472 status = "okay";
473
474 pmic: pmic@0 {
475 compatible = "renesas,r2a11302ft";
476 reg = <0>;
477 spi-max-frequency = <6000000>;
478 spi-cpol;
479 spi-cpha;
480 };
481};
Gaku Inami1d41f362014-06-03 21:02:59 +0900482
Simon Horman897dfdb2014-06-09 17:50:28 +0900483&i2c2 {
484 pinctrl-0 = <&i2c2_pins>;
485 pinctrl-names = "default";
486
487 status = "okay";
Kuninori Morimotoa8d943e2014-11-03 17:48:49 -0800488 clock-frequency = <100000>;
Simon Horman897dfdb2014-06-09 17:50:28 +0900489
Kuninori Morimotob160f612014-11-03 17:49:00 -0800490 ak4643: sound-codec@12 {
491 compatible = "asahi-kasei,ak4643";
492 #sound-dai-cells = <0>;
493 reg = <0x12>;
494 };
Simon Horman897dfdb2014-06-09 17:50:28 +0900495
sergei.shtylyov@cogentembedded.com2cf08812014-08-06 22:38:22 +0400496 composite-in@20 {
497 compatible = "adi,adv7180";
498 reg = <0x20>;
499 remote = <&vin1>;
500
501 port {
502 adv7180: endpoint {
503 bus-width = <8>;
504 remote-endpoint = <&vin1ep>;
505 };
506 };
507 };
508
Simon Horman897dfdb2014-06-09 17:50:28 +0900509 eeprom@50 {
510 compatible = "renesas,24c02";
511 reg = <0x50>;
512 pagesize = <16>;
513 };
514};
515
Gaku Inami1d41f362014-06-03 21:02:59 +0900516&i2c6 {
Gaku Inami1d41f362014-06-03 21:02:59 +0900517 status = "okay";
Simon Horman897dfdb2014-06-09 17:50:28 +0900518 clock-frequency = <100000>;
Gaku Inami1d41f362014-06-03 21:02:59 +0900519
520 vdd_dvfs: regulator@68 {
Steve Twissbd597f42014-08-22 15:26:55 +0100521 compatible = "dlg,da9210";
Gaku Inami1d41f362014-06-03 21:02:59 +0900522 reg = <0x68>;
523
524 regulator-min-microvolt = <1000000>;
525 regulator-max-microvolt = <1000000>;
526 regulator-boot-on;
527 regulator-always-on;
528 };
529};
Gaku Inamia57004ec2014-06-03 21:03:10 +0900530
Sergei Shtylyov7540aeb2014-06-24 22:11:44 +0400531&pci0 {
532 status = "okay";
533 pinctrl-0 = <&usb0_pins>;
534 pinctrl-names = "default";
535};
536
537&pci1 {
538 status = "okay";
539 pinctrl-0 = <&usb1_pins>;
540 pinctrl-names = "default";
541};
542
Yoshihiro Shimodafc4a00b2014-10-24 19:45:07 +0900543&hsusb {
544 status = "okay";
545 pinctrl-0 = <&usb0_pins>;
546 pinctrl-names = "default";
547 renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
548};
549
Sergei Shtylyovdc80d8b2014-09-27 01:09:22 +0400550&usbphy {
551 status = "okay";
552};
553
Phil Edworthy998d7d62014-06-13 10:37:21 +0100554&pcie_bus_clk {
555 status = "okay";
556};
557
558&pciec {
559 status = "okay";
560};
561
Gaku Inamia57004ec2014-06-03 21:03:10 +0900562&cpu0 {
563 cpu0-supply = <&vdd_dvfs>;
564};
sergei.shtylyov@cogentembedded.com2cf08812014-08-06 22:38:22 +0400565
566/* composite video input */
567&vin1 {
Geert Uytterhoeven815446d2014-12-09 12:25:03 +0100568 status = "okay";
sergei.shtylyov@cogentembedded.com2cf08812014-08-06 22:38:22 +0400569 pinctrl-0 = <&vin1_pins>;
570 pinctrl-names = "default";
571
572 port {
573 #address-cells = <1>;
574 #size-cells = <0>;
575
576 vin1ep: endpoint {
577 remote-endpoint = <&adv7180>;
578 bus-width = <8>;
579 };
580 };
581};
Kuninori Morimotob160f612014-11-03 17:49:00 -0800582
583&rcar_sound {
584 pinctrl-0 = <&sound_pins &sound_clk_pins>;
585 pinctrl-names = "default";
586
Kuninori Morimotod2b541c2014-12-17 06:12:02 +0000587 /* Single DAI */
Kuninori Morimotob160f612014-11-03 17:49:00 -0800588 #sound-dai-cells = <0>;
589
590 status = "okay";
591
592 rcar_sound,dai {
593 dai0 {
Kuninori Morimoto5c6d4b92014-11-03 17:49:45 -0800594 playback = <&ssi0 &src2 &dvc0>;
595 capture = <&ssi1 &src3 &dvc1>;
Kuninori Morimotob160f612014-11-03 17:49:00 -0800596 };
597 };
598};
599
Kuninori Morimotob160f612014-11-03 17:49:00 -0800600&ssi1 {
Kuninori Morimotob160f612014-11-03 17:49:00 -0800601 shared-pin;
602};