1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device Tree Source for the Lager board 4 * 5 * Copyright (C) 2013-2014 Renesas Solutions Corp. 6 * Copyright (C) 2014 Cogent Embedded, Inc. 7 * Copyright (C) 2015-2016 Renesas Electronics Corporation 8 */ 9 10/* 11 * SSI-AK4643 12 * 13 * SW1: 1: AK4643 14 * 2: CN22 15 * 3: ADV7511 16 * 17 * This command is required when Playback/Capture 18 * 19 * amixer set "LINEOUT Mixer DACL" on 20 * amixer set "DVC Out" 100% 21 * amixer set "DVC In" 100% 22 * 23 * You can use Mute 24 * 25 * amixer set "DVC Out Mute" on 26 * amixer set "DVC In Mute" on 27 * 28 * You can use Volume Ramp 29 * 30 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 31 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 32 * amixer set "DVC Out Ramp" on 33 * aplay xxx.wav & 34 * amixer set "DVC Out" 80% // Volume Down 35 * amixer set "DVC Out" 100% // Volume Up 36 */ 37 38/dts-v1/; 39#include "r8a7790.dtsi" 40#include <dt-bindings/gpio/gpio.h> 41#include <dt-bindings/input/input.h> 42 43/ { 44 model = "Lager"; 45 compatible = "renesas,lager", "renesas,r8a7790"; 46 47 aliases { 48 serial0 = &scif0; 49 serial1 = &scifa1; 50 i2c8 = &gpioi2c1; 51 i2c9 = &gpioi2c2; 52 i2c10 = &i2cexio0; 53 i2c11 = &i2cexio1; 54 i2c12 = &i2chdmi; 55 i2c13 = &i2cpwr; 56 mmc0 = &mmcif1; 57 mmc1 = &sdhi0; 58 mmc2 = &sdhi2; 59 }; 60 61 chosen { 62 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 63 stdout-path = "serial0:115200n8"; 64 }; 65 66 memory@40000000 { 67 device_type = "memory"; 68 reg = <0 0x40000000 0 0x40000000>; 69 }; 70 71 memory@140000000 { 72 device_type = "memory"; 73 reg = <1 0x40000000 0 0xc0000000>; 74 }; 75 76 keyboard { 77 compatible = "gpio-keys"; 78 79 pinctrl-0 = <&keyboard_pins>; 80 pinctrl-names = "default"; 81 82 one { 83 linux,code = <KEY_1>; 84 label = "SW2-1"; 85 wakeup-source; 86 debounce-interval = <20>; 87 gpios = <&gpio1 14 GPIO_ACTIVE_LOW>; 88 }; 89 two { 90 linux,code = <KEY_2>; 91 label = "SW2-2"; 92 wakeup-source; 93 debounce-interval = <20>; 94 gpios = <&gpio1 24 GPIO_ACTIVE_LOW>; 95 }; 96 three { 97 linux,code = <KEY_3>; 98 label = "SW2-3"; 99 wakeup-source; 100 debounce-interval = <20>; 101 gpios = <&gpio1 26 GPIO_ACTIVE_LOW>; 102 }; 103 four { 104 linux,code = <KEY_4>; 105 label = "SW2-4"; 106 wakeup-source; 107 debounce-interval = <20>; 108 gpios = <&gpio1 28 GPIO_ACTIVE_LOW>; 109 }; 110 }; 111 112 leds { 113 compatible = "gpio-leds"; 114 led6 { 115 gpios = <&gpio4 22 GPIO_ACTIVE_HIGH>; 116 }; 117 led7 { 118 gpios = <&gpio4 23 GPIO_ACTIVE_HIGH>; 119 }; 120 led8 { 121 gpios = <&gpio5 17 GPIO_ACTIVE_HIGH>; 122 }; 123 }; 124 125 fixedregulator3v3: regulator-3v3 { 126 compatible = "regulator-fixed"; 127 regulator-name = "fixed-3.3V"; 128 regulator-min-microvolt = <3300000>; 129 regulator-max-microvolt = <3300000>; 130 regulator-boot-on; 131 regulator-always-on; 132 }; 133 134 vcc_sdhi0: regulator-vcc-sdhi0 { 135 compatible = "regulator-fixed"; 136 137 regulator-name = "SDHI0 Vcc"; 138 regulator-min-microvolt = <3300000>; 139 regulator-max-microvolt = <3300000>; 140 141 gpio = <&gpio5 24 GPIO_ACTIVE_HIGH>; 142 enable-active-high; 143 }; 144 145 vccq_sdhi0: regulator-vccq-sdhi0 { 146 compatible = "regulator-gpio"; 147 148 regulator-name = "SDHI0 VccQ"; 149 regulator-min-microvolt = <1800000>; 150 regulator-max-microvolt = <3300000>; 151 152 gpios = <&gpio5 29 GPIO_ACTIVE_HIGH>; 153 gpios-states = <1>; 154 states = <3300000 1>, <1800000 0>; 155 }; 156 157 vcc_sdhi2: regulator-vcc-sdhi2 { 158 compatible = "regulator-fixed"; 159 160 regulator-name = "SDHI2 Vcc"; 161 regulator-min-microvolt = <3300000>; 162 regulator-max-microvolt = <3300000>; 163 164 gpio = <&gpio5 25 GPIO_ACTIVE_HIGH>; 165 enable-active-high; 166 }; 167 168 vccq_sdhi2: regulator-vccq-sdhi2 { 169 compatible = "regulator-gpio"; 170 171 regulator-name = "SDHI2 VccQ"; 172 regulator-min-microvolt = <1800000>; 173 regulator-max-microvolt = <3300000>; 174 175 gpios = <&gpio5 30 GPIO_ACTIVE_HIGH>; 176 gpios-states = <1>; 177 states = <3300000 1>, <1800000 0>; 178 }; 179 180 audio_clock: audio_clock { 181 compatible = "fixed-clock"; 182 #clock-cells = <0>; 183 clock-frequency = <11289600>; 184 }; 185 186 rsnd_ak4643: sound { 187 compatible = "simple-audio-card"; 188 189 simple-audio-card,format = "left_j"; 190 simple-audio-card,bitclock-master = <&sndcodec>; 191 simple-audio-card,frame-master = <&sndcodec>; 192 193 sndcpu: simple-audio-card,cpu { 194 sound-dai = <&rcar_sound>; 195 }; 196 197 sndcodec: simple-audio-card,codec { 198 sound-dai = <&ak4643>; 199 clocks = <&audio_clock>; 200 }; 201 }; 202 203 vga-encoder { 204 compatible = "adi,adv7123"; 205 206 ports { 207 #address-cells = <1>; 208 #size-cells = <0>; 209 210 port@0 { 211 reg = <0>; 212 adv7123_in: endpoint { 213 remote-endpoint = <&du_out_rgb>; 214 }; 215 }; 216 port@1 { 217 reg = <1>; 218 adv7123_out: endpoint { 219 remote-endpoint = <&vga_in>; 220 }; 221 }; 222 }; 223 }; 224 225 vga { 226 compatible = "vga-connector"; 227 228 port { 229 vga_in: endpoint { 230 remote-endpoint = <&adv7123_out>; 231 }; 232 }; 233 }; 234 235 hdmi-in { 236 compatible = "hdmi-connector"; 237 type = "a"; 238 239 port { 240 hdmi_con_in: endpoint { 241 remote-endpoint = <&adv7612_in>; 242 }; 243 }; 244 }; 245 246 cec_clock: cec-clock { 247 compatible = "fixed-clock"; 248 #clock-cells = <0>; 249 clock-frequency = <12000000>; 250 }; 251 252 hdmi-out { 253 compatible = "hdmi-connector"; 254 type = "a"; 255 256 port { 257 hdmi_con_out: endpoint { 258 remote-endpoint = <&adv7511_out>; 259 }; 260 }; 261 }; 262 263 x2_clk: x2-clock { 264 compatible = "fixed-clock"; 265 #clock-cells = <0>; 266 clock-frequency = <148500000>; 267 }; 268 269 x13_clk: x13-clock { 270 compatible = "fixed-clock"; 271 #clock-cells = <0>; 272 clock-frequency = <148500000>; 273 }; 274 275 gpioi2c1: i2c-8 { 276 #address-cells = <1>; 277 #size-cells = <0>; 278 compatible = "i2c-gpio"; 279 status = "disabled"; 280 scl-gpios = <&gpio1 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 281 sda-gpios = <&gpio1 17 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 282 i2c-gpio,delay-us = <5>; 283 }; 284 285 gpioi2c2: i2c-9 { 286 #address-cells = <1>; 287 #size-cells = <0>; 288 compatible = "i2c-gpio"; 289 status = "disabled"; 290 scl-gpios = <&gpio5 5 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 291 sda-gpios = <&gpio5 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 292 i2c-gpio,delay-us = <5>; 293 }; 294 295 /* 296 * IIC0/I2C0 is routed to EXIO connector A, pins 114 (SCL) + 116 (SDA) only. 297 * We use the I2C demuxer, so the desired IP core can be selected at runtime 298 * depending on the use case (e.g. DMA with IIC0 or slave support with I2C0). 299 * Note: For testing the I2C slave feature, it is convenient to connect this 300 * bus with IIC3 on pins 110 (SCL) + 112 (SDA), select I2C0 at runtime, and 301 * instantiate the slave device at runtime according to the documentation. 302 * You can then communicate with the slave via IIC3. 303 * 304 * IIC0/I2C0 does not appear to support fallback to GPIO. 305 */ 306 i2cexio0: i2c-10 { 307 compatible = "i2c-demux-pinctrl"; 308 i2c-parent = <&iic0>, <&i2c0>; 309 i2c-bus-name = "i2c-exio0"; 310 #address-cells = <1>; 311 #size-cells = <0>; 312 }; 313 314 /* 315 * IIC1/I2C1 is routed to EXIO connector A, pins 78 (SCL) + 80 (SDA). 316 * This is similar to the arangement described for i2cexio0 (above) 317 * with a fallback to GPIO also provided. 318 */ 319 i2cexio1: i2c-11 { 320 compatible = "i2c-demux-pinctrl"; 321 i2c-parent = <&iic1>, <&i2c1>, <&gpioi2c1>; 322 i2c-bus-name = "i2c-exio1"; 323 #address-cells = <1>; 324 #size-cells = <0>; 325 }; 326 327 /* 328 * IIC2 and I2C2 may be switched using pinmux. 329 * A fallback to GPIO is also provided. 330 */ 331 i2chdmi: i2c-12 { 332 compatible = "i2c-demux-pinctrl"; 333 i2c-parent = <&iic2>, <&i2c2>, <&gpioi2c2>; 334 i2c-bus-name = "i2c-hdmi"; 335 #address-cells = <1>; 336 #size-cells = <0>; 337 338 ak4643: codec@12 { 339 compatible = "asahi-kasei,ak4643"; 340 #sound-dai-cells = <0>; 341 reg = <0x12>; 342 }; 343 344 composite-in@20 { 345 compatible = "adi,adv7180"; 346 reg = <0x20>; 347 348 port { 349 adv7180: endpoint { 350 bus-width = <8>; 351 remote-endpoint = <&vin1ep0>; 352 }; 353 }; 354 }; 355 356 hdmi@39 { 357 compatible = "adi,adv7511w"; 358 reg = <0x39>; 359 interrupt-parent = <&gpio1>; 360 interrupts = <15 IRQ_TYPE_LEVEL_LOW>; 361 clocks = <&cec_clock>; 362 clock-names = "cec"; 363 364 adi,input-depth = <8>; 365 adi,input-colorspace = "rgb"; 366 adi,input-clock = "1x"; 367 368 ports { 369 #address-cells = <1>; 370 #size-cells = <0>; 371 372 port@0 { 373 reg = <0>; 374 adv7511_in: endpoint { 375 remote-endpoint = <&lvds0_out>; 376 }; 377 }; 378 379 port@1 { 380 reg = <1>; 381 adv7511_out: endpoint { 382 remote-endpoint = <&hdmi_con_out>; 383 }; 384 }; 385 }; 386 }; 387 388 hdmi-in@4c { 389 compatible = "adi,adv7612"; 390 reg = <0x4c>; 391 interrupt-parent = <&gpio1>; 392 interrupts = <20 IRQ_TYPE_LEVEL_LOW>; 393 default-input = <0>; 394 395 ports { 396 #address-cells = <1>; 397 #size-cells = <0>; 398 399 port@0 { 400 reg = <0>; 401 adv7612_in: endpoint { 402 remote-endpoint = <&hdmi_con_in>; 403 }; 404 }; 405 406 port@2 { 407 reg = <2>; 408 adv7612_out: endpoint { 409 remote-endpoint = <&vin0ep2>; 410 }; 411 }; 412 }; 413 }; 414 }; 415 416 /* 417 * IIC3 and I2C3 may be switched using pinmux. 418 * IIC3/I2C3 does not appear to support fallback to GPIO. 419 */ 420 i2cpwr: i2c-13 { 421 compatible = "i2c-demux-pinctrl"; 422 pinctrl-names = "default"; 423 pinctrl-0 = <&pmic_irq_pins>; 424 i2c-parent = <&iic3>, <&i2c3>; 425 i2c-bus-name = "i2c-pwr"; 426 #address-cells = <1>; 427 #size-cells = <0>; 428 429 pmic@58 { 430 compatible = "dlg,da9063"; 431 reg = <0x58>; 432 interrupt-parent = <&irqc0>; 433 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 434 interrupt-controller; 435 436 rtc { 437 compatible = "dlg,da9063-rtc"; 438 }; 439 440 watchdog { 441 compatible = "dlg,da9063-watchdog"; 442 }; 443 }; 444 445 vdd_dvfs: regulator@68 { 446 compatible = "dlg,da9210"; 447 reg = <0x68>; 448 interrupt-parent = <&irqc0>; 449 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 450 451 regulator-min-microvolt = <1000000>; 452 regulator-max-microvolt = <1000000>; 453 regulator-boot-on; 454 regulator-always-on; 455 }; 456 }; 457}; 458 459&du { 460 pinctrl-0 = <&du_pins>; 461 pinctrl-names = "default"; 462 status = "okay"; 463 464 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, <&cpg CPG_MOD 722>, 465 <&x13_clk>, <&x2_clk>; 466 clock-names = "du.0", "du.1", "du.2", "dclkin.0", "dclkin.1"; 467 468 ports { 469 port@0 { 470 endpoint { 471 remote-endpoint = <&adv7123_in>; 472 }; 473 }; 474 }; 475}; 476 477&lvds0 { 478 status = "okay"; 479 480 ports { 481 port@1 { 482 endpoint { 483 remote-endpoint = <&adv7511_in>; 484 }; 485 }; 486 }; 487}; 488 489&lvds1 { 490 ports { 491 port@1 { 492 lvds_connector: endpoint { 493 }; 494 }; 495 }; 496}; 497 498&extal_clk { 499 clock-frequency = <20000000>; 500}; 501 502&pfc { 503 pinctrl-0 = <&scif_clk_pins>; 504 pinctrl-names = "default"; 505 506 du_pins: du { 507 groups = "du_rgb666", "du_sync_1", "du_clk_out_0"; 508 function = "du"; 509 }; 510 511 scif0_pins: scif0 { 512 groups = "scif0_data"; 513 function = "scif0"; 514 }; 515 516 scif_clk_pins: scif_clk { 517 groups = "scif_clk"; 518 function = "scif_clk"; 519 }; 520 521 ether_pins: ether { 522 groups = "eth_link", "eth_mdio", "eth_rmii"; 523 function = "eth"; 524 }; 525 526 phy1_pins: phy1 { 527 groups = "intc_irq0"; 528 function = "intc"; 529 }; 530 531 scifa1_pins: scifa1 { 532 groups = "scifa1_data"; 533 function = "scifa1"; 534 }; 535 536 sdhi0_pins: sd0 { 537 groups = "sdhi0_data4", "sdhi0_ctrl"; 538 function = "sdhi0"; 539 power-source = <3300>; 540 }; 541 542 sdhi0_pins_uhs: sd0_uhs { 543 groups = "sdhi0_data4", "sdhi0_ctrl"; 544 function = "sdhi0"; 545 power-source = <1800>; 546 }; 547 548 sdhi2_pins: sd2 { 549 groups = "sdhi2_data4", "sdhi2_ctrl"; 550 function = "sdhi2"; 551 power-source = <3300>; 552 }; 553 554 sdhi2_pins_uhs: sd2_uhs { 555 groups = "sdhi2_data4", "sdhi2_ctrl"; 556 function = "sdhi2"; 557 power-source = <1800>; 558 }; 559 560 mmc1_pins: mmc1 { 561 groups = "mmc1_data8", "mmc1_ctrl"; 562 function = "mmc1"; 563 }; 564 565 qspi_pins: qspi { 566 groups = "qspi_ctrl", "qspi_data4"; 567 function = "qspi"; 568 }; 569 570 msiof1_pins: msiof1 { 571 groups = "msiof1_clk", "msiof1_sync", "msiof1_rx", 572 "msiof1_tx"; 573 function = "msiof1"; 574 }; 575 576 i2c0_pins: i2c0 { 577 groups = "i2c0"; 578 function = "i2c0"; 579 }; 580 581 iic0_pins: iic0 { 582 groups = "iic0"; 583 function = "iic0"; 584 }; 585 586 i2c1_pins: i2c1 { 587 groups = "i2c1"; 588 function = "i2c1"; 589 }; 590 591 iic1_pins: iic1 { 592 groups = "iic1"; 593 function = "iic1"; 594 }; 595 596 i2c2_pins: i2c2 { 597 groups = "i2c2"; 598 function = "i2c2"; 599 }; 600 601 iic2_pins: iic2 { 602 groups = "iic2"; 603 function = "iic2"; 604 }; 605 606 i2c3_pins: i2c3 { 607 groups = "i2c3"; 608 function = "i2c3"; 609 }; 610 611 iic3_pins: iic3 { 612 groups = "iic3"; 613 function = "iic3"; 614 }; 615 616 pmic_irq_pins: pmicirq { 617 groups = "intc_irq2"; 618 function = "intc"; 619 }; 620 621 hsusb_pins: hsusb { 622 groups = "usb0_ovc_vbus"; 623 function = "usb0"; 624 }; 625 626 usb0_pins: usb0 { 627 groups = "usb0"; 628 function = "usb0"; 629 }; 630 631 usb1_pins: usb1 { 632 groups = "usb1"; 633 function = "usb1"; 634 }; 635 636 usb2_pins: usb2 { 637 groups = "usb2"; 638 function = "usb2"; 639 }; 640 641 vin0_pins: vin0 { 642 groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk"; 643 function = "vin0"; 644 }; 645 646 vin1_pins: vin1 { 647 groups = "vin1_data8", "vin1_clk"; 648 function = "vin1"; 649 }; 650 651 sound_pins: sound { 652 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; 653 function = "ssi"; 654 }; 655 656 sound_clk_pins: sound_clk { 657 groups = "audio_clk_a"; 658 function = "audio_clk"; 659 }; 660 661 keyboard_pins: keyboard { 662 pins = "GP_1_14", "GP_1_24", "GP_1_26", "GP_1_28"; 663 bias-pull-up; 664 }; 665}; 666 667ðer { 668 pinctrl-0 = <ðer_pins>, <&phy1_pins>; 669 pinctrl-names = "default"; 670 671 phy-handle = <&phy1>; 672 renesas,ether-link-active-low; 673 status = "okay"; 674 675 phy1: ethernet-phy@1 { 676 compatible = "ethernet-phy-id0022.1537", 677 "ethernet-phy-ieee802.3-c22"; 678 reg = <1>; 679 interrupt-parent = <&irqc0>; 680 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 681 micrel,led-mode = <1>; 682 reset-gpios = <&gpio5 31 GPIO_ACTIVE_LOW>; 683 }; 684}; 685 686&cmt0 { 687 status = "okay"; 688}; 689 690&mmcif1 { 691 pinctrl-0 = <&mmc1_pins>; 692 pinctrl-names = "default"; 693 694 vmmc-supply = <&fixedregulator3v3>; 695 bus-width = <8>; 696 non-removable; 697 status = "okay"; 698}; 699 700&sata1 { 701 status = "okay"; 702}; 703 704&qspi { 705 pinctrl-0 = <&qspi_pins>; 706 pinctrl-names = "default"; 707 708 status = "okay"; 709 710 flash: flash@0 { 711 compatible = "spansion,s25fl512s", "jedec,spi-nor"; 712 reg = <0>; 713 spi-max-frequency = <30000000>; 714 spi-tx-bus-width = <4>; 715 spi-rx-bus-width = <4>; 716 spi-cpha; 717 spi-cpol; 718 m25p,fast-read; 719 720 partitions { 721 compatible = "fixed-partitions"; 722 #address-cells = <1>; 723 #size-cells = <1>; 724 725 partition@0 { 726 label = "loader"; 727 reg = <0x00000000 0x00040000>; 728 read-only; 729 }; 730 partition@40000 { 731 label = "user"; 732 reg = <0x00040000 0x00400000>; 733 read-only; 734 }; 735 partition@440000 { 736 label = "flash"; 737 reg = <0x00440000 0x03bc0000>; 738 }; 739 }; 740 }; 741}; 742 743&scif0 { 744 pinctrl-0 = <&scif0_pins>; 745 pinctrl-names = "default"; 746 747 status = "okay"; 748}; 749 750&scifa1 { 751 pinctrl-0 = <&scifa1_pins>; 752 pinctrl-names = "default"; 753 754 status = "okay"; 755}; 756 757&scif_clk { 758 clock-frequency = <14745600>; 759}; 760 761&msiof1 { 762 pinctrl-0 = <&msiof1_pins>; 763 pinctrl-names = "default"; 764 765 status = "okay"; 766 767 pmic: pmic@0 { 768 compatible = "renesas,r2a11302ft"; 769 reg = <0>; 770 spi-max-frequency = <6000000>; 771 spi-cpol; 772 spi-cpha; 773 }; 774}; 775 776&sdhi0 { 777 pinctrl-0 = <&sdhi0_pins>; 778 pinctrl-1 = <&sdhi0_pins_uhs>; 779 pinctrl-names = "default", "state_uhs"; 780 781 vmmc-supply = <&vcc_sdhi0>; 782 vqmmc-supply = <&vccq_sdhi0>; 783 cd-gpios = <&gpio3 6 GPIO_ACTIVE_LOW>; 784 sd-uhs-sdr50; 785 sd-uhs-sdr104; 786 status = "okay"; 787}; 788 789&sdhi2 { 790 pinctrl-0 = <&sdhi2_pins>; 791 pinctrl-1 = <&sdhi2_pins_uhs>; 792 pinctrl-names = "default", "state_uhs"; 793 794 vmmc-supply = <&vcc_sdhi2>; 795 vqmmc-supply = <&vccq_sdhi2>; 796 cd-gpios = <&gpio3 22 GPIO_ACTIVE_LOW>; 797 sd-uhs-sdr50; 798 status = "okay"; 799}; 800 801&cpu0 { 802 cpu0-supply = <&vdd_dvfs>; 803}; 804 805&i2c0 { 806 pinctrl-0 = <&i2c0_pins>; 807 pinctrl-names = "i2c-exio0"; 808}; 809 810&iic0 { 811 pinctrl-0 = <&iic0_pins>; 812 pinctrl-names = "i2c-exio0"; 813}; 814 815&i2c1 { 816 pinctrl-0 = <&i2c1_pins>; 817 pinctrl-names = "i2c-exio1"; 818}; 819 820&iic1 { 821 pinctrl-0 = <&iic1_pins>; 822 pinctrl-names = "i2c-exio1"; 823}; 824 825&i2c2 { 826 pinctrl-0 = <&i2c2_pins>; 827 pinctrl-names = "i2c-hdmi"; 828 829 clock-frequency = <100000>; 830}; 831 832&iic2 { 833 pinctrl-0 = <&iic2_pins>; 834 pinctrl-names = "i2c-hdmi"; 835 836 clock-frequency = <100000>; 837}; 838 839&i2c3 { 840 pinctrl-0 = <&i2c3_pins>; 841 pinctrl-names = "i2c-pwr"; 842}; 843 844&iic3 { 845 pinctrl-0 = <&iic3_pins>; 846 pinctrl-names = "i2c-pwr"; 847}; 848 849&pci0 { 850 status = "okay"; 851 pinctrl-0 = <&usb0_pins>; 852 pinctrl-names = "default"; 853}; 854 855&pci1 { 856 status = "okay"; 857 pinctrl-0 = <&usb1_pins>; 858 pinctrl-names = "default"; 859}; 860 861&xhci { 862 status = "okay"; 863 pinctrl-0 = <&usb2_pins>; 864 pinctrl-names = "default"; 865}; 866 867&pci2 { 868 status = "okay"; 869 pinctrl-0 = <&usb2_pins>; 870 pinctrl-names = "default"; 871}; 872 873&hsusb { 874 status = "okay"; 875 pinctrl-0 = <&hsusb_pins>; 876 pinctrl-names = "default"; 877 renesas,enable-gpio = <&gpio5 18 GPIO_ACTIVE_HIGH>; 878}; 879 880&usbphy { 881 status = "okay"; 882}; 883 884/* HDMI video input */ 885&vin0 { 886 pinctrl-0 = <&vin0_pins>; 887 pinctrl-names = "default"; 888 889 status = "okay"; 890 891 port { 892 vin0ep2: endpoint { 893 remote-endpoint = <&adv7612_out>; 894 bus-width = <24>; 895 hsync-active = <0>; 896 vsync-active = <0>; 897 pclk-sample = <1>; 898 data-active = <1>; 899 }; 900 }; 901}; 902 903/* composite video input */ 904&vin1 { 905 pinctrl-0 = <&vin1_pins>; 906 pinctrl-names = "default"; 907 908 status = "okay"; 909 910 port { 911 vin1ep0: endpoint { 912 remote-endpoint = <&adv7180>; 913 bus-width = <8>; 914 }; 915 }; 916}; 917 918&rcar_sound { 919 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 920 pinctrl-names = "default"; 921 922 /* Single DAI */ 923 #sound-dai-cells = <0>; 924 925 status = "okay"; 926 927 rcar_sound,dai { 928 dai0 { 929 playback = <&ssi0>, <&src2>, <&dvc0>; 930 capture = <&ssi1>, <&src3>, <&dvc1>; 931 }; 932 }; 933}; 934 935&rwdt { 936 timeout-sec = <60>; 937 status = "okay"; 938}; 939 940&ssi1 { 941 shared-pin; 942}; 943