1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device Tree Source for the Koelsch board 4 * 5 * Copyright (C) 2013 Renesas Electronics Corporation 6 * Copyright (C) 2013-2014 Renesas Solutions Corp. 7 * Copyright (C) 2014 Cogent Embedded, Inc. 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 "r8a7791.dtsi" 40#include <dt-bindings/gpio/gpio.h> 41#include <dt-bindings/input/input.h> 42 43/ { 44 model = "Koelsch"; 45 compatible = "renesas,koelsch", "renesas,r8a7791"; 46 47 aliases { 48 serial0 = &scif0; 49 serial1 = &scif1; 50 i2c9 = &gpioi2c1; 51 i2c10 = &gpioi2c2; 52 i2c11 = &gpioi2c4; 53 i2c12 = &i2cexio1; 54 i2c13 = &i2chdmi; 55 i2c14 = &i2cexio4; 56 mmc0 = &sdhi0; 57 mmc1 = &sdhi1; 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@200000000 { 72 device_type = "memory"; 73 reg = <2 0x00000000 0 0x40000000>; 74 }; 75 76 lbsc { 77 #address-cells = <1>; 78 #size-cells = <1>; 79 }; 80 81 keyboard { 82 compatible = "gpio-keys"; 83 84 key-1 { 85 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>; 86 linux,code = <KEY_1>; 87 label = "SW2-1"; 88 wakeup-source; 89 debounce-interval = <20>; 90 }; 91 key-2 { 92 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>; 93 linux,code = <KEY_2>; 94 label = "SW2-2"; 95 wakeup-source; 96 debounce-interval = <20>; 97 }; 98 key-3 { 99 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>; 100 linux,code = <KEY_3>; 101 label = "SW2-3"; 102 wakeup-source; 103 debounce-interval = <20>; 104 }; 105 key-4 { 106 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>; 107 linux,code = <KEY_4>; 108 label = "SW2-4"; 109 wakeup-source; 110 debounce-interval = <20>; 111 }; 112 key-a { 113 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>; 114 linux,code = <KEY_A>; 115 label = "SW30"; 116 wakeup-source; 117 debounce-interval = <20>; 118 }; 119 key-b { 120 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>; 121 linux,code = <KEY_B>; 122 label = "SW31"; 123 wakeup-source; 124 debounce-interval = <20>; 125 }; 126 key-c { 127 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>; 128 linux,code = <KEY_C>; 129 label = "SW32"; 130 wakeup-source; 131 debounce-interval = <20>; 132 }; 133 key-d { 134 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>; 135 linux,code = <KEY_D>; 136 label = "SW33"; 137 wakeup-source; 138 debounce-interval = <20>; 139 }; 140 key-e { 141 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>; 142 linux,code = <KEY_E>; 143 label = "SW34"; 144 wakeup-source; 145 debounce-interval = <20>; 146 }; 147 key-f { 148 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>; 149 linux,code = <KEY_F>; 150 label = "SW35"; 151 wakeup-source; 152 debounce-interval = <20>; 153 }; 154 key-g { 155 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>; 156 linux,code = <KEY_G>; 157 label = "SW36"; 158 wakeup-source; 159 debounce-interval = <20>; 160 }; 161 }; 162 163 leds { 164 compatible = "gpio-leds"; 165 led6 { 166 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>; 167 label = "LED6"; 168 }; 169 led7 { 170 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>; 171 label = "LED7"; 172 }; 173 led8 { 174 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>; 175 label = "LED8"; 176 }; 177 }; 178 179 vcc_sdhi0: regulator-vcc-sdhi0 { 180 compatible = "regulator-fixed"; 181 182 regulator-name = "SDHI0 Vcc"; 183 regulator-min-microvolt = <3300000>; 184 regulator-max-microvolt = <3300000>; 185 186 gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>; 187 enable-active-high; 188 }; 189 190 vccq_sdhi0: regulator-vccq-sdhi0 { 191 compatible = "regulator-gpio"; 192 193 regulator-name = "SDHI0 VccQ"; 194 regulator-min-microvolt = <1800000>; 195 regulator-max-microvolt = <3300000>; 196 197 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>; 198 gpios-states = <1>; 199 states = <3300000 1>, <1800000 0>; 200 }; 201 202 vcc_sdhi1: regulator-vcc-sdhi1 { 203 compatible = "regulator-fixed"; 204 205 regulator-name = "SDHI1 Vcc"; 206 regulator-min-microvolt = <3300000>; 207 regulator-max-microvolt = <3300000>; 208 209 gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>; 210 enable-active-high; 211 }; 212 213 vccq_sdhi1: regulator-vccq-sdhi1 { 214 compatible = "regulator-gpio"; 215 216 regulator-name = "SDHI1 VccQ"; 217 regulator-min-microvolt = <1800000>; 218 regulator-max-microvolt = <3300000>; 219 220 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>; 221 gpios-states = <1>; 222 states = <3300000 1>, <1800000 0>; 223 }; 224 225 vcc_sdhi2: regulator-vcc-sdhi2 { 226 compatible = "regulator-fixed"; 227 228 regulator-name = "SDHI2 Vcc"; 229 regulator-min-microvolt = <3300000>; 230 regulator-max-microvolt = <3300000>; 231 232 gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>; 233 enable-active-high; 234 }; 235 236 vccq_sdhi2: regulator-vccq-sdhi2 { 237 compatible = "regulator-gpio"; 238 239 regulator-name = "SDHI2 VccQ"; 240 regulator-min-microvolt = <1800000>; 241 regulator-max-microvolt = <3300000>; 242 243 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>; 244 gpios-states = <1>; 245 states = <3300000 1>, <1800000 0>; 246 }; 247 248 audio_clock: audio_clock { 249 compatible = "fixed-clock"; 250 #clock-cells = <0>; 251 clock-frequency = <11289600>; 252 }; 253 254 rsnd_ak4643: sound { 255 compatible = "simple-audio-card"; 256 257 simple-audio-card,format = "left_j"; 258 simple-audio-card,bitclock-master = <&sndcodec>; 259 simple-audio-card,frame-master = <&sndcodec>; 260 261 sndcpu: simple-audio-card,cpu { 262 sound-dai = <&rcar_sound>; 263 }; 264 265 sndcodec: simple-audio-card,codec { 266 sound-dai = <&ak4643>; 267 clocks = <&audio_clock>; 268 }; 269 }; 270 271 hdmi-in { 272 compatible = "hdmi-connector"; 273 type = "a"; 274 275 port { 276 hdmi_con_in: endpoint { 277 remote-endpoint = <&adv7612_in>; 278 }; 279 }; 280 }; 281 282 cec_clock: cec-clock { 283 compatible = "fixed-clock"; 284 #clock-cells = <0>; 285 clock-frequency = <12000000>; 286 }; 287 288 hdmi-out { 289 compatible = "hdmi-connector"; 290 type = "a"; 291 292 port { 293 hdmi_con_out: endpoint { 294 remote-endpoint = <&adv7511_out>; 295 }; 296 }; 297 }; 298 299 x2_clk: x2-clock { 300 compatible = "fixed-clock"; 301 #clock-cells = <0>; 302 clock-frequency = <74250000>; 303 }; 304 305 x13_clk: x13-clock { 306 compatible = "fixed-clock"; 307 #clock-cells = <0>; 308 clock-frequency = <148500000>; 309 }; 310 311 gpioi2c1: i2c-9 { 312 #address-cells = <1>; 313 #size-cells = <0>; 314 compatible = "i2c-gpio"; 315 status = "disabled"; 316 scl-gpios = <&gpio7 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 317 sda-gpios = <&gpio7 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 318 i2c-gpio,delay-us = <5>; 319 }; 320 321 gpioi2c2: i2c-10 { 322 #address-cells = <1>; 323 #size-cells = <0>; 324 compatible = "i2c-gpio"; 325 status = "disabled"; 326 scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 327 sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 328 i2c-gpio,delay-us = <5>; 329 }; 330 331 gpioi2c4: i2c-11 { 332 #address-cells = <1>; 333 #size-cells = <0>; 334 compatible = "i2c-gpio"; 335 status = "disabled"; 336 scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 337 sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>; 338 i2c-gpio,delay-us = <5>; 339 }; 340 341 /* 342 * I2C1 is routed to EXIO connector B, pins 64 (SCL) + 66 (SDA). 343 * A fallback to GPIO is provided. 344 */ 345 i2cexio1: i2c-12 { 346 compatible = "i2c-demux-pinctrl"; 347 i2c-parent = <&i2c1>, <&gpioi2c1>; 348 i2c-bus-name = "i2c-exio1"; 349 #address-cells = <1>; 350 #size-cells = <0>; 351 }; 352 353 /* 354 * A fallback to GPIO is provided for I2C2. 355 */ 356 i2chdmi: i2c-13 { 357 compatible = "i2c-demux-pinctrl"; 358 i2c-parent = <&i2c2>, <&gpioi2c2>; 359 i2c-bus-name = "i2c-hdmi"; 360 #address-cells = <1>; 361 #size-cells = <0>; 362 363 ak4643: codec@12 { 364 compatible = "asahi-kasei,ak4643"; 365 #sound-dai-cells = <0>; 366 reg = <0x12>; 367 }; 368 369 composite-in@20 { 370 compatible = "adi,adv7180"; 371 reg = <0x20>; 372 373 port { 374 adv7180: endpoint { 375 bus-width = <8>; 376 remote-endpoint = <&vin1ep>; 377 }; 378 }; 379 }; 380 381 hdmi@39 { 382 compatible = "adi,adv7511w"; 383 reg = <0x39>; 384 interrupt-parent = <&gpio3>; 385 interrupts = <29 IRQ_TYPE_LEVEL_LOW>; 386 clocks = <&cec_clock>; 387 clock-names = "cec"; 388 389 adi,input-depth = <8>; 390 adi,input-colorspace = "rgb"; 391 adi,input-clock = "1x"; 392 393 ports { 394 #address-cells = <1>; 395 #size-cells = <0>; 396 397 port@0 { 398 reg = <0>; 399 adv7511_in: endpoint { 400 remote-endpoint = <&du_out_rgb>; 401 }; 402 }; 403 404 port@1 { 405 reg = <1>; 406 adv7511_out: endpoint { 407 remote-endpoint = <&hdmi_con_out>; 408 }; 409 }; 410 }; 411 }; 412 413 hdmi-in@4c { 414 compatible = "adi,adv7612"; 415 reg = <0x4c>; 416 interrupt-parent = <&gpio4>; 417 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 418 default-input = <0>; 419 420 ports { 421 #address-cells = <1>; 422 #size-cells = <0>; 423 424 port@0 { 425 reg = <0>; 426 adv7612_in: endpoint { 427 remote-endpoint = <&hdmi_con_in>; 428 }; 429 }; 430 431 port@2 { 432 reg = <2>; 433 adv7612_out: endpoint { 434 remote-endpoint = <&vin0ep2>; 435 }; 436 }; 437 }; 438 }; 439 440 eeprom@50 { 441 compatible = "renesas,r1ex24002", "atmel,24c02"; 442 reg = <0x50>; 443 pagesize = <16>; 444 }; 445 }; 446 447 /* 448 * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA). 449 * A fallback to GPIO is provided. 450 */ 451 i2cexio4: i2c-14 { 452 compatible = "i2c-demux-pinctrl"; 453 i2c-parent = <&i2c4>, <&gpioi2c4>; 454 i2c-bus-name = "i2c-exio4"; 455 #address-cells = <1>; 456 #size-cells = <0>; 457 }; 458}; 459 460&du { 461 pinctrl-0 = <&du_pins>; 462 pinctrl-names = "default"; 463 status = "okay"; 464 465 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>, 466 <&x13_clk>, <&x2_clk>; 467 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1"; 468 469 ports { 470 port@0 { 471 endpoint { 472 remote-endpoint = <&adv7511_in>; 473 }; 474 }; 475 }; 476}; 477 478&lvds0 { 479 ports { 480 port@1 { 481 lvds_connector: endpoint { 482 }; 483 }; 484 }; 485}; 486 487&extal_clk { 488 clock-frequency = <20000000>; 489}; 490 491&pfc { 492 pinctrl-0 = <&scif_clk_pins>; 493 pinctrl-names = "default"; 494 495 i2c1_pins: i2c1 { 496 groups = "i2c1"; 497 function = "i2c1"; 498 }; 499 500 i2c2_pins: i2c2 { 501 groups = "i2c2"; 502 function = "i2c2"; 503 }; 504 505 i2c4_pins: i2c4 { 506 groups = "i2c4_c"; 507 function = "i2c4"; 508 }; 509 510 du_pins: du { 511 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0"; 512 function = "du"; 513 }; 514 515 scif0_pins: scif0 { 516 groups = "scif0_data_d"; 517 function = "scif0"; 518 }; 519 520 scif1_pins: scif1 { 521 groups = "scif1_data_d"; 522 function = "scif1"; 523 }; 524 525 scif_clk_pins: scif_clk { 526 groups = "scif_clk"; 527 function = "scif_clk"; 528 }; 529 530 ether_pins: ether { 531 groups = "eth_link", "eth_mdio", "eth_rmii"; 532 function = "eth"; 533 }; 534 535 phy1_pins: phy1 { 536 groups = "intc_irq0"; 537 function = "intc"; 538 }; 539 540 pmic_irq_pins: pmicirq { 541 groups = "intc_irq2"; 542 function = "intc"; 543 }; 544 545 sdhi0_pins: sd0 { 546 groups = "sdhi0_data4", "sdhi0_ctrl"; 547 function = "sdhi0"; 548 power-source = <3300>; 549 }; 550 551 sdhi0_pins_uhs: sd0_uhs { 552 groups = "sdhi0_data4", "sdhi0_ctrl"; 553 function = "sdhi0"; 554 power-source = <1800>; 555 }; 556 557 sdhi1_pins: sd1 { 558 groups = "sdhi1_data4", "sdhi1_ctrl"; 559 function = "sdhi1"; 560 power-source = <3300>; 561 }; 562 563 sdhi1_pins_uhs: sd1_uhs { 564 groups = "sdhi1_data4", "sdhi1_ctrl"; 565 function = "sdhi1"; 566 power-source = <1800>; 567 }; 568 569 sdhi2_pins: sd2 { 570 groups = "sdhi2_data4", "sdhi2_ctrl"; 571 function = "sdhi2"; 572 power-source = <3300>; 573 }; 574 575 sdhi2_pins_uhs: sd2_uhs { 576 groups = "sdhi2_data4", "sdhi2_ctrl"; 577 function = "sdhi2"; 578 power-source = <1800>; 579 }; 580 581 qspi_pins: qspi { 582 groups = "qspi_ctrl", "qspi_data4"; 583 function = "qspi"; 584 }; 585 586 msiof0_pins: msiof0 { 587 groups = "msiof0_clk", "msiof0_sync", "msiof0_rx", 588 "msiof0_tx"; 589 function = "msiof0"; 590 }; 591 592 usb0_pins: usb0 { 593 groups = "usb0"; 594 function = "usb0"; 595 }; 596 597 usb1_pins: usb1 { 598 groups = "usb1"; 599 function = "usb1"; 600 }; 601 602 vin0_pins: vin0 { 603 groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk"; 604 function = "vin0"; 605 }; 606 607 vin1_pins: vin1 { 608 groups = "vin1_data8", "vin1_clk"; 609 function = "vin1"; 610 }; 611 612 sound_pins: sound { 613 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data"; 614 function = "ssi"; 615 }; 616 617 sound_clk_pins: sound_clk { 618 groups = "audio_clk_a"; 619 function = "audio_clk"; 620 }; 621}; 622 623ðer { 624 pinctrl-0 = <ðer_pins &phy1_pins>; 625 pinctrl-names = "default"; 626 627 phy-handle = <&phy1>; 628 renesas,ether-link-active-low; 629 status = "okay"; 630 631 phy1: ethernet-phy@1 { 632 reg = <1>; 633 interrupt-parent = <&irqc0>; 634 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 635 micrel,led-mode = <1>; 636 reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; 637 }; 638}; 639 640&cmt0 { 641 status = "okay"; 642}; 643 644&rwdt { 645 timeout-sec = <60>; 646 status = "okay"; 647}; 648 649&sata0 { 650 status = "okay"; 651}; 652 653&scif0 { 654 pinctrl-0 = <&scif0_pins>; 655 pinctrl-names = "default"; 656 657 status = "okay"; 658}; 659 660&scif1 { 661 pinctrl-0 = <&scif1_pins>; 662 pinctrl-names = "default"; 663 664 status = "okay"; 665}; 666 667&scif_clk { 668 clock-frequency = <14745600>; 669}; 670 671&sdhi0 { 672 pinctrl-0 = <&sdhi0_pins>; 673 pinctrl-1 = <&sdhi0_pins_uhs>; 674 pinctrl-names = "default", "state_uhs"; 675 676 vmmc-supply = <&vcc_sdhi0>; 677 vqmmc-supply = <&vccq_sdhi0>; 678 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>; 679 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 680 sd-uhs-sdr50; 681 sd-uhs-sdr104; 682 status = "okay"; 683}; 684 685&sdhi1 { 686 pinctrl-0 = <&sdhi1_pins>; 687 pinctrl-1 = <&sdhi1_pins_uhs>; 688 pinctrl-names = "default", "state_uhs"; 689 690 vmmc-supply = <&vcc_sdhi1>; 691 vqmmc-supply = <&vccq_sdhi1>; 692 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>; 693 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>; 694 sd-uhs-sdr50; 695 status = "okay"; 696}; 697 698&sdhi2 { 699 pinctrl-0 = <&sdhi2_pins>; 700 pinctrl-1 = <&sdhi2_pins_uhs>; 701 pinctrl-names = "default", "state_uhs"; 702 703 vmmc-supply = <&vcc_sdhi2>; 704 vqmmc-supply = <&vccq_sdhi2>; 705 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>; 706 sd-uhs-sdr50; 707 status = "okay"; 708}; 709 710&qspi { 711 pinctrl-0 = <&qspi_pins>; 712 pinctrl-names = "default"; 713 714 status = "okay"; 715 716 flash: flash@0 { 717 compatible = "spansion,s25fl512s", "jedec,spi-nor"; 718 reg = <0>; 719 spi-max-frequency = <30000000>; 720 spi-tx-bus-width = <4>; 721 spi-rx-bus-width = <4>; 722 spi-cpha; 723 spi-cpol; 724 m25p,fast-read; 725 726 partitions { 727 compatible = "fixed-partitions"; 728 #address-cells = <1>; 729 #size-cells = <1>; 730 731 partition@0 { 732 label = "loader"; 733 reg = <0x00000000 0x00080000>; 734 read-only; 735 }; 736 partition@80000 { 737 label = "user"; 738 reg = <0x00080000 0x00580000>; 739 read-only; 740 }; 741 partition@600000 { 742 label = "flash"; 743 reg = <0x00600000 0x03a00000>; 744 }; 745 }; 746 }; 747}; 748 749&msiof0 { 750 pinctrl-0 = <&msiof0_pins>; 751 pinctrl-names = "default"; 752 753 status = "okay"; 754 755 pmic: pmic@0 { 756 compatible = "renesas,r2a11302ft"; 757 reg = <0>; 758 spi-max-frequency = <6000000>; 759 spi-cpol; 760 spi-cpha; 761 }; 762}; 763 764&i2c1 { 765 pinctrl-0 = <&i2c1_pins>; 766 pinctrl-names = "i2c-exio1"; 767}; 768 769&i2c2 { 770 pinctrl-0 = <&i2c2_pins>; 771 pinctrl-names = "i2c-hdmi"; 772 773 clock-frequency = <100000>; 774}; 775 776&i2c4 { 777 pinctrl-0 = <&i2c4_pins>; 778 pinctrl-names = "i2c-exio4"; 779}; 780 781&i2c6 { 782 pinctrl-names = "default"; 783 pinctrl-0 = <&pmic_irq_pins>; 784 status = "okay"; 785 clock-frequency = <100000>; 786 787 pmic@58 { 788 compatible = "dlg,da9063"; 789 reg = <0x58>; 790 interrupt-parent = <&irqc0>; 791 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 792 interrupt-controller; 793 794 rtc { 795 compatible = "dlg,da9063-rtc"; 796 }; 797 798 wdt { 799 compatible = "dlg,da9063-watchdog"; 800 }; 801 }; 802 803 vdd_dvfs: regulator@68 { 804 compatible = "dlg,da9210"; 805 reg = <0x68>; 806 interrupt-parent = <&irqc0>; 807 interrupts = <2 IRQ_TYPE_LEVEL_LOW>; 808 809 regulator-min-microvolt = <1000000>; 810 regulator-max-microvolt = <1000000>; 811 regulator-boot-on; 812 regulator-always-on; 813 }; 814}; 815 816&pci0 { 817 status = "okay"; 818 pinctrl-0 = <&usb0_pins>; 819 pinctrl-names = "default"; 820}; 821 822&pci1 { 823 status = "okay"; 824 pinctrl-0 = <&usb1_pins>; 825 pinctrl-names = "default"; 826}; 827 828&hsusb { 829 status = "okay"; 830 pinctrl-0 = <&usb0_pins>; 831 pinctrl-names = "default"; 832 renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>; 833}; 834 835&usbphy { 836 status = "okay"; 837}; 838 839&pcie_bus_clk { 840 clock-frequency = <100000000>; 841}; 842 843&pciec { 844 status = "okay"; 845}; 846 847&cpu0 { 848 cpu0-supply = <&vdd_dvfs>; 849}; 850 851/* HDMI video input */ 852&vin0 { 853 status = "okay"; 854 pinctrl-0 = <&vin0_pins>; 855 pinctrl-names = "default"; 856 857 port { 858 vin0ep2: endpoint { 859 remote-endpoint = <&adv7612_out>; 860 bus-width = <24>; 861 hsync-active = <0>; 862 vsync-active = <0>; 863 pclk-sample = <1>; 864 data-active = <1>; 865 }; 866 }; 867}; 868 869/* composite video input */ 870&vin1 { 871 status = "okay"; 872 pinctrl-0 = <&vin1_pins>; 873 pinctrl-names = "default"; 874 875 port { 876 vin1ep: endpoint { 877 remote-endpoint = <&adv7180>; 878 bus-width = <8>; 879 }; 880 }; 881}; 882 883&rcar_sound { 884 pinctrl-0 = <&sound_pins &sound_clk_pins>; 885 pinctrl-names = "default"; 886 887 /* Single DAI */ 888 #sound-dai-cells = <0>; 889 890 status = "okay"; 891 892 rcar_sound,dai { 893 dai0 { 894 playback = <&ssi0 &src2 &dvc0>; 895 capture = <&ssi1 &src3 &dvc1>; 896 }; 897 }; 898}; 899 900&ssi1 { 901 shared-pin; 902}; 903