Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree Source for the Ebisu board
0004  *
0005  * Copyright (C) 2018 Renesas Electronics Corp.
0006  */
0007 
0008 #include <dt-bindings/gpio/gpio.h>
0009 #include <dt-bindings/input/input.h>
0010 
0011 / {
0012         model = "Renesas Ebisu board";
0013         compatible = "renesas,ebisu";
0014 
0015         aliases {
0016                 serial0 = &scif2;
0017                 ethernet0 = &avb;
0018                 mmc0 = &sdhi3;
0019                 mmc1 = &sdhi0;
0020                 mmc2 = &sdhi1;
0021         };
0022 
0023         chosen {
0024                 bootargs = "ignore_loglevel rw root=/dev/nfs ip=on";
0025                 stdout-path = "serial0:115200n8";
0026         };
0027 
0028         audio_clkout: audio-clkout {
0029                 /*
0030                  * This is same as <&rcar_sound 0>
0031                  * but needed to avoid cs2000/rcar_sound probe dead-lock
0032                  */
0033                 compatible = "fixed-clock";
0034                 #clock-cells = <0>;
0035                 clock-frequency = <11289600>;
0036         };
0037 
0038         backlight: backlight {
0039                 compatible = "pwm-backlight";
0040                 pwms = <&pwm3 0 50000>;
0041 
0042                 brightness-levels = <512 511 505 494 473 440 392 327 241 133 0>;
0043                 default-brightness-level = <10>;
0044 
0045                 power-supply = <&reg_12p0v>;
0046         };
0047 
0048         cvbs-in {
0049                 compatible = "composite-video-connector";
0050                 label = "CVBS IN";
0051 
0052                 port {
0053                         cvbs_con: endpoint {
0054                                 remote-endpoint = <&adv7482_ain7>;
0055                         };
0056                 };
0057         };
0058 
0059         hdmi-in {
0060                 compatible = "hdmi-connector";
0061                 label = "HDMI IN";
0062                 type = "a";
0063 
0064                 port {
0065                         hdmi_in_con: endpoint {
0066                                 remote-endpoint = <&adv7482_hdmi>;
0067                         };
0068                 };
0069         };
0070 
0071         hdmi-out {
0072                 compatible = "hdmi-connector";
0073                 type = "a";
0074 
0075                 port {
0076                         hdmi_con_out: endpoint {
0077                                 remote-endpoint = <&adv7511_out>;
0078                         };
0079                 };
0080         };
0081 
0082         keys {
0083                 compatible = "gpio-keys";
0084 
0085                 pinctrl-0 = <&keys_pins>;
0086                 pinctrl-names = "default";
0087 
0088                 key-1 {
0089                         gpios = <&gpio5 10 GPIO_ACTIVE_LOW>;
0090                         linux,code = <KEY_1>;
0091                         label = "SW4-1";
0092                         wakeup-source;
0093                         debounce-interval = <20>;
0094                 };
0095                 key-2 {
0096                         gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
0097                         linux,code = <KEY_2>;
0098                         label = "SW4-2";
0099                         wakeup-source;
0100                         debounce-interval = <20>;
0101                 };
0102                 key-3 {
0103                         gpios = <&gpio5 12 GPIO_ACTIVE_LOW>;
0104                         linux,code = <KEY_3>;
0105                         label = "SW4-3";
0106                         wakeup-source;
0107                         debounce-interval = <20>;
0108                 };
0109                 key-4 {
0110                         gpios = <&gpio5 13 GPIO_ACTIVE_LOW>;
0111                         linux,code = <KEY_4>;
0112                         label = "SW4-4";
0113                         wakeup-source;
0114                         debounce-interval = <20>;
0115                 };
0116         };
0117 
0118         lvds-decoder {
0119                 compatible = "thine,thc63lvd1024";
0120                 vcc-supply = <&reg_3p3v>;
0121 
0122                 ports {
0123                         #address-cells = <1>;
0124                         #size-cells = <0>;
0125 
0126                         port@0 {
0127                                 reg = <0>;
0128                                 thc63lvd1024_in: endpoint {
0129                                         remote-endpoint = <&lvds0_out>;
0130                                 };
0131                         };
0132 
0133                         port@2 {
0134                                 reg = <2>;
0135                                 thc63lvd1024_out: endpoint {
0136                                         remote-endpoint = <&adv7511_in>;
0137                                 };
0138                         };
0139                 };
0140         };
0141 
0142         memory@48000000 {
0143                 device_type = "memory";
0144                 /* first 128MB is reserved for secure area. */
0145                 reg = <0x0 0x48000000 0x0 0x38000000>;
0146         };
0147 
0148         reg_1p8v: regulator-1p8v {
0149                 compatible = "regulator-fixed";
0150                 regulator-name = "fixed-1.8V";
0151                 regulator-min-microvolt = <1800000>;
0152                 regulator-max-microvolt = <1800000>;
0153                 regulator-boot-on;
0154                 regulator-always-on;
0155         };
0156 
0157         reg_3p3v: regulator-3p3v {
0158                 compatible = "regulator-fixed";
0159                 regulator-name = "fixed-3.3V";
0160                 regulator-min-microvolt = <3300000>;
0161                 regulator-max-microvolt = <3300000>;
0162                 regulator-boot-on;
0163                 regulator-always-on;
0164         };
0165 
0166         reg_12p0v: regulator-12p0v {
0167                 compatible = "regulator-fixed";
0168                 regulator-name = "D12.0V";
0169                 regulator-min-microvolt = <12000000>;
0170                 regulator-max-microvolt = <12000000>;
0171                 regulator-boot-on;
0172                 regulator-always-on;
0173         };
0174 
0175         rsnd_ak4613: sound {
0176                 compatible = "simple-audio-card";
0177 
0178                 simple-audio-card,name = "rsnd-ak4613";
0179                 simple-audio-card,format = "left_j";
0180                 simple-audio-card,bitclock-master = <&sndcpu>;
0181                 simple-audio-card,frame-master = <&sndcpu>;
0182 
0183                 sndcodec: simple-audio-card,codec {
0184                         sound-dai = <&ak4613>;
0185                 };
0186 
0187                 sndcpu: simple-audio-card,cpu {
0188                         sound-dai = <&rcar_sound>;
0189                 };
0190         };
0191 
0192         vbus0_usb2: regulator-vbus0-usb2 {
0193                 compatible = "regulator-fixed";
0194 
0195                 regulator-name = "USB20_VBUS_CN";
0196                 regulator-min-microvolt = <5000000>;
0197                 regulator-max-microvolt = <5000000>;
0198 
0199                 gpio = <&gpio6 4 GPIO_ACTIVE_HIGH>;
0200                 enable-active-high;
0201         };
0202 
0203         vcc_sdhi0: regulator-vcc-sdhi0 {
0204                 compatible = "regulator-fixed";
0205 
0206                 regulator-name = "SDHI0 Vcc";
0207                 regulator-min-microvolt = <3300000>;
0208                 regulator-max-microvolt = <3300000>;
0209 
0210                 gpio = <&gpio5 17 GPIO_ACTIVE_HIGH>;
0211                 enable-active-high;
0212         };
0213 
0214         vccq_sdhi0: regulator-vccq-sdhi0 {
0215                 compatible = "regulator-gpio";
0216 
0217                 regulator-name = "SDHI0 VccQ";
0218                 regulator-min-microvolt = <1800000>;
0219                 regulator-max-microvolt = <3300000>;
0220 
0221                 gpios = <&gpio5 18 GPIO_ACTIVE_HIGH>;
0222                 gpios-states = <1>;
0223                 states = <3300000 1>, <1800000 0>;
0224         };
0225 
0226         vcc_sdhi1: regulator-vcc-sdhi1 {
0227                 compatible = "regulator-fixed";
0228 
0229                 regulator-name = "SDHI1 Vcc";
0230                 regulator-min-microvolt = <3300000>;
0231                 regulator-max-microvolt = <3300000>;
0232 
0233                 gpio = <&gpio0 4 GPIO_ACTIVE_HIGH>;
0234                 enable-active-high;
0235         };
0236 
0237         vccq_sdhi1: regulator-vccq-sdhi1 {
0238                 compatible = "regulator-gpio";
0239 
0240                 regulator-name = "SDHI1 VccQ";
0241                 regulator-min-microvolt = <1800000>;
0242                 regulator-max-microvolt = <3300000>;
0243 
0244                 gpios = <&gpio3 15 GPIO_ACTIVE_HIGH>;
0245                 gpios-states = <1>;
0246                 states = <3300000 1>, <1800000 0>;
0247         };
0248 
0249         vga {
0250                 compatible = "vga-connector";
0251 
0252                 port {
0253                         vga_in: endpoint {
0254                                 remote-endpoint = <&adv7123_out>;
0255                         };
0256                 };
0257         };
0258 
0259         vga-encoder {
0260                 compatible = "adi,adv7123";
0261 
0262                 ports {
0263                         #address-cells = <1>;
0264                         #size-cells = <0>;
0265 
0266                         port@0 {
0267                                 reg = <0>;
0268                                 adv7123_in: endpoint {
0269                                         remote-endpoint = <&du_out_rgb>;
0270                                 };
0271                         };
0272                         port@1 {
0273                                 reg = <1>;
0274                                 adv7123_out: endpoint {
0275                                         remote-endpoint = <&vga_in>;
0276                                 };
0277                         };
0278                 };
0279         };
0280 
0281         x12_clk: x12 {
0282                 compatible = "fixed-clock";
0283                 #clock-cells = <0>;
0284                 clock-frequency = <24576000>;
0285         };
0286 
0287         x13_clk: x13 {
0288                 compatible = "fixed-clock";
0289                 #clock-cells = <0>;
0290                 clock-frequency = <74250000>;
0291         };
0292 };
0293 
0294 &audio_clk_a {
0295         clock-frequency = <22579200>;
0296 };
0297 
0298 &avb {
0299         pinctrl-0 = <&avb_pins>;
0300         pinctrl-names = "default";
0301         phy-handle = <&phy0>;
0302         status = "okay";
0303 
0304         phy0: ethernet-phy@0 {
0305                 compatible = "ethernet-phy-id0022.1622",
0306                              "ethernet-phy-ieee802.3-c22";
0307                 rxc-skew-ps = <1500>;
0308                 reg = <0>;
0309                 interrupt-parent = <&gpio2>;
0310                 interrupts = <21 IRQ_TYPE_LEVEL_LOW>;
0311                 reset-gpios = <&gpio1 20 GPIO_ACTIVE_LOW>;
0312                 /*
0313                  * TX clock internal delay mode is required for reliable
0314                  * 1Gbps communication using the KSZ9031RNX phy present on
0315                  * the Ebisu board, however, TX clock internal delay mode
0316                  * isn't supported on R-Car E3(e).  Thus, limit speed to
0317                  * 100Mbps for reliable communication.
0318                  */
0319                 max-speed = <100>;
0320         };
0321 };
0322 
0323 &canfd {
0324         pinctrl-0 = <&canfd0_pins>;
0325         pinctrl-names = "default";
0326         status = "okay";
0327 
0328         channel0 {
0329                 status = "okay";
0330         };
0331 };
0332 
0333 &csi40 {
0334         status = "okay";
0335 
0336         ports {
0337                 port@0 {
0338                         csi40_in: endpoint {
0339                                 clock-lanes = <0>;
0340                                 data-lanes = <1 2>;
0341                                 remote-endpoint = <&adv7482_txa>;
0342                         };
0343                 };
0344         };
0345 };
0346 
0347 &du {
0348         pinctrl-0 = <&du_pins>;
0349         pinctrl-names = "default";
0350         status = "okay";
0351 
0352         clocks = <&cpg CPG_MOD 724>,
0353                  <&cpg CPG_MOD 723>,
0354                  <&x13_clk>;
0355         clock-names = "du.0", "du.1", "dclkin.0";
0356 
0357         ports {
0358                 port@0 {
0359                         du_out_rgb: endpoint {
0360                                 remote-endpoint = <&adv7123_in>;
0361                         };
0362                 };
0363         };
0364 };
0365 
0366 &ehci0 {
0367         dr_mode = "otg";
0368         status = "okay";
0369 };
0370 
0371 &extal_clk {
0372         clock-frequency = <48000000>;
0373 };
0374 
0375 &hsusb {
0376         dr_mode = "otg";
0377         status = "okay";
0378 };
0379 
0380 &i2c0 {
0381         status = "okay";
0382 
0383         io_expander: gpio@20 {
0384                 compatible = "onnn,pca9654";
0385                 reg = <0x20>;
0386                 gpio-controller;
0387                 #gpio-cells = <2>;
0388                 interrupt-parent = <&gpio2>;
0389                 interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
0390         };
0391 
0392         hdmi-encoder@39 {
0393                 compatible = "adi,adv7511w";
0394                 reg = <0x39>;
0395                 interrupt-parent = <&gpio1>;
0396                 interrupts = <1 IRQ_TYPE_LEVEL_LOW>;
0397 
0398                 adi,input-depth = <8>;
0399                 adi,input-colorspace = "rgb";
0400                 adi,input-clock = "1x";
0401 
0402                 ports {
0403                         #address-cells = <1>;
0404                         #size-cells = <0>;
0405 
0406                         port@0 {
0407                                 reg = <0>;
0408                                 adv7511_in: endpoint {
0409                                         remote-endpoint = <&thc63lvd1024_out>;
0410                                 };
0411                         };
0412 
0413                         port@1 {
0414                                 reg = <1>;
0415                                 adv7511_out: endpoint {
0416                                         remote-endpoint = <&hdmi_con_out>;
0417                                 };
0418                         };
0419                 };
0420         };
0421 
0422         video-receiver@70 {
0423                 compatible = "adi,adv7482";
0424                 reg = <0x70>;
0425 
0426                 interrupt-parent = <&gpio0>;
0427                 interrupt-names = "intrq1", "intrq2";
0428                 interrupts = <7 IRQ_TYPE_LEVEL_LOW>,
0429                              <17 IRQ_TYPE_LEVEL_LOW>;
0430 
0431                 ports {
0432                         #address-cells = <1>;
0433                         #size-cells = <0>;
0434 
0435                         port@7 {
0436                                 reg = <7>;
0437 
0438                                 adv7482_ain7: endpoint {
0439                                         remote-endpoint = <&cvbs_con>;
0440                                 };
0441                         };
0442 
0443                         port@8 {
0444                                 reg = <8>;
0445 
0446                                 adv7482_hdmi: endpoint {
0447                                         remote-endpoint = <&hdmi_in_con>;
0448                                 };
0449                         };
0450 
0451                         port@a {
0452                                 reg = <10>;
0453 
0454                                 adv7482_txa: endpoint {
0455                                         clock-lanes = <0>;
0456                                         data-lanes = <1 2>;
0457                                         remote-endpoint = <&csi40_in>;
0458                                 };
0459                         };
0460                 };
0461         };
0462 };
0463 
0464 &i2c3 {
0465         status = "okay";
0466 
0467         ak4613: codec@10 {
0468                 compatible = "asahi-kasei,ak4613";
0469                 #sound-dai-cells = <0>;
0470                 reg = <0x10>;
0471                 clocks = <&rcar_sound 3>;
0472 
0473                 asahi-kasei,in1-single-end;
0474                 asahi-kasei,in2-single-end;
0475                 asahi-kasei,out1-single-end;
0476                 asahi-kasei,out2-single-end;
0477                 asahi-kasei,out3-single-end;
0478                 asahi-kasei,out4-single-end;
0479                 asahi-kasei,out5-single-end;
0480                 asahi-kasei,out6-single-end;
0481         };
0482 
0483         cs2000: clk-multiplier@4f {
0484                 #clock-cells = <0>;
0485                 compatible = "cirrus,cs2000-cp";
0486                 reg = <0x4f>;
0487                 clocks = <&audio_clkout>, <&x12_clk>;
0488                 clock-names = "clk_in", "ref_clk";
0489 
0490                 assigned-clocks = <&cs2000>;
0491                 assigned-clock-rates = <24576000>; /* 1/1 divide */
0492         };
0493 };
0494 
0495 &i2c_dvfs {
0496         status = "okay";
0497 
0498         clock-frequency = <400000>;
0499 
0500         pmic: pmic@30 {
0501                 pinctrl-0 = <&irq0_pins>;
0502                 pinctrl-names = "default";
0503 
0504                 compatible = "rohm,bd9571mwv";
0505                 reg = <0x30>;
0506                 interrupt-parent = <&intc_ex>;
0507                 interrupts = <0 IRQ_TYPE_LEVEL_LOW>;
0508                 interrupt-controller;
0509                 #interrupt-cells = <2>;
0510                 gpio-controller;
0511                 #gpio-cells = <2>;
0512                 rohm,ddr-backup-power = <0x1>;
0513                 rohm,rstbmode-level;
0514         };
0515 
0516         eeprom@50 {
0517                 compatible = "rohm,br24t01", "atmel,24c01";
0518                 reg = <0x50>;
0519                 pagesize = <8>;
0520         };
0521 };
0522 
0523 &lvds0 {
0524         status = "okay";
0525 
0526         clocks = <&cpg CPG_MOD 727>,
0527                  <&x13_clk>,
0528                  <&extal_clk>;
0529         clock-names = "fck", "dclkin.0", "extal";
0530 
0531         ports {
0532                 port@1 {
0533                         lvds0_out: endpoint {
0534                                 remote-endpoint = <&thc63lvd1024_in>;
0535                         };
0536                 };
0537         };
0538 };
0539 
0540 &lvds1 {
0541         /*
0542          * Even though the LVDS1 output is not connected, the encoder must be
0543          * enabled to supply a pixel clock to the DU for the DPAD output when
0544          * LVDS0 is in use.
0545          */
0546         status = "okay";
0547 
0548         clocks = <&cpg CPG_MOD 727>,
0549                  <&x13_clk>,
0550                  <&extal_clk>;
0551         clock-names = "fck", "dclkin.0", "extal";
0552 };
0553 
0554 &ohci0 {
0555         dr_mode = "otg";
0556         status = "okay";
0557 };
0558 
0559 &pcie_bus_clk {
0560         clock-frequency = <100000000>;
0561 };
0562 
0563 &pciec0 {
0564         status = "okay";
0565 };
0566 
0567 &pfc {
0568         avb_pins: avb {
0569                 groups = "avb_link", "avb_mii";
0570                 function = "avb";
0571         };
0572 
0573         canfd0_pins: canfd0 {
0574                 groups = "canfd0_data";
0575                 function = "canfd0";
0576         };
0577 
0578         du_pins: du {
0579                 groups = "du_rgb888", "du_sync", "du_disp", "du_clk_out_0";
0580                 function = "du";
0581         };
0582 
0583         irq0_pins: irq0 {
0584                 groups = "intc_ex_irq0";
0585                 function = "intc_ex";
0586         };
0587 
0588         keys_pins: keys {
0589                 pins = "GP_5_10", "GP_5_11", "GP_5_12", "GP_5_13";
0590                 bias-pull-up;
0591         };
0592 
0593         pwm3_pins: pwm3 {
0594                 groups = "pwm3_b";
0595                 function = "pwm3";
0596         };
0597 
0598         pwm5_pins: pwm5 {
0599                 groups = "pwm5_a";
0600                 function = "pwm5";
0601         };
0602 
0603         rpc_pins: rpc {
0604                 groups = "rpc_clk2", "rpc_ctrl", "rpc_data", "rpc_reset",
0605                          "rpc_int";
0606                 function = "rpc";
0607         };
0608 
0609         scif2_pins: scif2 {
0610                 groups = "scif2_data_a";
0611                 function = "scif2";
0612         };
0613 
0614         sdhi0_pins: sd0 {
0615                 groups = "sdhi0_data4", "sdhi0_ctrl";
0616                 function = "sdhi0";
0617                 power-source = <3300>;
0618         };
0619 
0620         sdhi0_pins_uhs: sd0_uhs {
0621                 groups = "sdhi0_data4", "sdhi0_ctrl";
0622                 function = "sdhi0";
0623                 power-source = <1800>;
0624         };
0625 
0626         sdhi1_pins: sd1 {
0627                 groups = "sdhi1_data4", "sdhi1_ctrl";
0628                 function = "sdhi1";
0629                 power-source = <3300>;
0630         };
0631 
0632         sdhi1_pins_uhs: sd1_uhs {
0633                 groups = "sdhi1_data4", "sdhi1_ctrl";
0634                 function = "sdhi1";
0635                 power-source = <1800>;
0636         };
0637 
0638         sdhi3_pins: sd3 {
0639                 groups = "sdhi3_data8", "sdhi3_ctrl", "sdhi3_ds";
0640                 function = "sdhi3";
0641                 power-source = <1800>;
0642         };
0643 
0644         sound_clk_pins: sound_clk {
0645                 groups = "audio_clk_a", "audio_clk_b_a", "audio_clk_c_a",
0646                          "audio_clkout_a", "audio_clkout1_a";
0647                 function = "audio_clk";
0648         };
0649 
0650         sound_pins: sound {
0651                 groups = "ssi01239_ctrl", "ssi0_data", "ssi1_data";
0652                 function = "ssi";
0653         };
0654 
0655         usb0_pins: usb {
0656                 groups = "usb0_b", "usb0_id";
0657                 function = "usb0";
0658         };
0659 
0660         usb30_pins: usb30 {
0661                 groups = "usb30";
0662                 function = "usb30";
0663         };
0664 };
0665 
0666 &pwm3 {
0667         pinctrl-0 = <&pwm3_pins>;
0668         pinctrl-names = "default";
0669 
0670         status = "okay";
0671 };
0672 
0673 &pwm5 {
0674         pinctrl-0 = <&pwm5_pins>;
0675         pinctrl-names = "default";
0676 
0677         status = "okay";
0678 };
0679 
0680 &rcar_sound {
0681         pinctrl-0 = <&sound_pins>, <&sound_clk_pins>;
0682         pinctrl-names = "default";
0683 
0684         /* Single DAI */
0685         #sound-dai-cells = <0>;
0686 
0687         /* audio_clkout0/1/2/3 */
0688         #clock-cells = <1>;
0689         clock-frequency = <12288000 11289600>;
0690 
0691         status = "okay";
0692 
0693         /* update <audio_clk_b> to <cs2000> */
0694         clocks = <&cpg CPG_MOD 1005>,
0695                  <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
0696                  <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
0697                  <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
0698                  <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
0699                  <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
0700                  <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
0701                  <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
0702                  <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
0703                  <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
0704                  <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
0705                  <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
0706                  <&cpg CPG_MOD 1020>, <&cpg CPG_MOD 1021>,
0707                  <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
0708                  <&audio_clk_a>, <&cs2000>, <&audio_clk_c>,
0709                  <&cpg CPG_CORE R8A77990_CLK_ZA2>;
0710 
0711         rcar_sound,dai {
0712                 dai0 {
0713                         playback = <&ssi0>, <&src0>, <&dvc0>;
0714                         capture = <&ssi1>, <&src1>, <&dvc1>;
0715                 };
0716         };
0717 
0718 };
0719 
0720 &rpc {
0721         pinctrl-0 = <&rpc_pins>;
0722         pinctrl-names = "default";
0723 
0724         /* Left disabled.  To be enabled by firmware when unlocked. */
0725 
0726         flash@0 {
0727                 compatible = "cypress,hyperflash", "cfi-flash";
0728                 reg = <0>;
0729 
0730                 partitions {
0731                         compatible = "fixed-partitions";
0732                         #address-cells = <1>;
0733                         #size-cells = <1>;
0734 
0735                         bootparam@0 {
0736                                 reg = <0x00000000 0x040000>;
0737                                 read-only;
0738                         };
0739                         bl2@40000 {
0740                                 reg = <0x00040000 0x140000>;
0741                                 read-only;
0742                         };
0743                         cert_header_sa6@180000 {
0744                                 reg = <0x00180000 0x040000>;
0745                                 read-only;
0746                         };
0747                         bl31@1c0000 {
0748                                 reg = <0x001c0000 0x040000>;
0749                                 read-only;
0750                         };
0751                         tee@200000 {
0752                                 reg = <0x00200000 0x440000>;
0753                                 read-only;
0754                         };
0755                         uboot@640000 {
0756                                 reg = <0x00640000 0x100000>;
0757                                 read-only;
0758                         };
0759                         dtb@740000 {
0760                                 reg = <0x00740000 0x080000>;
0761                         };
0762                         kernel@7c0000 {
0763                                 reg = <0x007c0000 0x1400000>;
0764                         };
0765                         user@1bc0000 {
0766                                 reg = <0x01bc0000 0x2440000>;
0767                         };
0768                 };
0769         };
0770 };
0771 
0772 &rwdt {
0773         timeout-sec = <60>;
0774         status = "okay";
0775 };
0776 
0777 &scif2 {
0778         pinctrl-0 = <&scif2_pins>;
0779         pinctrl-names = "default";
0780 
0781         status = "okay";
0782 };
0783 
0784 &sdhi0 {
0785         pinctrl-0 = <&sdhi0_pins>;
0786         pinctrl-1 = <&sdhi0_pins_uhs>;
0787         pinctrl-names = "default", "state_uhs";
0788 
0789         vmmc-supply = <&vcc_sdhi0>;
0790         vqmmc-supply = <&vccq_sdhi0>;
0791         cd-gpios = <&gpio3 12 GPIO_ACTIVE_LOW>;
0792         wp-gpios = <&gpio3 13 GPIO_ACTIVE_HIGH>;
0793         bus-width = <4>;
0794         sd-uhs-sdr50;
0795         sd-uhs-sdr104;
0796         status = "okay";
0797 };
0798 
0799 &sdhi1 {
0800         pinctrl-0 = <&sdhi1_pins>;
0801         pinctrl-1 = <&sdhi1_pins_uhs>;
0802         pinctrl-names = "default", "state_uhs";
0803 
0804         vmmc-supply = <&vcc_sdhi1>;
0805         vqmmc-supply = <&vccq_sdhi1>;
0806         cd-gpios = <&gpio3 14 GPIO_ACTIVE_LOW>;
0807         bus-width = <4>;
0808         sd-uhs-sdr50;
0809         sd-uhs-sdr104;
0810         status = "okay";
0811 };
0812 
0813 &sdhi3 {
0814         /* used for on-board 8bit eMMC */
0815         pinctrl-0 = <&sdhi3_pins>;
0816         pinctrl-1 = <&sdhi3_pins>;
0817         pinctrl-names = "default", "state_uhs";
0818 
0819         vmmc-supply = <&reg_3p3v>;
0820         vqmmc-supply = <&reg_1p8v>;
0821         mmc-hs200-1_8v;
0822         mmc-hs400-1_8v;
0823         bus-width = <8>;
0824         no-sd;
0825         no-sdio;
0826         non-removable;
0827         full-pwr-cycle-in-suspend;
0828         status = "okay";
0829 };
0830 
0831 &ssi1 {
0832         shared-pin;
0833 };
0834 
0835 &usb2_phy0 {
0836         pinctrl-0 = <&usb0_pins>;
0837         pinctrl-names = "default";
0838 
0839         vbus-supply = <&vbus0_usb2>;
0840         status = "okay";
0841 };
0842 
0843 &usb3_peri0 {
0844         companion = <&xhci0>;
0845         status = "okay";
0846 };
0847 
0848 &vin4 {
0849         status = "okay";
0850 };
0851 
0852 &vin5 {
0853         status = "okay";
0854 };
0855 
0856 &xhci0 {
0857         pinctrl-0 = <&usb30_pins>;
0858         pinctrl-names = "default";
0859 
0860         status = "okay";
0861 };