1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device Tree Source for common parts of Salvator-X board variants 4 * 5 * Copyright (C) 2015-2016 Renesas Electronics Corp. 6 */ 7 8/* 9 * SSI-AK4613 10 * 11 * This command is required when Playback/Capture 12 * 13 * amixer set "DVC Out" 100% 14 * amixer set "DVC In" 100% 15 * 16 * You can use Mute 17 * 18 * amixer set "DVC Out Mute" on 19 * amixer set "DVC In Mute" on 20 * 21 * You can use Volume Ramp 22 * 23 * amixer set "DVC Out Ramp Up Rate" "0.125 dB/64 steps" 24 * amixer set "DVC Out Ramp Down Rate" "0.125 dB/512 steps" 25 * amixer set "DVC Out Ramp" on 26 * aplay xxx.wav & 27 * amixer set "DVC Out" 80% // Volume Down 28 * amixer set "DVC Out" 100% // Volume Up 29 */ 30 31#include <dt-bindings/gpio/gpio.h> 32#include <dt-bindings/input/input.h> 33 34/ { 35 aliases { 36 serial0 = &scif2; 37 serial1 = &hscif1; 38 ethernet0 = &avb; 39 mmc0 = &sdhi2; 40 mmc1 = &sdhi0; 41 mmc2 = &sdhi3; 42 }; 43 44 chosen { 45 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on"; 46 stdout-path = "serial0:115200n8"; 47 }; 48 49 audio_clkout: audio-clkout { 50 /* 51 * This is same as <&rcar_sound 0> 52 * but needed to avoid cs2000/rcar_sound probe dead-lock 53 */ 54 compatible = "fixed-clock"; 55 #clock-cells = <0>; 56 clock-frequency = <12288000>; 57 }; 58 59 backlight: backlight { 60 compatible = "pwm-backlight"; 61 pwms = <&pwm1 0 50000>; 62 63 brightness-levels = <256 128 64 16 8 4 0>; 64 default-brightness-level = <6>; 65 66 power-supply = <®_12v>; 67 enable-gpios = <&gpio6 7 GPIO_ACTIVE_HIGH>; 68 }; 69 70 cvbs-in { 71 compatible = "composite-video-connector"; 72 label = "CVBS IN"; 73 74 port { 75 cvbs_con: endpoint { 76 remote-endpoint = <&adv7482_ain7>; 77 }; 78 }; 79 }; 80 81 hdmi-in { 82 compatible = "hdmi-connector"; 83 label = "HDMI IN"; 84 type = "a"; 85 86 port { 87 hdmi_in_con: endpoint { 88 remote-endpoint = <&adv7482_hdmi>; 89 }; 90 }; 91 }; 92 93 hdmi0-out { 94 compatible = "hdmi-connector"; 95 label = "HDMI0 OUT"; 96 type = "a"; 97 98 port { 99 hdmi0_con: endpoint { 100 }; 101 }; 102 }; 103 104 hdmi1-out { 105 compatible = "hdmi-connector"; 106 label = "HDMI1 OUT"; 107 type = "a"; 108 109 port { 110 hdmi1_con: endpoint { 111 }; 112 }; 113 }; 114 115 keys { 116 compatible = "gpio-keys"; 117 118 pinctrl-0 = <&keys_pins>; 119 pinctrl-names = "default"; 120 121 key-1 { 122 gpios = <&gpio5 17 GPIO_ACTIVE_LOW>; 123 linux,code = <KEY_1>; 124 label = "SW4-1"; 125 wakeup-source; 126 debounce-interval = <20>; 127 }; 128 key-2 { 129 gpios = <&gpio5 20 GPIO_ACTIVE_LOW>; 130 linux,code = <KEY_2>; 131 label = "SW4-2"; 132 wakeup-source; 133 debounce-interval = <20>; 134 }; 135 key-3 { 136 gpios = <&gpio5 22 GPIO_ACTIVE_LOW>; 137 linux,code = <KEY_3>; 138 label = "SW4-3"; 139 wakeup-source; 140 debounce-interval = <20>; 141 }; 142 key-4 { 143 gpios = <&gpio5 23 GPIO_ACTIVE_LOW>; 144 linux,code = <KEY_4>; 145 label = "SW4-4"; 146 wakeup-source; 147 debounce-interval = <20>; 148 }; 149 key-a { 150 gpios = <&gpio6 11 GPIO_ACTIVE_LOW>; 151 linux,code = <KEY_A>; 152 label = "TSW0"; 153 wakeup-source; 154 debounce-interval = <20>; 155 }; 156 key-b { 157 gpios = <&gpio6 12 GPIO_ACTIVE_LOW>; 158 linux,code = <KEY_B>; 159 label = "TSW1"; 160 wakeup-source; 161 debounce-interval = <20>; 162 }; 163 key-c { 164 gpios = <&gpio6 13 GPIO_ACTIVE_LOW>; 165 linux,code = <KEY_C>; 166 label = "TSW2"; 167 wakeup-source; 168 debounce-interval = <20>; 169 }; 170 }; 171 172 reg_1p8v: regulator0 { 173 compatible = "regulator-fixed"; 174 regulator-name = "fixed-1.8V"; 175 regulator-min-microvolt = <1800000>; 176 regulator-max-microvolt = <1800000>; 177 regulator-boot-on; 178 regulator-always-on; 179 }; 180 181 reg_3p3v: regulator1 { 182 compatible = "regulator-fixed"; 183 regulator-name = "fixed-3.3V"; 184 regulator-min-microvolt = <3300000>; 185 regulator-max-microvolt = <3300000>; 186 regulator-boot-on; 187 regulator-always-on; 188 }; 189 190 reg_12v: regulator2 { 191 compatible = "regulator-fixed"; 192 regulator-name = "fixed-12V"; 193 regulator-min-microvolt = <12000000>; 194 regulator-max-microvolt = <12000000>; 195 regulator-boot-on; 196 regulator-always-on; 197 }; 198 199 sound_card: sound { 200 compatible = "audio-graph-card"; 201 202 label = "rcar-sound"; 203 204 dais = <&rsnd_port0 /* ak4613 */ 205 &rsnd_port1>; /* HDMI0 */ 206 }; 207 208 vbus0_usb2: regulator-vbus0-usb2 { 209 compatible = "regulator-fixed"; 210 211 regulator-name = "USB20_VBUS0"; 212 regulator-min-microvolt = <5000000>; 213 regulator-max-microvolt = <5000000>; 214 215 gpio = <&gpio6 16 GPIO_ACTIVE_HIGH>; 216 enable-active-high; 217 }; 218 219 vcc_sdhi0: regulator-vcc-sdhi0 { 220 compatible = "regulator-fixed"; 221 222 regulator-name = "SDHI0 Vcc"; 223 regulator-min-microvolt = <3300000>; 224 regulator-max-microvolt = <3300000>; 225 226 gpio = <&gpio5 2 GPIO_ACTIVE_HIGH>; 227 enable-active-high; 228 }; 229 230 vccq_sdhi0: regulator-vccq-sdhi0 { 231 compatible = "regulator-gpio"; 232 233 regulator-name = "SDHI0 VccQ"; 234 regulator-min-microvolt = <1800000>; 235 regulator-max-microvolt = <3300000>; 236 237 gpios = <&gpio5 1 GPIO_ACTIVE_HIGH>; 238 gpios-states = <1>; 239 states = <3300000 1>, <1800000 0>; 240 }; 241 242 vcc_sdhi3: regulator-vcc-sdhi3 { 243 compatible = "regulator-fixed"; 244 245 regulator-name = "SDHI3 Vcc"; 246 regulator-min-microvolt = <3300000>; 247 regulator-max-microvolt = <3300000>; 248 249 gpio = <&gpio3 15 GPIO_ACTIVE_HIGH>; 250 enable-active-high; 251 }; 252 253 vccq_sdhi3: regulator-vccq-sdhi3 { 254 compatible = "regulator-gpio"; 255 256 regulator-name = "SDHI3 VccQ"; 257 regulator-min-microvolt = <1800000>; 258 regulator-max-microvolt = <3300000>; 259 260 gpios = <&gpio3 14 GPIO_ACTIVE_HIGH>; 261 gpios-states = <1>; 262 states = <3300000 1>, <1800000 0>; 263 }; 264 265 vga { 266 compatible = "vga-connector"; 267 268 port { 269 vga_in: endpoint { 270 remote-endpoint = <&adv7123_out>; 271 }; 272 }; 273 }; 274 275 vga-encoder { 276 compatible = "adi,adv7123"; 277 278 ports { 279 #address-cells = <1>; 280 #size-cells = <0>; 281 282 port@0 { 283 reg = <0>; 284 adv7123_in: endpoint { 285 remote-endpoint = <&du_out_rgb>; 286 }; 287 }; 288 port@1 { 289 reg = <1>; 290 adv7123_out: endpoint { 291 remote-endpoint = <&vga_in>; 292 }; 293 }; 294 }; 295 }; 296 297 x12_clk: x12 { 298 compatible = "fixed-clock"; 299 #clock-cells = <0>; 300 clock-frequency = <24576000>; 301 }; 302 303 /* External DU dot clocks */ 304 x21_clk: x21-clock { 305 compatible = "fixed-clock"; 306 #clock-cells = <0>; 307 clock-frequency = <33000000>; 308 }; 309 310 x22_clk: x22-clock { 311 compatible = "fixed-clock"; 312 #clock-cells = <0>; 313 clock-frequency = <33000000>; 314 }; 315 316 x23_clk: x23-clock { 317 compatible = "fixed-clock"; 318 #clock-cells = <0>; 319 clock-frequency = <25000000>; 320 }; 321}; 322 323&a57_0 { 324 cpu-supply = <&dvfs>; 325}; 326 327&audio_clk_a { 328 clock-frequency = <22579200>; 329}; 330 331&avb { 332 pinctrl-0 = <&avb_pins>; 333 pinctrl-names = "default"; 334 phy-handle = <&phy0>; 335 tx-internal-delay-ps = <2000>; 336 status = "okay"; 337 338 phy0: ethernet-phy@0 { 339 rxc-skew-ps = <1500>; 340 reg = <0>; 341 interrupt-parent = <&gpio2>; 342 interrupts = <11 IRQ_TYPE_LEVEL_LOW>; 343 reset-gpios = <&gpio2 10 GPIO_ACTIVE_LOW>; 344 }; 345}; 346 347&csi20 { 348 status = "okay"; 349 350 ports { 351 port@0 { 352 csi20_in: endpoint { 353 clock-lanes = <0>; 354 data-lanes = <1>; 355 remote-endpoint = <&adv7482_txb>; 356 }; 357 }; 358 }; 359}; 360 361&csi40 { 362 status = "okay"; 363 364 ports { 365 port@0 { 366 csi40_in: endpoint { 367 clock-lanes = <0>; 368 data-lanes = <1 2 3 4>; 369 remote-endpoint = <&adv7482_txa>; 370 }; 371 }; 372 }; 373}; 374 375&du { 376 pinctrl-0 = <&du_pins>; 377 pinctrl-names = "default"; 378 status = "okay"; 379 380 ports { 381 port@0 { 382 endpoint { 383 remote-endpoint = <&adv7123_in>; 384 }; 385 }; 386 }; 387}; 388 389&ehci0 { 390 dr_mode = "otg"; 391 status = "okay"; 392}; 393 394&ehci1 { 395 status = "okay"; 396}; 397 398&extalr_clk { 399 clock-frequency = <32768>; 400}; 401 402&hdmi0 { 403 status = "okay"; 404 405 ports { 406 port@1 { 407 reg = <1>; 408 rcar_dw_hdmi0_out: endpoint { 409 remote-endpoint = <&hdmi0_con>; 410 }; 411 }; 412 port@2 { 413 reg = <2>; 414 dw_hdmi0_snd_in: endpoint { 415 remote-endpoint = <&rsnd_endpoint1>; 416 }; 417 }; 418 }; 419}; 420 421&hdmi0_con { 422 remote-endpoint = <&rcar_dw_hdmi0_out>; 423}; 424 425&hscif1 { 426 pinctrl-0 = <&hscif1_pins>; 427 pinctrl-names = "default"; 428 429 uart-has-rtscts; 430 /* Please only enable hscif1 or scif1 */ 431 status = "okay"; 432}; 433 434&hsusb { 435 dr_mode = "otg"; 436 status = "okay"; 437}; 438 439&i2c2 { 440 pinctrl-0 = <&i2c2_pins>; 441 pinctrl-names = "default"; 442 443 status = "okay"; 444 445 clock-frequency = <100000>; 446 447 ak4613: codec@10 { 448 compatible = "asahi-kasei,ak4613"; 449 #sound-dai-cells = <0>; 450 reg = <0x10>; 451 clocks = <&rcar_sound 3>; 452 453 asahi-kasei,in1-single-end; 454 asahi-kasei,in2-single-end; 455 asahi-kasei,out1-single-end; 456 asahi-kasei,out2-single-end; 457 asahi-kasei,out3-single-end; 458 asahi-kasei,out4-single-end; 459 asahi-kasei,out5-single-end; 460 asahi-kasei,out6-single-end; 461 462 port { 463 ak4613_endpoint: endpoint { 464 remote-endpoint = <&rsnd_endpoint0>; 465 }; 466 }; 467 }; 468 469 cs2000: clk_multiplier@4f { 470 #clock-cells = <0>; 471 compatible = "cirrus,cs2000-cp"; 472 reg = <0x4f>; 473 clocks = <&audio_clkout>, <&x12_clk>; 474 clock-names = "clk_in", "ref_clk"; 475 476 assigned-clocks = <&cs2000>; 477 assigned-clock-rates = <24576000>; /* 1/1 divide */ 478 }; 479}; 480 481&i2c4 { 482 status = "okay"; 483 484 pca9654: gpio@20 { 485 compatible = "onnn,pca9654"; 486 reg = <0x20>; 487 gpio-controller; 488 #gpio-cells = <2>; 489 }; 490 491 video-receiver@70 { 492 compatible = "adi,adv7482"; 493 reg = <0x70 0x71 0x72 0x73 0x74 0x75 494 0x60 0x61 0x62 0x63 0x64 0x65>; 495 reg-names = "main", "dpll", "cp", "hdmi", "edid", "repeater", 496 "infoframe", "cbus", "cec", "sdp", "txa", "txb" ; 497 498 #address-cells = <1>; 499 #size-cells = <0>; 500 501 interrupt-parent = <&gpio6>; 502 interrupt-names = "intrq1", "intrq2"; 503 interrupts = <30 IRQ_TYPE_LEVEL_LOW>, 504 <31 IRQ_TYPE_LEVEL_LOW>; 505 506 port@7 { 507 reg = <7>; 508 509 adv7482_ain7: endpoint { 510 remote-endpoint = <&cvbs_con>; 511 }; 512 }; 513 514 port@8 { 515 reg = <8>; 516 517 adv7482_hdmi: endpoint { 518 remote-endpoint = <&hdmi_in_con>; 519 }; 520 }; 521 522 port@a { 523 reg = <10>; 524 525 adv7482_txa: endpoint { 526 clock-lanes = <0>; 527 data-lanes = <1 2 3 4>; 528 remote-endpoint = <&csi40_in>; 529 }; 530 }; 531 532 port@b { 533 reg = <11>; 534 535 adv7482_txb: endpoint { 536 clock-lanes = <0>; 537 data-lanes = <1>; 538 remote-endpoint = <&csi20_in>; 539 }; 540 }; 541 }; 542 543 csa_vdd: adc@7c { 544 compatible = "maxim,max9611"; 545 reg = <0x7c>; 546 547 shunt-resistor-micro-ohms = <5000>; 548 }; 549 550 csa_dvfs: adc@7f { 551 compatible = "maxim,max9611"; 552 reg = <0x7f>; 553 554 shunt-resistor-micro-ohms = <5000>; 555 }; 556}; 557 558&i2c_dvfs { 559 status = "okay"; 560 561 clock-frequency = <400000>; 562 563 pmic: pmic@30 { 564 pinctrl-0 = <&irq0_pins>; 565 pinctrl-names = "default"; 566 567 compatible = "rohm,bd9571mwv"; 568 reg = <0x30>; 569 interrupt-parent = <&intc_ex>; 570 interrupts = <0 IRQ_TYPE_LEVEL_LOW>; 571 interrupt-controller; 572 #interrupt-cells = <2>; 573 gpio-controller; 574 #gpio-cells = <2>; 575 rohm,ddr-backup-power = <0xf>; 576 rohm,rstbmode-level; 577 578 regulators { 579 dvfs: dvfs { 580 regulator-name = "dvfs"; 581 regulator-min-microvolt = <750000>; 582 regulator-max-microvolt = <1030000>; 583 regulator-boot-on; 584 regulator-always-on; 585 }; 586 }; 587 }; 588 589 eeprom@50 { 590 compatible = "rohm,br24t01", "atmel,24c01"; 591 reg = <0x50>; 592 pagesize = <8>; 593 }; 594}; 595 596&ohci0 { 597 dr_mode = "otg"; 598 status = "okay"; 599}; 600 601&ohci1 { 602 status = "okay"; 603}; 604 605&pcie_bus_clk { 606 clock-frequency = <100000000>; 607}; 608 609&pciec0 { 610 status = "okay"; 611}; 612 613&pciec1 { 614 status = "okay"; 615}; 616 617&pfc { 618 pinctrl-0 = <&scif_clk_pins>; 619 pinctrl-names = "default"; 620 621 avb_pins: avb { 622 mux { 623 groups = "avb_link", "avb_mdio", "avb_mii"; 624 function = "avb"; 625 }; 626 627 pins_mdio { 628 groups = "avb_mdio"; 629 drive-strength = <24>; 630 }; 631 632 pins_mii_tx { 633 pins = "PIN_AVB_TX_CTL", "PIN_AVB_TXC", "PIN_AVB_TD0", 634 "PIN_AVB_TD1", "PIN_AVB_TD2", "PIN_AVB_TD3"; 635 drive-strength = <12>; 636 }; 637 }; 638 639 du_pins: du { 640 groups = "du_rgb888", "du_sync", "du_oddf", "du_clk_out_0"; 641 function = "du"; 642 }; 643 644 hscif1_pins: hscif1 { 645 groups = "hscif1_data_a", "hscif1_ctrl_a"; 646 function = "hscif1"; 647 }; 648 649 i2c2_pins: i2c2 { 650 groups = "i2c2_a"; 651 function = "i2c2"; 652 }; 653 654 irq0_pins: irq0 { 655 groups = "intc_ex_irq0"; 656 function = "intc_ex"; 657 }; 658 659 keys_pins: keys { 660 pins = "GP_5_17", "GP_5_20", "GP_5_22"; 661 bias-pull-up; 662 }; 663 664 pwm1_pins: pwm1 { 665 groups = "pwm1_a"; 666 function = "pwm1"; 667 }; 668 669 scif1_pins: scif1 { 670 groups = "scif1_data_a", "scif1_ctrl"; 671 function = "scif1"; 672 }; 673 674 scif2_pins: scif2 { 675 groups = "scif2_data_a"; 676 function = "scif2"; 677 }; 678 679 scif_clk_pins: scif_clk { 680 groups = "scif_clk_a"; 681 function = "scif_clk"; 682 }; 683 684 sdhi0_pins: sd0 { 685 groups = "sdhi0_data4", "sdhi0_ctrl"; 686 function = "sdhi0"; 687 power-source = <3300>; 688 }; 689 690 sdhi0_pins_uhs: sd0_uhs { 691 groups = "sdhi0_data4", "sdhi0_ctrl"; 692 function = "sdhi0"; 693 power-source = <1800>; 694 }; 695 696 sdhi2_pins: sd2 { 697 groups = "sdhi2_data8", "sdhi2_ctrl", "sdhi2_ds"; 698 function = "sdhi2"; 699 power-source = <1800>; 700 }; 701 702 sdhi3_pins: sd3 { 703 groups = "sdhi3_data4", "sdhi3_ctrl"; 704 function = "sdhi3"; 705 power-source = <3300>; 706 }; 707 708 sdhi3_pins_uhs: sd3_uhs { 709 groups = "sdhi3_data4", "sdhi3_ctrl"; 710 function = "sdhi3"; 711 power-source = <1800>; 712 }; 713 714 sound_pins: sound { 715 groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data_a"; 716 function = "ssi"; 717 }; 718 719 sound_clk_pins: sound_clk { 720 groups = "audio_clk_a_a", "audio_clk_b_a", "audio_clk_c_a", 721 "audio_clkout_a", "audio_clkout3_a"; 722 function = "audio_clk"; 723 }; 724 725 usb0_pins: usb0 { 726 groups = "usb0"; 727 function = "usb0"; 728 }; 729 730 usb1_pins: usb1 { 731 mux { 732 groups = "usb1"; 733 function = "usb1"; 734 }; 735 736 ovc { 737 pins = "GP_6_27"; 738 bias-pull-up; 739 }; 740 741 pwen { 742 pins = "GP_6_26"; 743 bias-pull-down; 744 }; 745 }; 746 747 usb30_pins: usb30 { 748 groups = "usb30"; 749 function = "usb30"; 750 }; 751}; 752 753&pwm1 { 754 pinctrl-0 = <&pwm1_pins>; 755 pinctrl-names = "default"; 756 757 status = "okay"; 758}; 759 760&rcar_sound { 761 pinctrl-0 = <&sound_pins>, <&sound_clk_pins>; 762 pinctrl-names = "default"; 763 764 /* Single DAI */ 765 #sound-dai-cells = <0>; 766 767 /* audio_clkout0/1/2/3 */ 768 #clock-cells = <1>; 769 clock-frequency = <12288000 11289600>; 770 771 status = "okay"; 772 773 /* update <audio_clk_b> to <cs2000> */ 774 clocks = <&cpg CPG_MOD 1005>, 775 <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>, 776 <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>, 777 <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>, 778 <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>, 779 <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>, 780 <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>, 781 <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>, 782 <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>, 783 <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>, 784 <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>, 785 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 786 <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>, 787 <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>, 788 <&audio_clk_a>, <&cs2000>, 789 <&audio_clk_c>, 790 <&cpg CPG_CORE CPG_AUDIO_CLK_I>; 791 792 ports { 793 #address-cells = <1>; 794 #size-cells = <0>; 795 rsnd_port0: port@0 { 796 reg = <0>; 797 rsnd_endpoint0: endpoint { 798 remote-endpoint = <&ak4613_endpoint>; 799 800 dai-format = "left_j"; 801 bitclock-master = <&rsnd_endpoint0>; 802 frame-master = <&rsnd_endpoint0>; 803 804 playback = <&ssi0>, <&src0>, <&dvc0>; 805 capture = <&ssi1>, <&src1>, <&dvc1>; 806 }; 807 }; 808 809 rsnd_port1: port@1 { 810 reg = <1>; 811 rsnd_endpoint1: endpoint { 812 remote-endpoint = <&dw_hdmi0_snd_in>; 813 814 dai-format = "i2s"; 815 bitclock-master = <&rsnd_endpoint1>; 816 frame-master = <&rsnd_endpoint1>; 817 818 playback = <&ssi2>; 819 }; 820 }; 821 }; 822}; 823 824&rwdt { 825 timeout-sec = <60>; 826 status = "okay"; 827}; 828 829&scif1 { 830 pinctrl-0 = <&scif1_pins>; 831 pinctrl-names = "default"; 832 833 uart-has-rtscts; 834 /* Please only enable hscif1 or scif1 */ 835 /* status = "okay"; */ 836}; 837 838&scif2 { 839 pinctrl-0 = <&scif2_pins>; 840 pinctrl-names = "default"; 841 842 status = "okay"; 843}; 844 845&scif_clk { 846 clock-frequency = <14745600>; 847}; 848 849&sdhi0 { 850 pinctrl-0 = <&sdhi0_pins>; 851 pinctrl-1 = <&sdhi0_pins_uhs>; 852 pinctrl-names = "default", "state_uhs"; 853 854 vmmc-supply = <&vcc_sdhi0>; 855 vqmmc-supply = <&vccq_sdhi0>; 856 cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>; 857 wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>; 858 bus-width = <4>; 859 sd-uhs-sdr50; 860 sd-uhs-sdr104; 861 status = "okay"; 862}; 863 864&sdhi2 { 865 /* used for on-board 8bit eMMC */ 866 pinctrl-0 = <&sdhi2_pins>; 867 pinctrl-1 = <&sdhi2_pins>; 868 pinctrl-names = "default", "state_uhs"; 869 870 vmmc-supply = <®_3p3v>; 871 vqmmc-supply = <®_1p8v>; 872 bus-width = <8>; 873 mmc-hs200-1_8v; 874 mmc-hs400-1_8v; 875 no-sd; 876 no-sdio; 877 non-removable; 878 fixed-emmc-driver-type = <1>; 879 full-pwr-cycle-in-suspend; 880 status = "okay"; 881}; 882 883&sdhi3 { 884 pinctrl-0 = <&sdhi3_pins>; 885 pinctrl-1 = <&sdhi3_pins_uhs>; 886 pinctrl-names = "default", "state_uhs"; 887 888 vmmc-supply = <&vcc_sdhi3>; 889 vqmmc-supply = <&vccq_sdhi3>; 890 cd-gpios = <&gpio4 15 GPIO_ACTIVE_LOW>; 891 wp-gpios = <&gpio4 16 GPIO_ACTIVE_HIGH>; 892 bus-width = <4>; 893 sd-uhs-sdr50; 894 sd-uhs-sdr104; 895 status = "okay"; 896}; 897 898&ssi1 { 899 shared-pin; 900}; 901 902&usb_extal_clk { 903 clock-frequency = <50000000>; 904}; 905 906&usb2_phy0 { 907 pinctrl-0 = <&usb0_pins>; 908 pinctrl-names = "default"; 909 910 vbus-supply = <&vbus0_usb2>; 911 status = "okay"; 912}; 913 914&usb2_phy1 { 915 pinctrl-0 = <&usb1_pins>; 916 pinctrl-names = "default"; 917 918 status = "okay"; 919}; 920 921&usb3_peri0 { 922 phys = <&usb3_phy0>; 923 phy-names = "usb"; 924 925 companion = <&xhci0>; 926 927 status = "okay"; 928}; 929 930&usb3_phy0 { 931 status = "okay"; 932}; 933 934&usb3s0_clk { 935 clock-frequency = <100000000>; 936}; 937 938&vin0 { 939 status = "okay"; 940}; 941 942&vin1 { 943 status = "okay"; 944}; 945 946&vin2 { 947 status = "okay"; 948}; 949 950&vin3 { 951 status = "okay"; 952}; 953 954&vin4 { 955 status = "okay"; 956}; 957 958&vin5 { 959 status = "okay"; 960}; 961 962&vin6 { 963 status = "okay"; 964}; 965 966&vin7 { 967 status = "okay"; 968}; 969 970&xhci0 { 971 pinctrl-0 = <&usb30_pins>; 972 pinctrl-names = "default"; 973 974 status = "okay"; 975}; 976