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