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 interrupts-extended = <&gpio3 29 IRQ_TYPE_LEVEL_LOW>; 387 388 avdd-supply = <®_1p8v>; 389 dvdd-supply = <®_1p8v>; 390 pvdd-supply = <®_1p8v>; 391 dvdd-3v-supply = <®_3p3v>; 392 bgvdd-supply = <®_1p8v>; 393 394 adi,input-depth = <8>; 395 adi,input-colorspace = "rgb"; 396 adi,input-clock = "1x"; 397 398 ports { 399 #address-cells = <1>; 400 #size-cells = <0>; 401 402 port@0 { 403 reg = <0>; 404 adv7511_in: endpoint { 405 remote-endpoint = <&du_out_rgb>; 406 }; 407 }; 408 409 port@1 { 410 reg = <1>; 411 adv7511_out: endpoint { 412 remote-endpoint = <&hdmi_con_out>; 413 }; 414 }; 415 }; 416 }; 417 418 hdmi-in@4c { 419 compatible = "adi,adv7612"; 420 reg = <0x4c>; 421 interrupts-extended = <&gpio4 2 IRQ_TYPE_LEVEL_LOW>; 422 default-input = <0>; 423 424 ports { 425 #address-cells = <1>; 426 #size-cells = <0>; 427 428 port@0 { 429 reg = <0>; 430 adv7612_in: endpoint { 431 remote-endpoint = <&hdmi_con_in>; 432 }; 433 }; 434 435 port@2 { 436 reg = <2>; 437 adv7612_out: endpoint { 438 remote-endpoint = <&vin0ep2>; 439 }; 440 }; 441 }; 442 }; 443 444 eeprom@50 { 445 compatible = "renesas,r1ex24002", "atmel,24c02"; 446 reg = <0x50>; 447 pagesize = <16>; 448 }; 449 }; 450 451 /* 452 * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA). 453 * A fallback to GPIO is provided. 454 */ 455 i2cexio4: i2c-mux2 { 456 compatible = "i2c-demux-pinctrl"; 457 i2c-parent = <&i2c4>, <&gpioi2c4>; 458 i2c-bus-name = "i2c-exio4"; 459 #address-cells = <1>; 460 #size-cells = <0>; 461 }; 462}; 463 464&du { 465 pinctrl-0 = <&du_pins>; 466 pinctrl-names = "default"; 467 status = "okay"; 468 469 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, 470 <&x13_clk>, <&x2_clk>; 471 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1"; 472 473 ports { 474 port@0 { 475 endpoint { 476 remote-endpoint = <&adv7511_in>; 477 }; 478 }; 479 }; 480}; 481 482&lvds0 { 483 ports { 484 port@1 { 485 lvds_connector: endpoint { 486 }; 487 }; 488 }; 489}; 490 491&extal_clk { 492 clock-frequency = <20000000>; 493}; 494 495&pfc { 496 pinctrl-0 = <&scif_clk_pins>; 497 pinctrl-names = "default"; 498 499 i2c2_pins: i2c2 { 500 groups = "i2c2"; 501 function = "i2c2"; 502 }; 503 504 i2c4_pins: i2c4 { 505 groups = "i2c4_c"; 506 function = "i2c4"; 507 }; 508 509 du_pins: du { 510 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; 511 function = "du"; 512 }; 513 514 scif0_pins: scif0 { 515 groups = "scif0_data_d"; 516 function = "scif0"; 517 }; 518 519 scif1_pins: scif1 { 520 groups = "scif1_data_d"; 521 function = "scif1"; 522 }; 523 524 scif_clk_pins: scif_clk { 525 groups = "scif_clk"; 526 function = "scif_clk"; 527 }; 528 529 ether_pins: ether { 530 groups = "eth_link", "eth_mdio", "eth_rmii"; 531 function = "eth"; 532 }; 533 534 phy1_pins: phy1 { 535 groups = "intc_irq0"; 536 function = "intc"; 537 }; 538 539 pmic_irq_pins: pmicirq { 540 groups = "intc_irq2"; 541 function = "intc"; 542 }; 543 544 sdhi0_pins: sd0 { 545 groups = "sdhi0_data4", "sdhi0_ctrl"; 546 function = "sdhi0"; 547 power-source = <3300>; 548 }; 549 550 sdhi0_pins_uhs: sd0_uhs { 551 groups = "sdhi0_data4", "sdhi0_ctrl"; 552 function = "sdhi0"; 553 power-source = <1800>; 554 }; 555 556 sdhi1_pins: sd1 { 557 groups = "sdhi1_data4", "sdhi1_ctrl"; 558 function = "sdhi1"; 559 power-source = <3300>; 560 }; 561 562 sdhi1_pins_uhs: sd1_uhs { 563 groups = "sdhi1_data4", "sdhi1_ctrl"; 564 function = "sdhi1"; 565 power-source = <1800>; 566 }; 567 568 sdhi2_pins: sd2 { 569 groups = "sdhi2_data4", "sdhi2_ctrl"; 570 function = "sdhi2"; 571 power-source = <3300>; 572 }; 573 574 sdhi2_pins_uhs: sd2_uhs { 575 groups = "sdhi2_data4", "sdhi2_ctrl"; 576 function = "sdhi2"; 577 power-source = <1800>; 578 }; 579 580 qspi_pins: qspi { 581 groups = "qspi_ctrl", "qspi_data4"; 582 function = "qspi"; 583 }; 584 585 sound_pins: sound { 586 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; 587 function = "ssi"; 588 }; 589 590 sound_clk_pins: sound_clk { 591 groups = "audio_clk_a"; 592 function = "audio_clk"; 593 }; 594 595 keyboard_pins: keyboard { 596 pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3"; 597 bias-pull-up; 598 }; 599 600 vin0_pins: vin0 { 601 groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk"; 602 function = "vin0"; 603 }; 604 605 vin1_pins: vin1 { 606 groups = "vin1_data8", "vin1_clk"; 607 function = "vin1"; 608 }; 609}; 610 611ðer { 612 pinctrl-0 = <ðer_pins>, <&phy1_pins>; 613 pinctrl-names = "default"; 614 615 phy-handle = <&phy1>; 616 renesas,ether-link-active-low; 617 status = "okay"; 618 619 phy1: ethernet-phy@1 { 620 compatible = "ethernet-phy-id0022.1537", 621 "ethernet-phy-ieee802.3-c22"; 622 reg = <1>; 623 interrupts-extended = <&irqc0 0 IRQ_TYPE_LEVEL_LOW>; 624 micrel,led-mode = <1>; 625 reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; 626 }; 627}; 628 629&cmt0 { 630 status = "okay"; 631}; 632 633&cpu0 { 634 cpu0-supply = <&vdd_dvfs>; 635}; 636 637&rwdt { 638 timeout-sec = <60>; 639 status = "okay"; 640}; 641 642&scif0 { 643 pinctrl-0 = <&scif0_pins>; 644 pinctrl-names = "default"; 645 646 status = "okay"; 647}; 648 649&scif1 { 650 pinctrl-0 = <&scif1_pins>; 651 pinctrl-names = "default"; 652 653 status = "okay"; 654}; 655 656&scif_clk { 657 clock-frequency = <14745600>; 658}; 659 660&sdhi0 { 661 pinctrl-0 = <&sdhi0_pins>; 662 pinctrl-1 = <&sdhi0_pins_uhs>; 663 pinctrl-names = "default", "state_uhs"; 664 665 vmmc-supply = <&vcc_sdhi0>; 666 vqmmc-supply = <&vccq_sdhi0>; 667 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 668 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 669 sd-uhs-sdr50; 670 sd-uhs-sdr104; 671 status = "okay"; 672}; 673 674&sdhi1 { 675 pinctrl-0 = <&sdhi1_pins>; 676 pinctrl-1 = <&sdhi1_pins_uhs>; 677 pinctrl-names = "default", "state_uhs"; 678 679 vmmc-supply = <&vcc_sdhi1>; 680 vqmmc-supply = <&vccq_sdhi1>; 681 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; 682 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; 683 sd-uhs-sdr50; 684 status = "okay"; 685}; 686 687&sdhi2 { 688 pinctrl-0 = <&sdhi2_pins>; 689 pinctrl-1 = <&sdhi2_pins_uhs>; 690 pinctrl-names = "default", "state_uhs"; 691 692 vmmc-supply = <&vcc_sdhi2>; 693 vqmmc-supply = <&vccq_sdhi2>; 694 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; 695 sd-uhs-sdr50; 696 status = "okay"; 697}; 698 699&qspi { 700 pinctrl-0 = <&qspi_pins>; 701 pinctrl-names = "default"; 702 703 status = "okay"; 704 705 flash@0 { 706 compatible = "spansion,s25fl512s", "jedec,spi-nor"; 707 reg = <0>; 708 spi-max-frequency = <30000000>; 709 spi-tx-bus-width = <4>; 710 spi-rx-bus-width = <4>; 711 spi-cpol; 712 spi-cpha; 713 m25p,fast-read; 714 715 partitions { 716 compatible = "fixed-partitions"; 717 #address-cells = <1>; 718 #size-cells = <1>; 719 720 partition@0 { 721 label = "loader"; 722 reg = <0x00000000 0x00040000>; 723 read-only; 724 }; 725 partition@40000 { 726 label = "user"; 727 reg = <0x00040000 0x00400000>; 728 read-only; 729 }; 730 partition@440000 { 731 label = "flash"; 732 reg = <0x00440000 0x03bc0000>; 733 }; 734 }; 735 }; 736}; 737 738&i2c2 { 739 pinctrl-0 = <&i2c2_pins>; 740 pinctrl-names = "i2c-hdmi"; 741 742 status = "okay"; 743 clock-frequency = <100000>; 744 745}; 746 747&i2c6 { 748 pinctrl-names = "default"; 749 pinctrl-0 = <&pmic_irq_pins>; 750 status = "okay"; 751 clock-frequency = <100000>; 752 753 pmic@58 { 754 compatible = "dlg,da9063"; 755 reg = <0x58>; 756 interrupts-extended = <&irqc0 2 IRQ_TYPE_LEVEL_LOW>; 757 interrupt-controller; 758 #interrupt-cells = <2>; 759 760 rtc { 761 compatible = "dlg,da9063-rtc"; 762 }; 763 764 watchdog { 765 compatible = "dlg,da9063-watchdog"; 766 }; 767 }; 768 769 vdd_dvfs: regulator@68 { 770 compatible = "dlg,da9210"; 771 reg = <0x68>; 772 interrupts-extended = <&irqc0 2 IRQ_TYPE_LEVEL_LOW>; 773 774 regulator-min-microvolt = <1000000>; 775 regulator-max-microvolt = <1000000>; 776 regulator-boot-on; 777 regulator-always-on; 778 }; 779}; 780 781&i2c4 { 782 pinctrl-0 = <&i2c4_pins>; 783 pinctrl-names = "i2c-exio4"; 784}; 785 786&rcar_sound { 787 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 788 pinctrl-names = "default"; 789 790 /* Single DAI */ 791 #sound-dai-cells = <0>; 792 793 status = "okay"; 794 795 rcar_sound,dai { 796 dai0 { 797 playback = <&ssi0>, <&src2>, <&dvc0>; 798 capture = <&ssi1>, <&src3>, <&dvc1>; 799 }; 800 }; 801}; 802 803&ssi1 { 804 shared-pin; 805}; 806 807/* HDMI video input */ 808&vin0 { 809 status = "okay"; 810 pinctrl-0 = <&vin0_pins>; 811 pinctrl-names = "default"; 812 813 port { 814 vin0ep2: endpoint { 815 remote-endpoint = <&adv7612_out>; 816 bus-width = <24>; 817 hsync-active = <0>; 818 vsync-active = <0>; 819 pclk-sample = <1>; 820 data-active = <1>; 821 }; 822 }; 823}; 824 825/* composite video input */ 826&vin1 { 827 pinctrl-0 = <&vin1_pins>; 828 pinctrl-names = "default"; 829 830 status = "okay"; 831 832 port { 833 vin1ep: endpoint { 834 remote-endpoint = <&adv7180_out>; 835 bus-width = <8>; 836 }; 837 }; 838}; 839