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