0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Device Tree Source for the Gose board
0004 *
0005 * Copyright (C) 2014-2015 Renesas Electronics Corporation
0006 */
0007
0008 /*
0009 * SSI-AK4643
0010 *
0011 * SW1: 1: AK4643
0012 * 2: CN22
0013 * 3: ADV7511
0014 *
0015 * This command is required when Playback/Capture
0016 *
0017 * amixer set "LINEOUT Mixer DACL" on
0018 * amixer set "DVC Out" 100%
0019 * amixer set "DVC In" 100%
0020 *
0021 * You can use Mute
0022 *
0023 * amixer set "DVC Out Mute" on
0024 * amixer set "DVC In Mute" on
0025 *
0026 * You can use Volume Ramp
0027 *
0028 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
0029 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
0030 * amixer set "DVC Out Ramp" on
0031 * aplay xxx.wav &
0032 * amixer set "DVC Out" 80% // Volume Down
0033 * amixer set "DVC Out" 100% // Volume Up
0034 */
0035
0036 /dts-v1/;
0037 #include "r8a7793.dtsi"
0038 #include <dt-bindings/gpio/gpio.h>
0039 #include <dt-bindings/input/input.h>
0040
0041 / {
0042 model = "Gose";
0043 compatible = "renesas,gose", "renesas,r8a7793";
0044
0045 aliases {
0046 serial0 = &scif0;
0047 serial1 = &scif1;
0048 i2c9 = &gpioi2c2;
0049 i2c10 = &gpioi2c4;
0050 i2c11 = &i2chdmi;
0051 i2c12 = &i2cexio4;
0052 mmc0 = &sdhi0;
0053 mmc1 = &sdhi1;
0054 mmc2 = &sdhi2;
0055 };
0056
0057 chosen {
0058 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
0059 stdout-path = "serial0:115200n8";
0060 };
0061
0062 memory@40000000 {
0063 device_type = "memory";
0064 reg = <0 0x40000000 0 0x40000000>;
0065 };
0066
0067 keyboard {
0068 compatible = "gpio-keys";
0069
0070 pinctrl-0 = <&keyboard_pins>;
0071 pinctrl-names = "default";
0072
0073 key-1 {
0074 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
0075 linux,code = <KEY_1>;
0076 label = "SW2-1";
0077 wakeup-source;
0078 debounce-interval = <20>;
0079 };
0080 key-2 {
0081 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
0082 linux,code = <KEY_2>;
0083 label = "SW2-2";
0084 wakeup-source;
0085 debounce-interval = <20>;
0086 };
0087 key-3 {
0088 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
0089 linux,code = <KEY_3>;
0090 label = "SW2-3";
0091 wakeup-source;
0092 debounce-interval = <20>;
0093 };
0094 key-4 {
0095 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
0096 linux,code = <KEY_4>;
0097 label = "SW2-4";
0098 wakeup-source;
0099 debounce-interval = <20>;
0100 };
0101 key-a {
0102 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
0103 linux,code = <KEY_A>;
0104 label = "SW30";
0105 wakeup-source;
0106 debounce-interval = <20>;
0107 };
0108 key-b {
0109 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
0110 linux,code = <KEY_B>;
0111 label = "SW31";
0112 wakeup-source;
0113 debounce-interval = <20>;
0114 };
0115 key-c {
0116 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
0117 linux,code = <KEY_C>;
0118 label = "SW32";
0119 wakeup-source;
0120 debounce-interval = <20>;
0121 };
0122 key-d {
0123 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
0124 linux,code = <KEY_D>;
0125 label = "SW33";
0126 wakeup-source;
0127 debounce-interval = <20>;
0128 };
0129 key-e {
0130 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
0131 linux,code = <KEY_E>;
0132 label = "SW34";
0133 wakeup-source;
0134 debounce-interval = <20>;
0135 };
0136 key-f {
0137 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
0138 linux,code = <KEY_F>;
0139 label = "SW35";
0140 wakeup-source;
0141 debounce-interval = <20>;
0142 };
0143 key-g {
0144 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
0145 linux,code = <KEY_G>;
0146 label = "SW36";
0147 wakeup-source;
0148 debounce-interval = <20>;
0149 };
0150 };
0151
0152 leds {
0153 compatible = "gpio-leds";
0154 led6 {
0155 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
0156 label = "LED6";
0157 };
0158 led7 {
0159 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
0160 label = "LED7";
0161 };
0162 led8 {
0163 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
0164 label = "LED8";
0165 };
0166 };
0167
0168 vcc_sdhi0: regulator-vcc-sdhi0 {
0169 compatible = "regulator-fixed";
0170
0171 regulator-name = "SDHI0 Vcc";
0172 regulator-min-microvolt = <3300000>;
0173 regulator-max-microvolt = <3300000>;
0174
0175 gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
0176 enable-active-high;
0177 };
0178
0179 vccq_sdhi0: regulator-vccq-sdhi0 {
0180 compatible = "regulator-gpio";
0181
0182 regulator-name = "SDHI0 VccQ";
0183 regulator-min-microvolt = <1800000>;
0184 regulator-max-microvolt = <3300000>;
0185
0186 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
0187 gpios-states = <1>;
0188 states = <3300000 1>, <1800000 0>;
0189 };
0190
0191 vcc_sdhi1: regulator-vcc-sdhi1 {
0192 compatible = "regulator-fixed";
0193
0194 regulator-name = "SDHI1 Vcc";
0195 regulator-min-microvolt = <3300000>;
0196 regulator-max-microvolt = <3300000>;
0197
0198 gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
0199 enable-active-high;
0200 };
0201
0202 vccq_sdhi1: regulator-vccq-sdhi1 {
0203 compatible = "regulator-gpio";
0204
0205 regulator-name = "SDHI1 VccQ";
0206 regulator-min-microvolt = <1800000>;
0207 regulator-max-microvolt = <3300000>;
0208
0209 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
0210 gpios-states = <1>;
0211 states = <3300000 1>, <1800000 0>;
0212 };
0213
0214 vcc_sdhi2: regulator-vcc-sdhi2 {
0215 compatible = "regulator-fixed";
0216
0217 regulator-name = "SDHI2 Vcc";
0218 regulator-min-microvolt = <3300000>;
0219 regulator-max-microvolt = <3300000>;
0220
0221 gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
0222 enable-active-high;
0223 };
0224
0225 vccq_sdhi2: regulator-vccq-sdhi2 {
0226 compatible = "regulator-gpio";
0227
0228 regulator-name = "SDHI2 VccQ";
0229 regulator-min-microvolt = <1800000>;
0230 regulator-max-microvolt = <3300000>;
0231
0232 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
0233 gpios-states = <1>;
0234 states = <3300000 1>, <1800000 0>;
0235 };
0236
0237 audio_clock: audio_clock {
0238 compatible = "fixed-clock";
0239 #clock-cells = <0>;
0240 clock-frequency = <11289600>;
0241 };
0242
0243 rsnd_ak4643: sound {
0244 compatible = "simple-audio-card";
0245
0246 simple-audio-card,format = "left_j";
0247 simple-audio-card,bitclock-master = <&sndcodec>;
0248 simple-audio-card,frame-master = <&sndcodec>;
0249
0250 sndcpu: simple-audio-card,cpu {
0251 sound-dai = <&rcar_sound>;
0252 };
0253
0254 sndcodec: simple-audio-card,codec {
0255 sound-dai = <&ak4643>;
0256 clocks = <&audio_clock>;
0257 };
0258 };
0259
0260 hdmi-in {
0261 compatible = "hdmi-connector";
0262 type = "a";
0263
0264 port {
0265 hdmi_con_in: endpoint {
0266 remote-endpoint = <&adv7612_in>;
0267 };
0268 };
0269 };
0270
0271 hdmi-out {
0272 compatible = "hdmi-connector";
0273 type = "a";
0274
0275 port {
0276 hdmi_con_out: endpoint {
0277 remote-endpoint = <&adv7511_out>;
0278 };
0279 };
0280 };
0281
0282 composite-in {
0283 compatible = "composite-video-connector";
0284
0285 port {
0286 composite_con_in: endpoint {
0287 remote-endpoint = <&adv7180_in>;
0288 };
0289 };
0290 };
0291
0292 x2_clk: x2-clock {
0293 compatible = "fixed-clock";
0294 #clock-cells = <0>;
0295 clock-frequency = <74250000>;
0296 };
0297
0298 x13_clk: x13-clock {
0299 compatible = "fixed-clock";
0300 #clock-cells = <0>;
0301 clock-frequency = <148500000>;
0302 };
0303
0304 gpioi2c2: i2c-9 {
0305 #address-cells = <1>;
0306 #size-cells = <0>;
0307 compatible = "i2c-gpio";
0308 status = "disabled";
0309 scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0310 sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0311 i2c-gpio,delay-us = <5>;
0312 };
0313
0314 gpioi2c4: i2c-10 {
0315 #address-cells = <1>;
0316 #size-cells = <0>;
0317 compatible = "i2c-gpio";
0318 status = "disabled";
0319 scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0320 sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0321 i2c-gpio,delay-us = <5>;
0322 };
0323
0324 /*
0325 * A fallback to GPIO is provided for I2C2.
0326 */
0327 i2chdmi: i2c-11 {
0328 compatible = "i2c-demux-pinctrl";
0329 i2c-parent = <&i2c2>, <&gpioi2c2>;
0330 i2c-bus-name = "i2c-hdmi";
0331 #address-cells = <1>;
0332 #size-cells = <0>;
0333
0334 ak4643: codec@12 {
0335 compatible = "asahi-kasei,ak4643";
0336 #sound-dai-cells = <0>;
0337 reg = <0x12>;
0338 };
0339
0340 composite-in@20 {
0341 compatible = "adi,adv7180cp";
0342 reg = <0x20>;
0343
0344 ports {
0345 #address-cells = <1>;
0346 #size-cells = <0>;
0347
0348 port@0 {
0349 reg = <0>;
0350 adv7180_in: endpoint {
0351 remote-endpoint = <&composite_con_in>;
0352 };
0353 };
0354
0355 port@3 {
0356 reg = <3>;
0357 adv7180_out: endpoint {
0358 bus-width = <8>;
0359 remote-endpoint = <&vin1ep>;
0360 };
0361 };
0362 };
0363 };
0364
0365 hdmi@39 {
0366 compatible = "adi,adv7511w";
0367 reg = <0x39>;
0368 interrupt-parent = <&gpio3>;
0369 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
0370
0371 adi,input-depth = <8>;
0372 adi,input-colorspace = "rgb";
0373 adi,input-clock = "1x";
0374
0375 ports {
0376 #address-cells = <1>;
0377 #size-cells = <0>;
0378
0379 port@0 {
0380 reg = <0>;
0381 adv7511_in: endpoint {
0382 remote-endpoint = <&du_out_rgb>;
0383 };
0384 };
0385
0386 port@1 {
0387 reg = <1>;
0388 adv7511_out: endpoint {
0389 remote-endpoint = <&hdmi_con_out>;
0390 };
0391 };
0392 };
0393 };
0394
0395 hdmi-in@4c {
0396 compatible = "adi,adv7612";
0397 reg = <0x4c>;
0398 interrupt-parent = <&gpio4>;
0399 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0400 default-input = <0>;
0401
0402 ports {
0403 #address-cells = <1>;
0404 #size-cells = <0>;
0405
0406 port@0 {
0407 reg = <0>;
0408 adv7612_in: endpoint {
0409 remote-endpoint = <&hdmi_con_in>;
0410 };
0411 };
0412
0413 port@2 {
0414 reg = <2>;
0415 adv7612_out: endpoint {
0416 remote-endpoint = <&vin0ep2>;
0417 };
0418 };
0419 };
0420 };
0421
0422 eeprom@50 {
0423 compatible = "renesas,r1ex24002", "atmel,24c02";
0424 reg = <0x50>;
0425 pagesize = <16>;
0426 };
0427 };
0428
0429 /*
0430 * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA).
0431 * A fallback to GPIO is provided.
0432 */
0433 i2cexio4: i2c-12 {
0434 compatible = "i2c-demux-pinctrl";
0435 i2c-parent = <&i2c4>, <&gpioi2c4>;
0436 i2c-bus-name = "i2c-exio4";
0437 #address-cells = <1>;
0438 #size-cells = <0>;
0439 };
0440 };
0441
0442 &du {
0443 pinctrl-0 = <&du_pins>;
0444 pinctrl-names = "default";
0445 status = "okay";
0446
0447 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
0448 <&x13_clk>, <&x2_clk>;
0449 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
0450
0451 ports {
0452 port@0 {
0453 endpoint {
0454 remote-endpoint = <&adv7511_in>;
0455 };
0456 };
0457 };
0458 };
0459
0460 &lvds0 {
0461 ports {
0462 port@1 {
0463 lvds_connector: endpoint {
0464 };
0465 };
0466 };
0467 };
0468
0469 &extal_clk {
0470 clock-frequency = <20000000>;
0471 };
0472
0473 &pfc {
0474 pinctrl-0 = <&scif_clk_pins>;
0475 pinctrl-names = "default";
0476
0477 i2c2_pins: i2c2 {
0478 groups = "i2c2";
0479 function = "i2c2";
0480 };
0481
0482 i2c4_pins: i2c4 {
0483 groups = "i2c4_c";
0484 function = "i2c4";
0485 };
0486
0487 du_pins: du {
0488 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
0489 function = "du";
0490 };
0491
0492 scif0_pins: scif0 {
0493 groups = "scif0_data_d";
0494 function = "scif0";
0495 };
0496
0497 scif1_pins: scif1 {
0498 groups = "scif1_data_d";
0499 function = "scif1";
0500 };
0501
0502 scif_clk_pins: scif_clk {
0503 groups = "scif_clk";
0504 function = "scif_clk";
0505 };
0506
0507 ether_pins: ether {
0508 groups = "eth_link", "eth_mdio", "eth_rmii";
0509 function = "eth";
0510 };
0511
0512 phy1_pins: phy1 {
0513 groups = "intc_irq0";
0514 function = "intc";
0515 };
0516
0517 pmic_irq_pins: pmicirq {
0518 groups = "intc_irq2";
0519 function = "intc";
0520 };
0521
0522 sdhi0_pins: sd0 {
0523 groups = "sdhi0_data4", "sdhi0_ctrl";
0524 function = "sdhi0";
0525 power-source = <3300>;
0526 };
0527
0528 sdhi0_pins_uhs: sd0_uhs {
0529 groups = "sdhi0_data4", "sdhi0_ctrl";
0530 function = "sdhi0";
0531 power-source = <1800>;
0532 };
0533
0534 sdhi1_pins: sd1 {
0535 groups = "sdhi1_data4", "sdhi1_ctrl";
0536 function = "sdhi1";
0537 power-source = <3300>;
0538 };
0539
0540 sdhi1_pins_uhs: sd1_uhs {
0541 groups = "sdhi1_data4", "sdhi1_ctrl";
0542 function = "sdhi1";
0543 power-source = <1800>;
0544 };
0545
0546 sdhi2_pins: sd2 {
0547 groups = "sdhi2_data4", "sdhi2_ctrl";
0548 function = "sdhi2";
0549 power-source = <3300>;
0550 };
0551
0552 sdhi2_pins_uhs: sd2_uhs {
0553 groups = "sdhi2_data4", "sdhi2_ctrl";
0554 function = "sdhi2";
0555 power-source = <1800>;
0556 };
0557
0558 qspi_pins: qspi {
0559 groups = "qspi_ctrl", "qspi_data4";
0560 function = "qspi";
0561 };
0562
0563 sound_pins: sound {
0564 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
0565 function = "ssi";
0566 };
0567
0568 sound_clk_pins: sound_clk {
0569 groups = "audio_clk_a";
0570 function = "audio_clk";
0571 };
0572
0573 keyboard_pins: keyboard {
0574 pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3";
0575 bias-pull-up;
0576 };
0577
0578 vin0_pins: vin0 {
0579 groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
0580 function = "vin0";
0581 };
0582
0583 vin1_pins: vin1 {
0584 groups = "vin1_data8", "vin1_clk";
0585 function = "vin1";
0586 };
0587 };
0588
0589 ðer {
0590 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
0591 pinctrl-names = "default";
0592
0593 phy-handle = <&phy1>;
0594 renesas,ether-link-active-low;
0595 status = "okay";
0596
0597 phy1: ethernet-phy@1 {
0598 compatible = "ethernet-phy-id0022.1537",
0599 "ethernet-phy-ieee802.3-c22";
0600 reg = <1>;
0601 interrupt-parent = <&irqc0>;
0602 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
0603 micrel,led-mode = <1>;
0604 reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
0605 };
0606 };
0607
0608 &cmt0 {
0609 status = "okay";
0610 };
0611
0612 &cpu0 {
0613 cpu0-supply = <&vdd_dvfs>;
0614 };
0615
0616 &rwdt {
0617 timeout-sec = <60>;
0618 status = "okay";
0619 };
0620
0621 &scif0 {
0622 pinctrl-0 = <&scif0_pins>;
0623 pinctrl-names = "default";
0624
0625 status = "okay";
0626 };
0627
0628 &scif1 {
0629 pinctrl-0 = <&scif1_pins>;
0630 pinctrl-names = "default";
0631
0632 status = "okay";
0633 };
0634
0635 &scif_clk {
0636 clock-frequency = <14745600>;
0637 };
0638
0639 &sdhi0 {
0640 pinctrl-0 = <&sdhi0_pins>;
0641 pinctrl-1 = <&sdhi0_pins_uhs>;
0642 pinctrl-names = "default", "state_uhs";
0643
0644 vmmc-supply = <&vcc_sdhi0>;
0645 vqmmc-supply = <&vccq_sdhi0>;
0646 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
0647 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
0648 sd-uhs-sdr50;
0649 sd-uhs-sdr104;
0650 status = "okay";
0651 };
0652
0653 &sdhi1 {
0654 pinctrl-0 = <&sdhi1_pins>;
0655 pinctrl-1 = <&sdhi1_pins_uhs>;
0656 pinctrl-names = "default", "state_uhs";
0657
0658 vmmc-supply = <&vcc_sdhi1>;
0659 vqmmc-supply = <&vccq_sdhi1>;
0660 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
0661 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
0662 sd-uhs-sdr50;
0663 status = "okay";
0664 };
0665
0666 &sdhi2 {
0667 pinctrl-0 = <&sdhi2_pins>;
0668 pinctrl-1 = <&sdhi2_pins_uhs>;
0669 pinctrl-names = "default", "state_uhs";
0670
0671 vmmc-supply = <&vcc_sdhi2>;
0672 vqmmc-supply = <&vccq_sdhi2>;
0673 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
0674 sd-uhs-sdr50;
0675 status = "okay";
0676 };
0677
0678 &qspi {
0679 pinctrl-0 = <&qspi_pins>;
0680 pinctrl-names = "default";
0681
0682 status = "okay";
0683
0684 flash@0 {
0685 compatible = "spansion,s25fl512s", "jedec,spi-nor";
0686 reg = <0>;
0687 spi-max-frequency = <30000000>;
0688 spi-tx-bus-width = <4>;
0689 spi-rx-bus-width = <4>;
0690 spi-cpol;
0691 spi-cpha;
0692 m25p,fast-read;
0693
0694 partitions {
0695 compatible = "fixed-partitions";
0696 #address-cells = <1>;
0697 #size-cells = <1>;
0698
0699 partition@0 {
0700 label = "loader";
0701 reg = <0x00000000 0x00040000>;
0702 read-only;
0703 };
0704 partition@40000 {
0705 label = "user";
0706 reg = <0x00040000 0x00400000>;
0707 read-only;
0708 };
0709 partition@440000 {
0710 label = "flash";
0711 reg = <0x00440000 0x03bc0000>;
0712 };
0713 };
0714 };
0715 };
0716
0717 &i2c2 {
0718 pinctrl-0 = <&i2c2_pins>;
0719 pinctrl-names = "i2c-hdmi";
0720
0721 status = "okay";
0722 clock-frequency = <100000>;
0723
0724 };
0725
0726 &i2c6 {
0727 pinctrl-names = "default";
0728 pinctrl-0 = <&pmic_irq_pins>;
0729 status = "okay";
0730 clock-frequency = <100000>;
0731
0732 pmic@58 {
0733 compatible = "dlg,da9063";
0734 reg = <0x58>;
0735 interrupt-parent = <&irqc0>;
0736 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0737 interrupt-controller;
0738
0739 rtc {
0740 compatible = "dlg,da9063-rtc";
0741 };
0742
0743 watchdog {
0744 compatible = "dlg,da9063-watchdog";
0745 };
0746 };
0747
0748 vdd_dvfs: regulator@68 {
0749 compatible = "dlg,da9210";
0750 reg = <0x68>;
0751 interrupt-parent = <&irqc0>;
0752 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0753
0754 regulator-min-microvolt = <1000000>;
0755 regulator-max-microvolt = <1000000>;
0756 regulator-boot-on;
0757 regulator-always-on;
0758 };
0759 };
0760
0761 &i2c4 {
0762 pinctrl-0 = <&i2c4_pins>;
0763 pinctrl-names = "i2c-exio4";
0764 };
0765
0766 &rcar_sound {
0767 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
0768 pinctrl-names = "default";
0769
0770 /* Single DAI */
0771 #sound-dai-cells = <0>;
0772
0773 status = "okay";
0774
0775 rcar_sound,dai {
0776 dai0 {
0777 playback = <&ssi0>, <&src2>, <&dvc0>;
0778 capture = <&ssi1>, <&src3>, <&dvc1>;
0779 };
0780 };
0781 };
0782
0783 &ssi1 {
0784 shared-pin;
0785 };
0786
0787 /* HDMI video input */
0788 &vin0 {
0789 status = "okay";
0790 pinctrl-0 = <&vin0_pins>;
0791 pinctrl-names = "default";
0792
0793 port {
0794 vin0ep2: endpoint {
0795 remote-endpoint = <&adv7612_out>;
0796 bus-width = <24>;
0797 hsync-active = <0>;
0798 vsync-active = <0>;
0799 pclk-sample = <1>;
0800 data-active = <1>;
0801 };
0802 };
0803 };
0804
0805 /* composite video input */
0806 &vin1 {
0807 pinctrl-0 = <&vin1_pins>;
0808 pinctrl-names = "default";
0809
0810 status = "okay";
0811
0812 port {
0813 vin1ep: endpoint {
0814 remote-endpoint = <&adv7180_out>;
0815 bus-width = <8>;
0816 };
0817 };
0818 };