0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003 * Device Tree Source for the Koelsch board
0004 *
0005 * Copyright (C) 2013 Renesas Electronics Corporation
0006 * Copyright (C) 2013-2014 Renesas Solutions Corp.
0007 * Copyright (C) 2014 Cogent Embedded, Inc.
0008 */
0009
0010 /*
0011 * SSI-AK4643
0012 *
0013 * SW1: 1: AK4643
0014 * 2: CN22
0015 * 3: ADV7511
0016 *
0017 * This command is required when Playback/Capture
0018 *
0019 * amixer set "LINEOUT Mixer DACL" on
0020 * amixer set "DVC Out" 100%
0021 * amixer set "DVC In" 100%
0022 *
0023 * You can use Mute
0024 *
0025 * amixer set "DVC Out Mute" on
0026 * amixer set "DVC In Mute" on
0027 *
0028 * You can use Volume Ramp
0029 *
0030 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps"
0031 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps"
0032 * amixer set "DVC Out Ramp" on
0033 * aplay xxx.wav &
0034 * amixer set "DVC Out" 80% // Volume Down
0035 * amixer set "DVC Out" 100% // Volume Up
0036 */
0037
0038 /dts-v1/;
0039 #include "r8a7791.dtsi"
0040 #include <dt-bindings/gpio/gpio.h>
0041 #include <dt-bindings/input/input.h>
0042
0043 / {
0044 model = "Koelsch";
0045 compatible = "renesas,koelsch", "renesas,r8a7791";
0046
0047 aliases {
0048 serial0 = &scif0;
0049 serial1 = &scif1;
0050 i2c9 = &gpioi2c1;
0051 i2c10 = &gpioi2c2;
0052 i2c11 = &gpioi2c4;
0053 i2c12 = &i2cexio1;
0054 i2c13 = &i2chdmi;
0055 i2c14 = &i2cexio4;
0056 mmc0 = &sdhi0;
0057 mmc1 = &sdhi1;
0058 mmc2 = &sdhi2;
0059 };
0060
0061 chosen {
0062 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
0063 stdout-path = "serial0:115200n8";
0064 };
0065
0066 memory@40000000 {
0067 device_type = "memory";
0068 reg = <0 0x40000000 0 0x40000000>;
0069 };
0070
0071 memory@200000000 {
0072 device_type = "memory";
0073 reg = <2 0x00000000 0 0x40000000>;
0074 };
0075
0076 lbsc {
0077 #address-cells = <1>;
0078 #size-cells = <1>;
0079 };
0080
0081 keyboard {
0082 compatible = "gpio-keys";
0083
0084 pinctrl-0 = <&keyboard_pins>;
0085 pinctrl-names = "default";
0086
0087 key-1 {
0088 gpios = <&gpio5 0 GPIO_ACTIVE_LOW>;
0089 linux,code = <KEY_1>;
0090 label = "SW2-1";
0091 wakeup-source;
0092 debounce-interval = <20>;
0093 };
0094 key-2 {
0095 gpios = <&gpio5 1 GPIO_ACTIVE_LOW>;
0096 linux,code = <KEY_2>;
0097 label = "SW2-2";
0098 wakeup-source;
0099 debounce-interval = <20>;
0100 };
0101 key-3 {
0102 gpios = <&gpio5 2 GPIO_ACTIVE_LOW>;
0103 linux,code = <KEY_3>;
0104 label = "SW2-3";
0105 wakeup-source;
0106 debounce-interval = <20>;
0107 };
0108 key-4 {
0109 gpios = <&gpio5 3 GPIO_ACTIVE_LOW>;
0110 linux,code = <KEY_4>;
0111 label = "SW2-4";
0112 wakeup-source;
0113 debounce-interval = <20>;
0114 };
0115 key-a {
0116 gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
0117 linux,code = <KEY_A>;
0118 label = "SW30";
0119 wakeup-source;
0120 debounce-interval = <20>;
0121 };
0122 key-b {
0123 gpios = <&gpio7 1 GPIO_ACTIVE_LOW>;
0124 linux,code = <KEY_B>;
0125 label = "SW31";
0126 wakeup-source;
0127 debounce-interval = <20>;
0128 };
0129 key-c {
0130 gpios = <&gpio7 2 GPIO_ACTIVE_LOW>;
0131 linux,code = <KEY_C>;
0132 label = "SW32";
0133 wakeup-source;
0134 debounce-interval = <20>;
0135 };
0136 key-d {
0137 gpios = <&gpio7 3 GPIO_ACTIVE_LOW>;
0138 linux,code = <KEY_D>;
0139 label = "SW33";
0140 wakeup-source;
0141 debounce-interval = <20>;
0142 };
0143 key-e {
0144 gpios = <&gpio7 4 GPIO_ACTIVE_LOW>;
0145 linux,code = <KEY_E>;
0146 label = "SW34";
0147 wakeup-source;
0148 debounce-interval = <20>;
0149 };
0150 key-f {
0151 gpios = <&gpio7 5 GPIO_ACTIVE_LOW>;
0152 linux,code = <KEY_F>;
0153 label = "SW35";
0154 wakeup-source;
0155 debounce-interval = <20>;
0156 };
0157 key-g {
0158 gpios = <&gpio7 6 GPIO_ACTIVE_LOW>;
0159 linux,code = <KEY_G>;
0160 label = "SW36";
0161 wakeup-source;
0162 debounce-interval = <20>;
0163 };
0164 };
0165
0166 leds {
0167 compatible = "gpio-leds";
0168 led6 {
0169 gpios = <&gpio2 19 GPIO_ACTIVE_HIGH>;
0170 label = "LED6";
0171 };
0172 led7 {
0173 gpios = <&gpio2 20 GPIO_ACTIVE_HIGH>;
0174 label = "LED7";
0175 };
0176 led8 {
0177 gpios = <&gpio2 21 GPIO_ACTIVE_HIGH>;
0178 label = "LED8";
0179 };
0180 };
0181
0182 vcc_sdhi0: regulator-vcc-sdhi0 {
0183 compatible = "regulator-fixed";
0184
0185 regulator-name = "SDHI0 Vcc";
0186 regulator-min-microvolt = <3300000>;
0187 regulator-max-microvolt = <3300000>;
0188
0189 gpio = <&gpio7 17 GPIO_ACTIVE_HIGH>;
0190 enable-active-high;
0191 };
0192
0193 vccq_sdhi0: regulator-vccq-sdhi0 {
0194 compatible = "regulator-gpio";
0195
0196 regulator-name = "SDHI0 VccQ";
0197 regulator-min-microvolt = <1800000>;
0198 regulator-max-microvolt = <3300000>;
0199
0200 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
0201 gpios-states = <1>;
0202 states = <3300000 1>, <1800000 0>;
0203 };
0204
0205 vcc_sdhi1: regulator-vcc-sdhi1 {
0206 compatible = "regulator-fixed";
0207
0208 regulator-name = "SDHI1 Vcc";
0209 regulator-min-microvolt = <3300000>;
0210 regulator-max-microvolt = <3300000>;
0211
0212 gpio = <&gpio7 18 GPIO_ACTIVE_HIGH>;
0213 enable-active-high;
0214 };
0215
0216 vccq_sdhi1: regulator-vccq-sdhi1 {
0217 compatible = "regulator-gpio";
0218
0219 regulator-name = "SDHI1 VccQ";
0220 regulator-min-microvolt = <1800000>;
0221 regulator-max-microvolt = <3300000>;
0222
0223 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
0224 gpios-states = <1>;
0225 states = <3300000 1>, <1800000 0>;
0226 };
0227
0228 vcc_sdhi2: regulator-vcc-sdhi2 {
0229 compatible = "regulator-fixed";
0230
0231 regulator-name = "SDHI2 Vcc";
0232 regulator-min-microvolt = <3300000>;
0233 regulator-max-microvolt = <3300000>;
0234
0235 gpio = <&gpio7 19 GPIO_ACTIVE_HIGH>;
0236 enable-active-high;
0237 };
0238
0239 vccq_sdhi2: regulator-vccq-sdhi2 {
0240 compatible = "regulator-gpio";
0241
0242 regulator-name = "SDHI2 VccQ";
0243 regulator-min-microvolt = <1800000>;
0244 regulator-max-microvolt = <3300000>;
0245
0246 gpios = <&gpio2 26 GPIO_ACTIVE_HIGH>;
0247 gpios-states = <1>;
0248 states = <3300000 1>, <1800000 0>;
0249 };
0250
0251 audio_clock: audio_clock {
0252 compatible = "fixed-clock";
0253 #clock-cells = <0>;
0254 clock-frequency = <11289600>;
0255 };
0256
0257 rsnd_ak4643: sound {
0258 compatible = "simple-audio-card";
0259
0260 simple-audio-card,format = "left_j";
0261 simple-audio-card,bitclock-master = <&sndcodec>;
0262 simple-audio-card,frame-master = <&sndcodec>;
0263
0264 sndcpu: simple-audio-card,cpu {
0265 sound-dai = <&rcar_sound>;
0266 };
0267
0268 sndcodec: simple-audio-card,codec {
0269 sound-dai = <&ak4643>;
0270 clocks = <&audio_clock>;
0271 };
0272 };
0273
0274 hdmi-in {
0275 compatible = "hdmi-connector";
0276 type = "a";
0277
0278 port {
0279 hdmi_con_in: endpoint {
0280 remote-endpoint = <&adv7612_in>;
0281 };
0282 };
0283 };
0284
0285 cec_clock: cec-clock {
0286 compatible = "fixed-clock";
0287 #clock-cells = <0>;
0288 clock-frequency = <12000000>;
0289 };
0290
0291 hdmi-out {
0292 compatible = "hdmi-connector";
0293 type = "a";
0294
0295 port {
0296 hdmi_con_out: endpoint {
0297 remote-endpoint = <&adv7511_out>;
0298 };
0299 };
0300 };
0301
0302 x2_clk: x2-clock {
0303 compatible = "fixed-clock";
0304 #clock-cells = <0>;
0305 clock-frequency = <74250000>;
0306 };
0307
0308 x13_clk: x13-clock {
0309 compatible = "fixed-clock";
0310 #clock-cells = <0>;
0311 clock-frequency = <148500000>;
0312 };
0313
0314 gpioi2c1: i2c-9 {
0315 #address-cells = <1>;
0316 #size-cells = <0>;
0317 compatible = "i2c-gpio";
0318 status = "disabled";
0319 scl-gpios = <&gpio7 15 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0320 sda-gpios = <&gpio7 16 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0321 i2c-gpio,delay-us = <5>;
0322 };
0323
0324 gpioi2c2: i2c-10 {
0325 #address-cells = <1>;
0326 #size-cells = <0>;
0327 compatible = "i2c-gpio";
0328 status = "disabled";
0329 scl-gpios = <&gpio2 6 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0330 sda-gpios = <&gpio2 7 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0331 i2c-gpio,delay-us = <5>;
0332 };
0333
0334 gpioi2c4: i2c-11 {
0335 #address-cells = <1>;
0336 #size-cells = <0>;
0337 compatible = "i2c-gpio";
0338 status = "disabled";
0339 scl-gpios = <&gpio7 13 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0340 sda-gpios = <&gpio7 14 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
0341 i2c-gpio,delay-us = <5>;
0342 };
0343
0344 /*
0345 * I2C1 is routed to EXIO connector B, pins 64 (SCL) + 66 (SDA).
0346 * A fallback to GPIO is provided.
0347 */
0348 i2cexio1: i2c-12 {
0349 compatible = "i2c-demux-pinctrl";
0350 i2c-parent = <&i2c1>, <&gpioi2c1>;
0351 i2c-bus-name = "i2c-exio1";
0352 #address-cells = <1>;
0353 #size-cells = <0>;
0354 };
0355
0356 /*
0357 * A fallback to GPIO is provided for I2C2.
0358 */
0359 i2chdmi: i2c-13 {
0360 compatible = "i2c-demux-pinctrl";
0361 i2c-parent = <&i2c2>, <&gpioi2c2>;
0362 i2c-bus-name = "i2c-hdmi";
0363 #address-cells = <1>;
0364 #size-cells = <0>;
0365
0366 ak4643: codec@12 {
0367 compatible = "asahi-kasei,ak4643";
0368 #sound-dai-cells = <0>;
0369 reg = <0x12>;
0370 };
0371
0372 composite-in@20 {
0373 compatible = "adi,adv7180";
0374 reg = <0x20>;
0375
0376 port {
0377 adv7180: endpoint {
0378 bus-width = <8>;
0379 remote-endpoint = <&vin1ep>;
0380 };
0381 };
0382 };
0383
0384 hdmi@39 {
0385 compatible = "adi,adv7511w";
0386 reg = <0x39>;
0387 interrupt-parent = <&gpio3>;
0388 interrupts = <29 IRQ_TYPE_LEVEL_LOW>;
0389 clocks = <&cec_clock>;
0390 clock-names = "cec";
0391
0392 adi,input-depth = <8>;
0393 adi,input-colorspace = "rgb";
0394 adi,input-clock = "1x";
0395
0396 ports {
0397 #address-cells = <1>;
0398 #size-cells = <0>;
0399
0400 port@0 {
0401 reg = <0>;
0402 adv7511_in: endpoint {
0403 remote-endpoint = <&du_out_rgb>;
0404 };
0405 };
0406
0407 port@1 {
0408 reg = <1>;
0409 adv7511_out: endpoint {
0410 remote-endpoint = <&hdmi_con_out>;
0411 };
0412 };
0413 };
0414 };
0415
0416 hdmi-in@4c {
0417 compatible = "adi,adv7612";
0418 reg = <0x4c>;
0419 interrupt-parent = <&gpio4>;
0420 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0421 default-input = <0>;
0422
0423 ports {
0424 #address-cells = <1>;
0425 #size-cells = <0>;
0426
0427 port@0 {
0428 reg = <0>;
0429 adv7612_in: endpoint {
0430 remote-endpoint = <&hdmi_con_in>;
0431 };
0432 };
0433
0434 port@2 {
0435 reg = <2>;
0436 adv7612_out: endpoint {
0437 remote-endpoint = <&vin0ep2>;
0438 };
0439 };
0440 };
0441 };
0442
0443 eeprom@50 {
0444 compatible = "renesas,r1ex24002", "atmel,24c02";
0445 reg = <0x50>;
0446 pagesize = <16>;
0447 };
0448 };
0449
0450 /*
0451 * I2C4 is routed to EXIO connector E, pins 37 (SCL) + 39 (SDA).
0452 * A fallback to GPIO is provided.
0453 */
0454 i2cexio4: i2c-14 {
0455 compatible = "i2c-demux-pinctrl";
0456 i2c-parent = <&i2c4>, <&gpioi2c4>;
0457 i2c-bus-name = "i2c-exio4";
0458 #address-cells = <1>;
0459 #size-cells = <0>;
0460 };
0461 };
0462
0463 &du {
0464 pinctrl-0 = <&du_pins>;
0465 pinctrl-names = "default";
0466 status = "okay";
0467
0468 clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
0469 <&x13_clk>, <&x2_clk>;
0470 clock-names = "du.0", "du.1", "dclkin.0", "dclkin.1";
0471
0472 ports {
0473 port@0 {
0474 endpoint {
0475 remote-endpoint = <&adv7511_in>;
0476 };
0477 };
0478 };
0479 };
0480
0481 &lvds0 {
0482 ports {
0483 port@1 {
0484 lvds_connector: endpoint {
0485 };
0486 };
0487 };
0488 };
0489
0490 &extal_clk {
0491 clock-frequency = <20000000>;
0492 };
0493
0494 &pfc {
0495 pinctrl-0 = <&scif_clk_pins>;
0496 pinctrl-names = "default";
0497
0498 i2c1_pins: i2c1 {
0499 groups = "i2c1";
0500 function = "i2c1";
0501 };
0502
0503 i2c2_pins: i2c2 {
0504 groups = "i2c2";
0505 function = "i2c2";
0506 };
0507
0508 i2c4_pins: i2c4 {
0509 groups = "i2c4_c";
0510 function = "i2c4";
0511 };
0512
0513 du_pins: du {
0514 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
0515 function = "du";
0516 };
0517
0518 scif0_pins: scif0 {
0519 groups = "scif0_data_d";
0520 function = "scif0";
0521 };
0522
0523 scif1_pins: scif1 {
0524 groups = "scif1_data_d";
0525 function = "scif1";
0526 };
0527
0528 scif_clk_pins: scif_clk {
0529 groups = "scif_clk";
0530 function = "scif_clk";
0531 };
0532
0533 ether_pins: ether {
0534 groups = "eth_link", "eth_mdio", "eth_rmii";
0535 function = "eth";
0536 };
0537
0538 phy1_pins: phy1 {
0539 groups = "intc_irq0";
0540 function = "intc";
0541 };
0542
0543 pmic_irq_pins: pmicirq {
0544 groups = "intc_irq2";
0545 function = "intc";
0546 };
0547
0548 sdhi0_pins: sd0 {
0549 groups = "sdhi0_data4", "sdhi0_ctrl";
0550 function = "sdhi0";
0551 power-source = <3300>;
0552 };
0553
0554 sdhi0_pins_uhs: sd0_uhs {
0555 groups = "sdhi0_data4", "sdhi0_ctrl";
0556 function = "sdhi0";
0557 power-source = <1800>;
0558 };
0559
0560 sdhi1_pins: sd1 {
0561 groups = "sdhi1_data4", "sdhi1_ctrl";
0562 function = "sdhi1";
0563 power-source = <3300>;
0564 };
0565
0566 sdhi1_pins_uhs: sd1_uhs {
0567 groups = "sdhi1_data4", "sdhi1_ctrl";
0568 function = "sdhi1";
0569 power-source = <1800>;
0570 };
0571
0572 sdhi2_pins: sd2 {
0573 groups = "sdhi2_data4", "sdhi2_ctrl";
0574 function = "sdhi2";
0575 power-source = <3300>;
0576 };
0577
0578 sdhi2_pins_uhs: sd2_uhs {
0579 groups = "sdhi2_data4", "sdhi2_ctrl";
0580 function = "sdhi2";
0581 power-source = <1800>;
0582 };
0583
0584 qspi_pins: qspi {
0585 groups = "qspi_ctrl", "qspi_data4";
0586 function = "qspi";
0587 };
0588
0589 msiof0_pins: msiof0 {
0590 groups = "msiof0_clk", "msiof0_sync", "msiof0_rx",
0591 "msiof0_tx";
0592 function = "msiof0";
0593 };
0594
0595 usb0_pins: usb0 {
0596 groups = "usb0";
0597 function = "usb0";
0598 };
0599
0600 usb1_pins: usb1 {
0601 groups = "usb1";
0602 function = "usb1";
0603 };
0604
0605 vin0_pins: vin0 {
0606 groups = "vin0_data24", "vin0_sync", "vin0_clkenb", "vin0_clk";
0607 function = "vin0";
0608 };
0609
0610 vin1_pins: vin1 {
0611 groups = "vin1_data8", "vin1_clk";
0612 function = "vin1";
0613 };
0614
0615 sound_pins: sound {
0616 groups = "ssi0129_ctrl", "ssi0_data", "ssi1_data";
0617 function = "ssi";
0618 };
0619
0620 sound_clk_pins: sound_clk {
0621 groups = "audio_clk_a";
0622 function = "audio_clk";
0623 };
0624
0625 keyboard_pins: keyboard {
0626 pins = "GP_5_0", "GP_5_1", "GP_5_2", "GP_5_3";
0627 bias-pull-up;
0628 };
0629 };
0630
0631 ðer {
0632 pinctrl-0 = <ðer_pins>, <&phy1_pins>;
0633 pinctrl-names = "default";
0634
0635 phy-handle = <&phy1>;
0636 renesas,ether-link-active-low;
0637 status = "okay";
0638
0639 phy1: ethernet-phy@1 {
0640 compatible = "ethernet-phy-id0022.1537",
0641 "ethernet-phy-ieee802.3-c22";
0642 reg = <1>;
0643 interrupt-parent = <&irqc0>;
0644 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
0645 micrel,led-mode = <1>;
0646 reset-gpios = <&gpio5 22 GPIO_ACTIVE_LOW>;
0647 };
0648 };
0649
0650 &cmt0 {
0651 status = "okay";
0652 };
0653
0654 &rwdt {
0655 timeout-sec = <60>;
0656 status = "okay";
0657 };
0658
0659 &sata0 {
0660 status = "okay";
0661 };
0662
0663 &scif0 {
0664 pinctrl-0 = <&scif0_pins>;
0665 pinctrl-names = "default";
0666
0667 status = "okay";
0668 };
0669
0670 &scif1 {
0671 pinctrl-0 = <&scif1_pins>;
0672 pinctrl-names = "default";
0673
0674 status = "okay";
0675 };
0676
0677 &scif_clk {
0678 clock-frequency = <14745600>;
0679 };
0680
0681 &sdhi0 {
0682 pinctrl-0 = <&sdhi0_pins>;
0683 pinctrl-1 = <&sdhi0_pins_uhs>;
0684 pinctrl-names = "default", "state_uhs";
0685
0686 vmmc-supply = <&vcc_sdhi0>;
0687 vqmmc-supply = <&vccq_sdhi0>;
0688 cd-gpios = <&gpio6 6 GPIO_ACTIVE_LOW>;
0689 wp-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>;
0690 sd-uhs-sdr50;
0691 sd-uhs-sdr104;
0692 status = "okay";
0693 };
0694
0695 &sdhi1 {
0696 pinctrl-0 = <&sdhi1_pins>;
0697 pinctrl-1 = <&sdhi1_pins_uhs>;
0698 pinctrl-names = "default", "state_uhs";
0699
0700 vmmc-supply = <&vcc_sdhi1>;
0701 vqmmc-supply = <&vccq_sdhi1>;
0702 cd-gpios = <&gpio6 14 GPIO_ACTIVE_LOW>;
0703 wp-gpios = <&gpio6 15 GPIO_ACTIVE_HIGH>;
0704 sd-uhs-sdr50;
0705 status = "okay";
0706 };
0707
0708 &sdhi2 {
0709 pinctrl-0 = <&sdhi2_pins>;
0710 pinctrl-1 = <&sdhi2_pins_uhs>;
0711 pinctrl-names = "default", "state_uhs";
0712
0713 vmmc-supply = <&vcc_sdhi2>;
0714 vqmmc-supply = <&vccq_sdhi2>;
0715 cd-gpios = <&gpio6 22 GPIO_ACTIVE_LOW>;
0716 sd-uhs-sdr50;
0717 status = "okay";
0718 };
0719
0720 &qspi {
0721 pinctrl-0 = <&qspi_pins>;
0722 pinctrl-names = "default";
0723
0724 status = "okay";
0725
0726 flash: flash@0 {
0727 compatible = "spansion,s25fl512s", "jedec,spi-nor";
0728 reg = <0>;
0729 spi-max-frequency = <30000000>;
0730 spi-tx-bus-width = <4>;
0731 spi-rx-bus-width = <4>;
0732 spi-cpha;
0733 spi-cpol;
0734 m25p,fast-read;
0735
0736 partitions {
0737 compatible = "fixed-partitions";
0738 #address-cells = <1>;
0739 #size-cells = <1>;
0740
0741 partition@0 {
0742 label = "loader";
0743 reg = <0x00000000 0x00080000>;
0744 read-only;
0745 };
0746 partition@80000 {
0747 label = "user";
0748 reg = <0x00080000 0x00580000>;
0749 read-only;
0750 };
0751 partition@600000 {
0752 label = "flash";
0753 reg = <0x00600000 0x03a00000>;
0754 };
0755 };
0756 };
0757 };
0758
0759 &msiof0 {
0760 pinctrl-0 = <&msiof0_pins>;
0761 pinctrl-names = "default";
0762
0763 status = "okay";
0764
0765 pmic: pmic@0 {
0766 compatible = "renesas,r2a11302ft";
0767 reg = <0>;
0768 spi-max-frequency = <6000000>;
0769 spi-cpol;
0770 spi-cpha;
0771 };
0772 };
0773
0774 &i2c1 {
0775 pinctrl-0 = <&i2c1_pins>;
0776 pinctrl-names = "i2c-exio1";
0777 };
0778
0779 &i2c2 {
0780 pinctrl-0 = <&i2c2_pins>;
0781 pinctrl-names = "i2c-hdmi";
0782
0783 clock-frequency = <100000>;
0784 };
0785
0786 &i2c4 {
0787 pinctrl-0 = <&i2c4_pins>;
0788 pinctrl-names = "i2c-exio4";
0789 };
0790
0791 &i2c6 {
0792 pinctrl-names = "default";
0793 pinctrl-0 = <&pmic_irq_pins>;
0794 status = "okay";
0795 clock-frequency = <100000>;
0796
0797 pmic@58 {
0798 compatible = "dlg,da9063";
0799 reg = <0x58>;
0800 interrupt-parent = <&irqc0>;
0801 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0802 interrupt-controller;
0803
0804 rtc {
0805 compatible = "dlg,da9063-rtc";
0806 };
0807
0808 watchdog {
0809 compatible = "dlg,da9063-watchdog";
0810 };
0811 };
0812
0813 vdd_dvfs: regulator@68 {
0814 compatible = "dlg,da9210";
0815 reg = <0x68>;
0816 interrupt-parent = <&irqc0>;
0817 interrupts = <2 IRQ_TYPE_LEVEL_LOW>;
0818
0819 regulator-min-microvolt = <1000000>;
0820 regulator-max-microvolt = <1000000>;
0821 regulator-boot-on;
0822 regulator-always-on;
0823 };
0824 };
0825
0826 &pci0 {
0827 status = "okay";
0828 pinctrl-0 = <&usb0_pins>;
0829 pinctrl-names = "default";
0830 };
0831
0832 &pci1 {
0833 status = "okay";
0834 pinctrl-0 = <&usb1_pins>;
0835 pinctrl-names = "default";
0836 };
0837
0838 &hsusb {
0839 status = "okay";
0840 pinctrl-0 = <&usb0_pins>;
0841 pinctrl-names = "default";
0842 renesas,enable-gpio = <&gpio5 31 GPIO_ACTIVE_HIGH>;
0843 };
0844
0845 &usbphy {
0846 status = "okay";
0847 };
0848
0849 &pcie_bus_clk {
0850 clock-frequency = <100000000>;
0851 };
0852
0853 &pciec {
0854 status = "okay";
0855 };
0856
0857 &cpu0 {
0858 cpu0-supply = <&vdd_dvfs>;
0859 };
0860
0861 /* HDMI video input */
0862 &vin0 {
0863 status = "okay";
0864 pinctrl-0 = <&vin0_pins>;
0865 pinctrl-names = "default";
0866
0867 port {
0868 vin0ep2: endpoint {
0869 remote-endpoint = <&adv7612_out>;
0870 bus-width = <24>;
0871 hsync-active = <0>;
0872 vsync-active = <0>;
0873 pclk-sample = <1>;
0874 data-active = <1>;
0875 };
0876 };
0877 };
0878
0879 /* composite video input */
0880 &vin1 {
0881 status = "okay";
0882 pinctrl-0 = <&vin1_pins>;
0883 pinctrl-names = "default";
0884
0885 port {
0886 vin1ep: endpoint {
0887 remote-endpoint = <&adv7180>;
0888 bus-width = <8>;
0889 };
0890 };
0891 };
0892
0893 &rcar_sound {
0894 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
0895 pinctrl-names = "default";
0896
0897 /* Single DAI */
0898 #sound-dai-cells = <0>;
0899
0900 status = "okay";
0901
0902 rcar_sound,dai {
0903 dai0 {
0904 playback = <&ssi0>, <&src2>, <&dvc0>;
0905 capture = <&ssi1>, <&src3>, <&dvc1>;
0906 };
0907 };
0908 };
0909
0910 &ssi1 {
0911 shared-pin;
0912 };