Back to home page

OSCL-LXR

 
 

    


0001 // SPDX-License-Identifier: GPL-2.0
0002 /*
0003  * Device Tree Source for the R-Car H2 (R8A77900) SoC
0004  *
0005  * Copyright (C) 2015 Renesas Electronics Corporation
0006  * Copyright (C) 2013-2014 Renesas Solutions Corp.
0007  * Copyright (C) 2014 Cogent Embedded Inc.
0008  */
0009 
0010 #include <dt-bindings/clock/r8a7790-cpg-mssr.h>
0011 #include <dt-bindings/interrupt-controller/arm-gic.h>
0012 #include <dt-bindings/interrupt-controller/irq.h>
0013 #include <dt-bindings/power/r8a7790-sysc.h>
0014 
0015 / {
0016         compatible = "renesas,r8a7790";
0017         #address-cells = <2>;
0018         #size-cells = <2>;
0019 
0020         aliases {
0021                 i2c0 = &i2c0;
0022                 i2c1 = &i2c1;
0023                 i2c2 = &i2c2;
0024                 i2c3 = &i2c3;
0025                 i2c4 = &iic0;
0026                 i2c5 = &iic1;
0027                 i2c6 = &iic2;
0028                 i2c7 = &iic3;
0029                 spi0 = &qspi;
0030                 spi1 = &msiof0;
0031                 spi2 = &msiof1;
0032                 spi3 = &msiof2;
0033                 spi4 = &msiof3;
0034                 vin0 = &vin0;
0035                 vin1 = &vin1;
0036                 vin2 = &vin2;
0037                 vin3 = &vin3;
0038         };
0039 
0040         /*
0041          * The external audio clocks are configured as 0 Hz fixed frequency
0042          * clocks by default.
0043          * Boards that provide audio clocks should override them.
0044          */
0045         audio_clk_a: audio_clk_a {
0046                 compatible = "fixed-clock";
0047                 #clock-cells = <0>;
0048                 clock-frequency = <0>;
0049         };
0050         audio_clk_b: audio_clk_b {
0051                 compatible = "fixed-clock";
0052                 #clock-cells = <0>;
0053                 clock-frequency = <0>;
0054         };
0055         audio_clk_c: audio_clk_c {
0056                 compatible = "fixed-clock";
0057                 #clock-cells = <0>;
0058                 clock-frequency = <0>;
0059         };
0060 
0061         /* External CAN clock */
0062         can_clk: can {
0063                 compatible = "fixed-clock";
0064                 #clock-cells = <0>;
0065                 /* This value must be overridden by the board. */
0066                 clock-frequency = <0>;
0067         };
0068 
0069         cpus {
0070                 #address-cells = <1>;
0071                 #size-cells = <0>;
0072 
0073                 cpu0: cpu@0 {
0074                         device_type = "cpu";
0075                         compatible = "arm,cortex-a15";
0076                         reg = <0>;
0077                         clock-frequency = <1300000000>;
0078                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
0079                         power-domains = <&sysc R8A7790_PD_CA15_CPU0>;
0080                         enable-method = "renesas,apmu";
0081                         next-level-cache = <&L2_CA15>;
0082                         capacity-dmips-mhz = <1024>;
0083                         voltage-tolerance = <1>; /* 1% */
0084                         clock-latency = <300000>; /* 300 us */
0085 
0086                         /* kHz - uV - OPPs unknown yet */
0087                         operating-points = <1400000 1000000>,
0088                                            <1225000 1000000>,
0089                                            <1050000 1000000>,
0090                                            < 875000 1000000>,
0091                                            < 700000 1000000>,
0092                                            < 350000 1000000>;
0093                 };
0094 
0095                 cpu1: cpu@1 {
0096                         device_type = "cpu";
0097                         compatible = "arm,cortex-a15";
0098                         reg = <1>;
0099                         clock-frequency = <1300000000>;
0100                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
0101                         power-domains = <&sysc R8A7790_PD_CA15_CPU1>;
0102                         enable-method = "renesas,apmu";
0103                         next-level-cache = <&L2_CA15>;
0104                         capacity-dmips-mhz = <1024>;
0105                         voltage-tolerance = <1>; /* 1% */
0106                         clock-latency = <300000>; /* 300 us */
0107 
0108                         /* kHz - uV - OPPs unknown yet */
0109                         operating-points = <1400000 1000000>,
0110                                            <1225000 1000000>,
0111                                            <1050000 1000000>,
0112                                            < 875000 1000000>,
0113                                            < 700000 1000000>,
0114                                            < 350000 1000000>;
0115                 };
0116 
0117                 cpu2: cpu@2 {
0118                         device_type = "cpu";
0119                         compatible = "arm,cortex-a15";
0120                         reg = <2>;
0121                         clock-frequency = <1300000000>;
0122                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
0123                         power-domains = <&sysc R8A7790_PD_CA15_CPU2>;
0124                         enable-method = "renesas,apmu";
0125                         next-level-cache = <&L2_CA15>;
0126                         capacity-dmips-mhz = <1024>;
0127                         voltage-tolerance = <1>; /* 1% */
0128                         clock-latency = <300000>; /* 300 us */
0129 
0130                         /* kHz - uV - OPPs unknown yet */
0131                         operating-points = <1400000 1000000>,
0132                                            <1225000 1000000>,
0133                                            <1050000 1000000>,
0134                                            < 875000 1000000>,
0135                                            < 700000 1000000>,
0136                                            < 350000 1000000>;
0137                 };
0138 
0139                 cpu3: cpu@3 {
0140                         device_type = "cpu";
0141                         compatible = "arm,cortex-a15";
0142                         reg = <3>;
0143                         clock-frequency = <1300000000>;
0144                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z>;
0145                         power-domains = <&sysc R8A7790_PD_CA15_CPU3>;
0146                         enable-method = "renesas,apmu";
0147                         next-level-cache = <&L2_CA15>;
0148                         capacity-dmips-mhz = <1024>;
0149                         voltage-tolerance = <1>; /* 1% */
0150                         clock-latency = <300000>; /* 300 us */
0151 
0152                         /* kHz - uV - OPPs unknown yet */
0153                         operating-points = <1400000 1000000>,
0154                                            <1225000 1000000>,
0155                                            <1050000 1000000>,
0156                                            < 875000 1000000>,
0157                                            < 700000 1000000>,
0158                                            < 350000 1000000>;
0159                 };
0160 
0161                 cpu4: cpu@100 {
0162                         device_type = "cpu";
0163                         compatible = "arm,cortex-a7";
0164                         reg = <0x100>;
0165                         clock-frequency = <780000000>;
0166                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
0167                         power-domains = <&sysc R8A7790_PD_CA7_CPU0>;
0168                         enable-method = "renesas,apmu";
0169                         next-level-cache = <&L2_CA7>;
0170                         capacity-dmips-mhz = <539>;
0171                 };
0172 
0173                 cpu5: cpu@101 {
0174                         device_type = "cpu";
0175                         compatible = "arm,cortex-a7";
0176                         reg = <0x101>;
0177                         clock-frequency = <780000000>;
0178                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
0179                         power-domains = <&sysc R8A7790_PD_CA7_CPU1>;
0180                         enable-method = "renesas,apmu";
0181                         next-level-cache = <&L2_CA7>;
0182                         capacity-dmips-mhz = <539>;
0183                 };
0184 
0185                 cpu6: cpu@102 {
0186                         device_type = "cpu";
0187                         compatible = "arm,cortex-a7";
0188                         reg = <0x102>;
0189                         clock-frequency = <780000000>;
0190                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
0191                         power-domains = <&sysc R8A7790_PD_CA7_CPU2>;
0192                         enable-method = "renesas,apmu";
0193                         next-level-cache = <&L2_CA7>;
0194                         capacity-dmips-mhz = <539>;
0195                 };
0196 
0197                 cpu7: cpu@103 {
0198                         device_type = "cpu";
0199                         compatible = "arm,cortex-a7";
0200                         reg = <0x103>;
0201                         clock-frequency = <780000000>;
0202                         clocks = <&cpg CPG_CORE R8A7790_CLK_Z2>;
0203                         power-domains = <&sysc R8A7790_PD_CA7_CPU3>;
0204                         enable-method = "renesas,apmu";
0205                         next-level-cache = <&L2_CA7>;
0206                         capacity-dmips-mhz = <539>;
0207                 };
0208 
0209                 L2_CA15: cache-controller-0 {
0210                         compatible = "cache";
0211                         power-domains = <&sysc R8A7790_PD_CA15_SCU>;
0212                         cache-unified;
0213                         cache-level = <2>;
0214                 };
0215 
0216                 L2_CA7: cache-controller-1 {
0217                         compatible = "cache";
0218                         power-domains = <&sysc R8A7790_PD_CA7_SCU>;
0219                         cache-unified;
0220                         cache-level = <2>;
0221                 };
0222         };
0223 
0224         /* External root clock */
0225         extal_clk: extal {
0226                 compatible = "fixed-clock";
0227                 #clock-cells = <0>;
0228                 /* This value must be overridden by the board. */
0229                 clock-frequency = <0>;
0230         };
0231 
0232         /* External PCIe clock - can be overridden by the board */
0233         pcie_bus_clk: pcie_bus {
0234                 compatible = "fixed-clock";
0235                 #clock-cells = <0>;
0236                 clock-frequency = <0>;
0237         };
0238 
0239         pmu-0 {
0240                 compatible = "arm,cortex-a15-pmu";
0241                 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>,
0242                                       <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>,
0243                                       <&gic GIC_SPI 74 IRQ_TYPE_LEVEL_HIGH>,
0244                                       <&gic GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>;
0245                 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
0246         };
0247 
0248         pmu-1 {
0249                 compatible = "arm,cortex-a7-pmu";
0250                 interrupts-extended = <&gic GIC_SPI 82 IRQ_TYPE_LEVEL_HIGH>,
0251                                       <&gic GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>,
0252                                       <&gic GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>,
0253                                       <&gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
0254                 interrupt-affinity = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
0255         };
0256 
0257         /* External SCIF clock */
0258         scif_clk: scif {
0259                 compatible = "fixed-clock";
0260                 #clock-cells = <0>;
0261                 /* This value must be overridden by the board. */
0262                 clock-frequency = <0>;
0263         };
0264 
0265         soc {
0266                 compatible = "simple-bus";
0267                 interrupt-parent = <&gic>;
0268 
0269                 #address-cells = <2>;
0270                 #size-cells = <2>;
0271                 ranges;
0272 
0273                 rwdt: watchdog@e6020000 {
0274                         compatible = "renesas,r8a7790-wdt",
0275                                      "renesas,rcar-gen2-wdt";
0276                         reg = <0 0xe6020000 0 0x0c>;
0277                         interrupts = <GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>;
0278                         clocks = <&cpg CPG_MOD 402>;
0279                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0280                         resets = <&cpg 402>;
0281                         status = "disabled";
0282                 };
0283 
0284                 gpio0: gpio@e6050000 {
0285                         compatible = "renesas,gpio-r8a7790",
0286                                      "renesas,rcar-gen2-gpio";
0287                         reg = <0 0xe6050000 0 0x50>;
0288                         interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>;
0289                         #gpio-cells = <2>;
0290                         gpio-controller;
0291                         gpio-ranges = <&pfc 0 0 32>;
0292                         #interrupt-cells = <2>;
0293                         interrupt-controller;
0294                         clocks = <&cpg CPG_MOD 912>;
0295                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0296                         resets = <&cpg 912>;
0297                 };
0298 
0299                 gpio1: gpio@e6051000 {
0300                         compatible = "renesas,gpio-r8a7790",
0301                                      "renesas,rcar-gen2-gpio";
0302                         reg = <0 0xe6051000 0 0x50>;
0303                         interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>;
0304                         #gpio-cells = <2>;
0305                         gpio-controller;
0306                         gpio-ranges = <&pfc 0 32 30>;
0307                         #interrupt-cells = <2>;
0308                         interrupt-controller;
0309                         clocks = <&cpg CPG_MOD 911>;
0310                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0311                         resets = <&cpg 911>;
0312                 };
0313 
0314                 gpio2: gpio@e6052000 {
0315                         compatible = "renesas,gpio-r8a7790",
0316                                      "renesas,rcar-gen2-gpio";
0317                         reg = <0 0xe6052000 0 0x50>;
0318                         interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>;
0319                         #gpio-cells = <2>;
0320                         gpio-controller;
0321                         gpio-ranges = <&pfc 0 64 30>;
0322                         #interrupt-cells = <2>;
0323                         interrupt-controller;
0324                         clocks = <&cpg CPG_MOD 910>;
0325                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0326                         resets = <&cpg 910>;
0327                 };
0328 
0329                 gpio3: gpio@e6053000 {
0330                         compatible = "renesas,gpio-r8a7790",
0331                                      "renesas,rcar-gen2-gpio";
0332                         reg = <0 0xe6053000 0 0x50>;
0333                         interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>;
0334                         #gpio-cells = <2>;
0335                         gpio-controller;
0336                         gpio-ranges = <&pfc 0 96 32>;
0337                         #interrupt-cells = <2>;
0338                         interrupt-controller;
0339                         clocks = <&cpg CPG_MOD 909>;
0340                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0341                         resets = <&cpg 909>;
0342                 };
0343 
0344                 gpio4: gpio@e6054000 {
0345                         compatible = "renesas,gpio-r8a7790",
0346                                      "renesas,rcar-gen2-gpio";
0347                         reg = <0 0xe6054000 0 0x50>;
0348                         interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
0349                         #gpio-cells = <2>;
0350                         gpio-controller;
0351                         gpio-ranges = <&pfc 0 128 32>;
0352                         #interrupt-cells = <2>;
0353                         interrupt-controller;
0354                         clocks = <&cpg CPG_MOD 908>;
0355                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0356                         resets = <&cpg 908>;
0357                 };
0358 
0359                 gpio5: gpio@e6055000 {
0360                         compatible = "renesas,gpio-r8a7790",
0361                                      "renesas,rcar-gen2-gpio";
0362                         reg = <0 0xe6055000 0 0x50>;
0363                         interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>;
0364                         #gpio-cells = <2>;
0365                         gpio-controller;
0366                         gpio-ranges = <&pfc 0 160 32>;
0367                         #interrupt-cells = <2>;
0368                         interrupt-controller;
0369                         clocks = <&cpg CPG_MOD 907>;
0370                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0371                         resets = <&cpg 907>;
0372                 };
0373 
0374                 pfc: pinctrl@e6060000 {
0375                         compatible = "renesas,pfc-r8a7790";
0376                         reg = <0 0xe6060000 0 0x250>;
0377                 };
0378 
0379                 cpg: clock-controller@e6150000 {
0380                         compatible = "renesas,r8a7790-cpg-mssr";
0381                         reg = <0 0xe6150000 0 0x1000>;
0382                         clocks = <&extal_clk>, <&usb_extal_clk>;
0383                         clock-names = "extal", "usb_extal";
0384                         #clock-cells = <2>;
0385                         #power-domain-cells = <0>;
0386                         #reset-cells = <1>;
0387                 };
0388 
0389                 apmu@e6151000 {
0390                         compatible = "renesas,r8a7790-apmu", "renesas,apmu";
0391                         reg = <0 0xe6151000 0 0x188>;
0392                         cpus = <&cpu4>, <&cpu5>, <&cpu6>, <&cpu7>;
0393                 };
0394 
0395                 apmu@e6152000 {
0396                         compatible = "renesas,r8a7790-apmu", "renesas,apmu";
0397                         reg = <0 0xe6152000 0 0x188>;
0398                         cpus = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
0399                 };
0400 
0401                 rst: reset-controller@e6160000 {
0402                         compatible = "renesas,r8a7790-rst";
0403                         reg = <0 0xe6160000 0 0x0100>;
0404                 };
0405 
0406                 sysc: system-controller@e6180000 {
0407                         compatible = "renesas,r8a7790-sysc";
0408                         reg = <0 0xe6180000 0 0x0200>;
0409                         #power-domain-cells = <1>;
0410                 };
0411 
0412                 irqc0: interrupt-controller@e61c0000 {
0413                         compatible = "renesas,irqc-r8a7790", "renesas,irqc";
0414                         #interrupt-cells = <2>;
0415                         interrupt-controller;
0416                         reg = <0 0xe61c0000 0 0x200>;
0417                         interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>,
0418                                      <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>,
0419                                      <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>,
0420                                      <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>;
0421                         clocks = <&cpg CPG_MOD 407>;
0422                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0423                         resets = <&cpg 407>;
0424                 };
0425 
0426                 thermal: thermal@e61f0000 {
0427                         compatible = "renesas,thermal-r8a7790",
0428                                      "renesas,rcar-gen2-thermal",
0429                                      "renesas,rcar-thermal";
0430                         reg = <0 0xe61f0000 0 0x10>, <0 0xe61f0100 0 0x38>;
0431                         interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
0432                         clocks = <&cpg CPG_MOD 522>;
0433                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0434                         resets = <&cpg 522>;
0435                         #thermal-sensor-cells = <0>;
0436                 };
0437 
0438                 ipmmu_sy0: iommu@e6280000 {
0439                         compatible = "renesas,ipmmu-r8a7790",
0440                                      "renesas,ipmmu-vmsa";
0441                         reg = <0 0xe6280000 0 0x1000>;
0442                         interrupts = <GIC_SPI 223 IRQ_TYPE_LEVEL_HIGH>,
0443                                      <GIC_SPI 224 IRQ_TYPE_LEVEL_HIGH>;
0444                         #iommu-cells = <1>;
0445                         status = "disabled";
0446                 };
0447 
0448                 ipmmu_sy1: iommu@e6290000 {
0449                         compatible = "renesas,ipmmu-r8a7790",
0450                                      "renesas,ipmmu-vmsa";
0451                         reg = <0 0xe6290000 0 0x1000>;
0452                         interrupts = <GIC_SPI 225 IRQ_TYPE_LEVEL_HIGH>;
0453                         #iommu-cells = <1>;
0454                         status = "disabled";
0455                 };
0456 
0457                 ipmmu_ds: iommu@e6740000 {
0458                         compatible = "renesas,ipmmu-r8a7790",
0459                                      "renesas,ipmmu-vmsa";
0460                         reg = <0 0xe6740000 0 0x1000>;
0461                         interrupts = <GIC_SPI 198 IRQ_TYPE_LEVEL_HIGH>,
0462                                      <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH>;
0463                         #iommu-cells = <1>;
0464                         status = "disabled";
0465                 };
0466 
0467                 ipmmu_mp: iommu@ec680000 {
0468                         compatible = "renesas,ipmmu-r8a7790",
0469                                      "renesas,ipmmu-vmsa";
0470                         reg = <0 0xec680000 0 0x1000>;
0471                         interrupts = <GIC_SPI 226 IRQ_TYPE_LEVEL_HIGH>;
0472                         #iommu-cells = <1>;
0473                         status = "disabled";
0474                 };
0475 
0476                 ipmmu_mx: iommu@fe951000 {
0477                         compatible = "renesas,ipmmu-r8a7790",
0478                                      "renesas,ipmmu-vmsa";
0479                         reg = <0 0xfe951000 0 0x1000>;
0480                         interrupts = <GIC_SPI 222 IRQ_TYPE_LEVEL_HIGH>,
0481                                      <GIC_SPI 221 IRQ_TYPE_LEVEL_HIGH>;
0482                         #iommu-cells = <1>;
0483                         status = "disabled";
0484                 };
0485 
0486                 ipmmu_rt: iommu@ffc80000 {
0487                         compatible = "renesas,ipmmu-r8a7790",
0488                                      "renesas,ipmmu-vmsa";
0489                         reg = <0 0xffc80000 0 0x1000>;
0490                         interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH>;
0491                         #iommu-cells = <1>;
0492                         status = "disabled";
0493                 };
0494 
0495                 icram0: sram@e63a0000 {
0496                         compatible = "mmio-sram";
0497                         reg = <0 0xe63a0000 0 0x12000>;
0498                         #address-cells = <1>;
0499                         #size-cells = <1>;
0500                         ranges = <0 0 0xe63a0000 0x12000>;
0501                 };
0502 
0503                 icram1: sram@e63c0000 {
0504                         compatible = "mmio-sram";
0505                         reg = <0 0xe63c0000 0 0x1000>;
0506                         #address-cells = <1>;
0507                         #size-cells = <1>;
0508                         ranges = <0 0 0xe63c0000 0x1000>;
0509 
0510                         smp-sram@0 {
0511                                 compatible = "renesas,smp-sram";
0512                                 reg = <0 0x100>;
0513                         };
0514                 };
0515 
0516                 i2c0: i2c@e6508000 {
0517                         #address-cells = <1>;
0518                         #size-cells = <0>;
0519                         compatible = "renesas,i2c-r8a7790",
0520                                      "renesas,rcar-gen2-i2c";
0521                         reg = <0 0xe6508000 0 0x40>;
0522                         interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>;
0523                         clocks = <&cpg CPG_MOD 931>;
0524                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0525                         resets = <&cpg 931>;
0526                         i2c-scl-internal-delay-ns = <110>;
0527                         status = "disabled";
0528                 };
0529 
0530                 i2c1: i2c@e6518000 {
0531                         #address-cells = <1>;
0532                         #size-cells = <0>;
0533                         compatible = "renesas,i2c-r8a7790",
0534                                      "renesas,rcar-gen2-i2c";
0535                         reg = <0 0xe6518000 0 0x40>;
0536                         interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>;
0537                         clocks = <&cpg CPG_MOD 930>;
0538                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0539                         resets = <&cpg 930>;
0540                         i2c-scl-internal-delay-ns = <6>;
0541                         status = "disabled";
0542                 };
0543 
0544                 i2c2: i2c@e6530000 {
0545                         #address-cells = <1>;
0546                         #size-cells = <0>;
0547                         compatible = "renesas,i2c-r8a7790",
0548                                      "renesas,rcar-gen2-i2c";
0549                         reg = <0 0xe6530000 0 0x40>;
0550                         interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>;
0551                         clocks = <&cpg CPG_MOD 929>;
0552                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0553                         resets = <&cpg 929>;
0554                         i2c-scl-internal-delay-ns = <6>;
0555                         status = "disabled";
0556                 };
0557 
0558                 i2c3: i2c@e6540000 {
0559                         #address-cells = <1>;
0560                         #size-cells = <0>;
0561                         compatible = "renesas,i2c-r8a7790",
0562                                      "renesas,rcar-gen2-i2c";
0563                         reg = <0 0xe6540000 0 0x40>;
0564                         interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>;
0565                         clocks = <&cpg CPG_MOD 928>;
0566                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0567                         resets = <&cpg 928>;
0568                         i2c-scl-internal-delay-ns = <110>;
0569                         status = "disabled";
0570                 };
0571 
0572                 iic0: i2c@e6500000 {
0573                         #address-cells = <1>;
0574                         #size-cells = <0>;
0575                         compatible = "renesas,iic-r8a7790",
0576                                      "renesas,rcar-gen2-iic",
0577                                      "renesas,rmobile-iic";
0578                         reg = <0 0xe6500000 0 0x425>;
0579                         interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>;
0580                         clocks = <&cpg CPG_MOD 318>;
0581                         dmas = <&dmac0 0x61>, <&dmac0 0x62>,
0582                                <&dmac1 0x61>, <&dmac1 0x62>;
0583                         dma-names = "tx", "rx", "tx", "rx";
0584                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0585                         resets = <&cpg 318>;
0586                         status = "disabled";
0587                 };
0588 
0589                 iic1: i2c@e6510000 {
0590                         #address-cells = <1>;
0591                         #size-cells = <0>;
0592                         compatible = "renesas,iic-r8a7790",
0593                                      "renesas,rcar-gen2-iic",
0594                                      "renesas,rmobile-iic";
0595                         reg = <0 0xe6510000 0 0x425>;
0596                         interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>;
0597                         clocks = <&cpg CPG_MOD 323>;
0598                         dmas = <&dmac0 0x65>, <&dmac0 0x66>,
0599                                <&dmac1 0x65>, <&dmac1 0x66>;
0600                         dma-names = "tx", "rx", "tx", "rx";
0601                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0602                         resets = <&cpg 323>;
0603                         status = "disabled";
0604                 };
0605 
0606                 iic2: i2c@e6520000 {
0607                         #address-cells = <1>;
0608                         #size-cells = <0>;
0609                         compatible = "renesas,iic-r8a7790",
0610                                      "renesas,rcar-gen2-iic",
0611                                      "renesas,rmobile-iic";
0612                         reg = <0 0xe6520000 0 0x425>;
0613                         interrupts = <GIC_SPI 176 IRQ_TYPE_LEVEL_HIGH>;
0614                         clocks = <&cpg CPG_MOD 300>;
0615                         dmas = <&dmac0 0x69>, <&dmac0 0x6a>,
0616                                <&dmac1 0x69>, <&dmac1 0x6a>;
0617                         dma-names = "tx", "rx", "tx", "rx";
0618                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0619                         resets = <&cpg 300>;
0620                         status = "disabled";
0621                 };
0622 
0623                 iic3: i2c@e60b0000 {
0624                         #address-cells = <1>;
0625                         #size-cells = <0>;
0626                         compatible = "renesas,iic-r8a7790",
0627                                      "renesas,rcar-gen2-iic",
0628                                      "renesas,rmobile-iic";
0629                         reg = <0 0xe60b0000 0 0x425>;
0630                         interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>;
0631                         clocks = <&cpg CPG_MOD 926>;
0632                         dmas = <&dmac0 0x77>, <&dmac0 0x78>,
0633                                <&dmac1 0x77>, <&dmac1 0x78>;
0634                         dma-names = "tx", "rx", "tx", "rx";
0635                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0636                         resets = <&cpg 926>;
0637                         status = "disabled";
0638                 };
0639 
0640                 hsusb: usb@e6590000 {
0641                         compatible = "renesas,usbhs-r8a7790",
0642                                      "renesas,rcar-gen2-usbhs";
0643                         reg = <0 0xe6590000 0 0x100>;
0644                         interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>;
0645                         clocks = <&cpg CPG_MOD 704>;
0646                         dmas = <&usb_dmac0 0>, <&usb_dmac0 1>,
0647                                <&usb_dmac1 0>, <&usb_dmac1 1>;
0648                         dma-names = "ch0", "ch1", "ch2", "ch3";
0649                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0650                         resets = <&cpg 704>;
0651                         renesas,buswait = <4>;
0652                         phys = <&usb0 1>;
0653                         phy-names = "usb";
0654                         status = "disabled";
0655                 };
0656 
0657                 usbphy: usb-phy@e6590100 {
0658                         compatible = "renesas,usb-phy-r8a7790",
0659                                      "renesas,rcar-gen2-usb-phy";
0660                         reg = <0 0xe6590100 0 0x100>;
0661                         #address-cells = <1>;
0662                         #size-cells = <0>;
0663                         clocks = <&cpg CPG_MOD 704>;
0664                         clock-names = "usbhs";
0665                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0666                         resets = <&cpg 704>;
0667                         status = "disabled";
0668 
0669                         usb0: usb-channel@0 {
0670                                 reg = <0>;
0671                                 #phy-cells = <1>;
0672                         };
0673                         usb2: usb-channel@2 {
0674                                 reg = <2>;
0675                                 #phy-cells = <1>;
0676                         };
0677                 };
0678 
0679                 usb_dmac0: dma-controller@e65a0000 {
0680                         compatible = "renesas,r8a7790-usb-dmac",
0681                                      "renesas,usb-dmac";
0682                         reg = <0 0xe65a0000 0 0x100>;
0683                         interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>,
0684                                      <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>;
0685                         interrupt-names = "ch0", "ch1";
0686                         clocks = <&cpg CPG_MOD 330>;
0687                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0688                         resets = <&cpg 330>;
0689                         #dma-cells = <1>;
0690                         dma-channels = <2>;
0691                 };
0692 
0693                 usb_dmac1: dma-controller@e65b0000 {
0694                         compatible = "renesas,r8a7790-usb-dmac",
0695                                      "renesas,usb-dmac";
0696                         reg = <0 0xe65b0000 0 0x100>;
0697                         interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>,
0698                                      <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>;
0699                         interrupt-names = "ch0", "ch1";
0700                         clocks = <&cpg CPG_MOD 331>;
0701                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0702                         resets = <&cpg 331>;
0703                         #dma-cells = <1>;
0704                         dma-channels = <2>;
0705                 };
0706 
0707                 dmac0: dma-controller@e6700000 {
0708                         compatible = "renesas,dmac-r8a7790",
0709                                      "renesas,rcar-dmac";
0710                         reg = <0 0xe6700000 0 0x20000>;
0711                         interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>,
0712                                      <GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH>,
0713                                      <GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH>,
0714                                      <GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH>,
0715                                      <GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH>,
0716                                      <GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH>,
0717                                      <GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH>,
0718                                      <GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH>,
0719                                      <GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH>,
0720                                      <GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH>,
0721                                      <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>,
0722                                      <GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH>,
0723                                      <GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH>,
0724                                      <GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH>,
0725                                      <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>,
0726                                      <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>;
0727                         interrupt-names = "error",
0728                                           "ch0", "ch1", "ch2", "ch3",
0729                                           "ch4", "ch5", "ch6", "ch7",
0730                                           "ch8", "ch9", "ch10", "ch11",
0731                                           "ch12", "ch13", "ch14";
0732                         clocks = <&cpg CPG_MOD 219>;
0733                         clock-names = "fck";
0734                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0735                         resets = <&cpg 219>;
0736                         #dma-cells = <1>;
0737                         dma-channels = <15>;
0738                 };
0739 
0740                 dmac1: dma-controller@e6720000 {
0741                         compatible = "renesas,dmac-r8a7790",
0742                                      "renesas,rcar-dmac";
0743                         reg = <0 0xe6720000 0 0x20000>;
0744                         interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH>,
0745                                      <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>,
0746                                      <GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH>,
0747                                      <GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH>,
0748                                      <GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH>,
0749                                      <GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH>,
0750                                      <GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH>,
0751                                      <GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH>,
0752                                      <GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>,
0753                                      <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>,
0754                                      <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>,
0755                                      <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>,
0756                                      <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>,
0757                                      <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>,
0758                                      <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>,
0759                                      <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>;
0760                         interrupt-names = "error",
0761                                           "ch0", "ch1", "ch2", "ch3",
0762                                           "ch4", "ch5", "ch6", "ch7",
0763                                           "ch8", "ch9", "ch10", "ch11",
0764                                           "ch12", "ch13", "ch14";
0765                         clocks = <&cpg CPG_MOD 218>;
0766                         clock-names = "fck";
0767                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0768                         resets = <&cpg 218>;
0769                         #dma-cells = <1>;
0770                         dma-channels = <15>;
0771                 };
0772 
0773                 avb: ethernet@e6800000 {
0774                         compatible = "renesas,etheravb-r8a7790",
0775                                      "renesas,etheravb-rcar-gen2";
0776                         reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>;
0777                         interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>;
0778                         clocks = <&cpg CPG_MOD 812>;
0779                         clock-names = "fck";
0780                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0781                         resets = <&cpg 812>;
0782                         #address-cells = <1>;
0783                         #size-cells = <0>;
0784                         status = "disabled";
0785                 };
0786 
0787                 qspi: spi@e6b10000 {
0788                         compatible = "renesas,qspi-r8a7790", "renesas,qspi";
0789                         reg = <0 0xe6b10000 0 0x2c>;
0790                         interrupts = <GIC_SPI 184 IRQ_TYPE_LEVEL_HIGH>;
0791                         clocks = <&cpg CPG_MOD 917>;
0792                         dmas = <&dmac0 0x17>, <&dmac0 0x18>,
0793                                <&dmac1 0x17>, <&dmac1 0x18>;
0794                         dma-names = "tx", "rx", "tx", "rx";
0795                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0796                         resets = <&cpg 917>;
0797                         num-cs = <1>;
0798                         #address-cells = <1>;
0799                         #size-cells = <0>;
0800                         status = "disabled";
0801                 };
0802 
0803                 scifa0: serial@e6c40000 {
0804                         compatible = "renesas,scifa-r8a7790",
0805                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
0806                         reg = <0 0xe6c40000 0 64>;
0807                         interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>;
0808                         clocks = <&cpg CPG_MOD 204>;
0809                         clock-names = "fck";
0810                         dmas = <&dmac0 0x21>, <&dmac0 0x22>,
0811                                <&dmac1 0x21>, <&dmac1 0x22>;
0812                         dma-names = "tx", "rx", "tx", "rx";
0813                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0814                         resets = <&cpg 204>;
0815                         status = "disabled";
0816                 };
0817 
0818                 scifa1: serial@e6c50000 {
0819                         compatible = "renesas,scifa-r8a7790",
0820                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
0821                         reg = <0 0xe6c50000 0 64>;
0822                         interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>;
0823                         clocks = <&cpg CPG_MOD 203>;
0824                         clock-names = "fck";
0825                         dmas = <&dmac0 0x25>, <&dmac0 0x26>,
0826                                <&dmac1 0x25>, <&dmac1 0x26>;
0827                         dma-names = "tx", "rx", "tx", "rx";
0828                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0829                         resets = <&cpg 203>;
0830                         status = "disabled";
0831                 };
0832 
0833                 scifa2: serial@e6c60000 {
0834                         compatible = "renesas,scifa-r8a7790",
0835                                      "renesas,rcar-gen2-scifa", "renesas,scifa";
0836                         reg = <0 0xe6c60000 0 64>;
0837                         interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>;
0838                         clocks = <&cpg CPG_MOD 202>;
0839                         clock-names = "fck";
0840                         dmas = <&dmac0 0x27>, <&dmac0 0x28>,
0841                                <&dmac1 0x27>, <&dmac1 0x28>;
0842                         dma-names = "tx", "rx", "tx", "rx";
0843                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0844                         resets = <&cpg 202>;
0845                         status = "disabled";
0846                 };
0847 
0848                 scifb0: serial@e6c20000 {
0849                         compatible = "renesas,scifb-r8a7790",
0850                                      "renesas,rcar-gen2-scifb", "renesas,scifb";
0851                         reg = <0 0xe6c20000 0 0x100>;
0852                         interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>;
0853                         clocks = <&cpg CPG_MOD 206>;
0854                         clock-names = "fck";
0855                         dmas = <&dmac0 0x3d>, <&dmac0 0x3e>,
0856                                <&dmac1 0x3d>, <&dmac1 0x3e>;
0857                         dma-names = "tx", "rx", "tx", "rx";
0858                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0859                         resets = <&cpg 206>;
0860                         status = "disabled";
0861                 };
0862 
0863                 scifb1: serial@e6c30000 {
0864                         compatible = "renesas,scifb-r8a7790",
0865                                      "renesas,rcar-gen2-scifb", "renesas,scifb";
0866                         reg = <0 0xe6c30000 0 0x100>;
0867                         interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>;
0868                         clocks = <&cpg CPG_MOD 207>;
0869                         clock-names = "fck";
0870                         dmas = <&dmac0 0x19>, <&dmac0 0x1a>,
0871                                <&dmac1 0x19>, <&dmac1 0x1a>;
0872                         dma-names = "tx", "rx", "tx", "rx";
0873                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0874                         resets = <&cpg 207>;
0875                         status = "disabled";
0876                 };
0877 
0878                 scifb2: serial@e6ce0000 {
0879                         compatible = "renesas,scifb-r8a7790",
0880                                      "renesas,rcar-gen2-scifb", "renesas,scifb";
0881                         reg = <0 0xe6ce0000 0 0x100>;
0882                         interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>;
0883                         clocks = <&cpg CPG_MOD 216>;
0884                         clock-names = "fck";
0885                         dmas = <&dmac0 0x1d>, <&dmac0 0x1e>,
0886                                <&dmac1 0x1d>, <&dmac1 0x1e>;
0887                         dma-names = "tx", "rx", "tx", "rx";
0888                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0889                         resets = <&cpg 216>;
0890                         status = "disabled";
0891                 };
0892 
0893                 scif0: serial@e6e60000 {
0894                         compatible = "renesas,scif-r8a7790",
0895                                      "renesas,rcar-gen2-scif",
0896                                      "renesas,scif";
0897                         reg = <0 0xe6e60000 0 64>;
0898                         interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>;
0899                         clocks = <&cpg CPG_MOD 721>,
0900                                  <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
0901                         clock-names = "fck", "brg_int", "scif_clk";
0902                         dmas = <&dmac0 0x29>, <&dmac0 0x2a>,
0903                                <&dmac1 0x29>, <&dmac1 0x2a>;
0904                         dma-names = "tx", "rx", "tx", "rx";
0905                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0906                         resets = <&cpg 721>;
0907                         status = "disabled";
0908                 };
0909 
0910                 scif1: serial@e6e68000 {
0911                         compatible = "renesas,scif-r8a7790",
0912                                      "renesas,rcar-gen2-scif",
0913                                      "renesas,scif";
0914                         reg = <0 0xe6e68000 0 64>;
0915                         interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>;
0916                         clocks = <&cpg CPG_MOD 720>,
0917                                  <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
0918                         clock-names = "fck", "brg_int", "scif_clk";
0919                         dmas = <&dmac0 0x2d>, <&dmac0 0x2e>,
0920                                <&dmac1 0x2d>, <&dmac1 0x2e>;
0921                         dma-names = "tx", "rx", "tx", "rx";
0922                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0923                         resets = <&cpg 720>;
0924                         status = "disabled";
0925                 };
0926 
0927                 scif2: serial@e6e56000 {
0928                         compatible = "renesas,scif-r8a7790",
0929                                      "renesas,rcar-gen2-scif",
0930                                      "renesas,scif";
0931                         reg = <0 0xe6e56000 0 64>;
0932                         interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>;
0933                         clocks = <&cpg CPG_MOD 310>,
0934                                  <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
0935                         clock-names = "fck", "brg_int", "scif_clk";
0936                         dmas = <&dmac0 0x2b>, <&dmac0 0x2c>,
0937                                <&dmac1 0x2b>, <&dmac1 0x2c>;
0938                         dma-names = "tx", "rx", "tx", "rx";
0939                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0940                         resets = <&cpg 310>;
0941                         status = "disabled";
0942                 };
0943 
0944                 hscif0: serial@e62c0000 {
0945                         compatible = "renesas,hscif-r8a7790",
0946                                      "renesas,rcar-gen2-hscif", "renesas,hscif";
0947                         reg = <0 0xe62c0000 0 96>;
0948                         interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
0949                         clocks = <&cpg CPG_MOD 717>,
0950                                  <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
0951                         clock-names = "fck", "brg_int", "scif_clk";
0952                         dmas = <&dmac0 0x39>, <&dmac0 0x3a>,
0953                                <&dmac1 0x39>, <&dmac1 0x3a>;
0954                         dma-names = "tx", "rx", "tx", "rx";
0955                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0956                         resets = <&cpg 717>;
0957                         status = "disabled";
0958                 };
0959 
0960                 hscif1: serial@e62c8000 {
0961                         compatible = "renesas,hscif-r8a7790",
0962                                      "renesas,rcar-gen2-hscif", "renesas,hscif";
0963                         reg = <0 0xe62c8000 0 96>;
0964                         interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>;
0965                         clocks = <&cpg CPG_MOD 716>,
0966                                  <&cpg CPG_CORE R8A7790_CLK_ZS>, <&scif_clk>;
0967                         clock-names = "fck", "brg_int", "scif_clk";
0968                         dmas = <&dmac0 0x4d>, <&dmac0 0x4e>,
0969                                <&dmac1 0x4d>, <&dmac1 0x4e>;
0970                         dma-names = "tx", "rx", "tx", "rx";
0971                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0972                         resets = <&cpg 716>;
0973                         status = "disabled";
0974                 };
0975 
0976                 msiof0: spi@e6e20000 {
0977                         compatible = "renesas,msiof-r8a7790",
0978                                      "renesas,rcar-gen2-msiof";
0979                         reg = <0 0xe6e20000 0 0x0064>;
0980                         interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>;
0981                         clocks = <&cpg CPG_MOD 0>;
0982                         dmas = <&dmac0 0x51>, <&dmac0 0x52>,
0983                                <&dmac1 0x51>, <&dmac1 0x52>;
0984                         dma-names = "tx", "rx", "tx", "rx";
0985                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
0986                         resets = <&cpg 0>;
0987                         #address-cells = <1>;
0988                         #size-cells = <0>;
0989                         status = "disabled";
0990                 };
0991 
0992                 msiof1: spi@e6e10000 {
0993                         compatible = "renesas,msiof-r8a7790",
0994                                      "renesas,rcar-gen2-msiof";
0995                         reg = <0 0xe6e10000 0 0x0064>;
0996                         interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>;
0997                         clocks = <&cpg CPG_MOD 208>;
0998                         dmas = <&dmac0 0x55>, <&dmac0 0x56>,
0999                                <&dmac1 0x55>, <&dmac1 0x56>;
1000                         dma-names = "tx", "rx", "tx", "rx";
1001                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1002                         resets = <&cpg 208>;
1003                         #address-cells = <1>;
1004                         #size-cells = <0>;
1005                         status = "disabled";
1006                 };
1007 
1008                 msiof2: spi@e6e00000 {
1009                         compatible = "renesas,msiof-r8a7790",
1010                                      "renesas,rcar-gen2-msiof";
1011                         reg = <0 0xe6e00000 0 0x0064>;
1012                         interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>;
1013                         clocks = <&cpg CPG_MOD 205>;
1014                         dmas = <&dmac0 0x41>, <&dmac0 0x42>,
1015                                <&dmac1 0x41>, <&dmac1 0x42>;
1016                         dma-names = "tx", "rx", "tx", "rx";
1017                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1018                         resets = <&cpg 205>;
1019                         #address-cells = <1>;
1020                         #size-cells = <0>;
1021                         status = "disabled";
1022                 };
1023 
1024                 msiof3: spi@e6c90000 {
1025                         compatible = "renesas,msiof-r8a7790",
1026                                      "renesas,rcar-gen2-msiof";
1027                         reg = <0 0xe6c90000 0 0x0064>;
1028                         interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>;
1029                         clocks = <&cpg CPG_MOD 215>;
1030                         dmas = <&dmac0 0x45>, <&dmac0 0x46>,
1031                                <&dmac1 0x45>, <&dmac1 0x46>;
1032                         dma-names = "tx", "rx", "tx", "rx";
1033                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1034                         resets = <&cpg 215>;
1035                         #address-cells = <1>;
1036                         #size-cells = <0>;
1037                         status = "disabled";
1038                 };
1039 
1040                 can0: can@e6e80000 {
1041                         compatible = "renesas,can-r8a7790",
1042                                      "renesas,rcar-gen2-can";
1043                         reg = <0 0xe6e80000 0 0x1000>;
1044                         interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>;
1045                         clocks = <&cpg CPG_MOD 916>,
1046                                  <&cpg CPG_CORE R8A7790_CLK_RCAN>, <&can_clk>;
1047                         clock-names = "clkp1", "clkp2", "can_clk";
1048                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1049                         resets = <&cpg 916>;
1050                         status = "disabled";
1051                 };
1052 
1053                 can1: can@e6e88000 {
1054                         compatible = "renesas,can-r8a7790",
1055                                      "renesas,rcar-gen2-can";
1056                         reg = <0 0xe6e88000 0 0x1000>;
1057                         interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>;
1058                         clocks = <&cpg CPG_MOD 915>,
1059                                  <&cpg CPG_CORE R8A7790_CLK_RCAN>, <&can_clk>;
1060                         clock-names = "clkp1", "clkp2", "can_clk";
1061                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1062                         resets = <&cpg 915>;
1063                         status = "disabled";
1064                 };
1065 
1066                 vin0: video@e6ef0000 {
1067                         compatible = "renesas,vin-r8a7790",
1068                                      "renesas,rcar-gen2-vin";
1069                         reg = <0 0xe6ef0000 0 0x1000>;
1070                         interrupts = <GIC_SPI 188 IRQ_TYPE_LEVEL_HIGH>;
1071                         clocks = <&cpg CPG_MOD 811>;
1072                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1073                         resets = <&cpg 811>;
1074                         status = "disabled";
1075                 };
1076 
1077                 vin1: video@e6ef1000 {
1078                         compatible = "renesas,vin-r8a7790",
1079                                      "renesas,rcar-gen2-vin";
1080                         reg = <0 0xe6ef1000 0 0x1000>;
1081                         interrupts = <GIC_SPI 189 IRQ_TYPE_LEVEL_HIGH>;
1082                         clocks = <&cpg CPG_MOD 810>;
1083                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1084                         resets = <&cpg 810>;
1085                         status = "disabled";
1086                 };
1087 
1088                 vin2: video@e6ef2000 {
1089                         compatible = "renesas,vin-r8a7790",
1090                                      "renesas,rcar-gen2-vin";
1091                         reg = <0 0xe6ef2000 0 0x1000>;
1092                         interrupts = <GIC_SPI 190 IRQ_TYPE_LEVEL_HIGH>;
1093                         clocks = <&cpg CPG_MOD 809>;
1094                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1095                         resets = <&cpg 809>;
1096                         status = "disabled";
1097                 };
1098 
1099                 vin3: video@e6ef3000 {
1100                         compatible = "renesas,vin-r8a7790",
1101                                      "renesas,rcar-gen2-vin";
1102                         reg = <0 0xe6ef3000 0 0x1000>;
1103                         interrupts = <GIC_SPI 191 IRQ_TYPE_LEVEL_HIGH>;
1104                         clocks = <&cpg CPG_MOD 808>;
1105                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1106                         resets = <&cpg 808>;
1107                         status = "disabled";
1108                 };
1109 
1110                 rcar_sound: sound@ec500000 {
1111                         /*
1112                          * #sound-dai-cells is required
1113                          *
1114                          * Single DAI : #sound-dai-cells = <0>;         <&rcar_sound>;
1115                          * Multi  DAI : #sound-dai-cells = <1>;         <&rcar_sound N>;
1116                          */
1117                         compatible = "renesas,rcar_sound-r8a7790",
1118                                      "renesas,rcar_sound-gen2";
1119                         reg = <0 0xec500000 0 0x1000>, /* SCU */
1120                               <0 0xec5a0000 0 0x100>,  /* ADG */
1121                               <0 0xec540000 0 0x1000>, /* SSIU */
1122                               <0 0xec541000 0 0x280>,  /* SSI */
1123                               <0 0xec740000 0 0x200>;  /* Audio DMAC peri peri*/
1124                         reg-names = "scu", "adg", "ssiu", "ssi", "audmapp";
1125 
1126                         clocks = <&cpg CPG_MOD 1005>,
1127                                  <&cpg CPG_MOD 1006>, <&cpg CPG_MOD 1007>,
1128                                  <&cpg CPG_MOD 1008>, <&cpg CPG_MOD 1009>,
1129                                  <&cpg CPG_MOD 1010>, <&cpg CPG_MOD 1011>,
1130                                  <&cpg CPG_MOD 1012>, <&cpg CPG_MOD 1013>,
1131                                  <&cpg CPG_MOD 1014>, <&cpg CPG_MOD 1015>,
1132                                  <&cpg CPG_MOD 1022>, <&cpg CPG_MOD 1023>,
1133                                  <&cpg CPG_MOD 1024>, <&cpg CPG_MOD 1025>,
1134                                  <&cpg CPG_MOD 1026>, <&cpg CPG_MOD 1027>,
1135                                  <&cpg CPG_MOD 1028>, <&cpg CPG_MOD 1029>,
1136                                  <&cpg CPG_MOD 1030>, <&cpg CPG_MOD 1031>,
1137                                  <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1138                                  <&cpg CPG_MOD 1021>, <&cpg CPG_MOD 1020>,
1139                                  <&cpg CPG_MOD 1019>, <&cpg CPG_MOD 1018>,
1140                                  <&audio_clk_a>, <&audio_clk_b>, <&audio_clk_c>,
1141                                  <&cpg CPG_CORE R8A7790_CLK_M2>;
1142                         clock-names = "ssi-all",
1143                                       "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1144                                       "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1145                                       "ssi.1", "ssi.0",
1146                                       "src.9", "src.8", "src.7", "src.6",
1147                                       "src.5", "src.4", "src.3", "src.2",
1148                                       "src.1", "src.0",
1149                                       "ctu.0", "ctu.1",
1150                                       "mix.0", "mix.1",
1151                                       "dvc.0", "dvc.1",
1152                                       "clk_a", "clk_b", "clk_c", "clk_i";
1153                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1154                         resets = <&cpg 1005>,
1155                                  <&cpg 1006>, <&cpg 1007>,
1156                                  <&cpg 1008>, <&cpg 1009>,
1157                                  <&cpg 1010>, <&cpg 1011>,
1158                                  <&cpg 1012>, <&cpg 1013>,
1159                                  <&cpg 1014>, <&cpg 1015>;
1160                         reset-names = "ssi-all",
1161                                       "ssi.9", "ssi.8", "ssi.7", "ssi.6",
1162                                       "ssi.5", "ssi.4", "ssi.3", "ssi.2",
1163                                       "ssi.1", "ssi.0";
1164 
1165                         status = "disabled";
1166 
1167                         rcar_sound,dvc {
1168                                 dvc0: dvc-0 {
1169                                         dmas = <&audma1 0xbc>;
1170                                         dma-names = "tx";
1171                                 };
1172                                 dvc1: dvc-1 {
1173                                         dmas = <&audma1 0xbe>;
1174                                         dma-names = "tx";
1175                                 };
1176                         };
1177 
1178                         rcar_sound,mix {
1179                                 mix0: mix-0 { };
1180                                 mix1: mix-1 { };
1181                         };
1182 
1183                         rcar_sound,ctu {
1184                                 ctu00: ctu-0 { };
1185                                 ctu01: ctu-1 { };
1186                                 ctu02: ctu-2 { };
1187                                 ctu03: ctu-3 { };
1188                                 ctu10: ctu-4 { };
1189                                 ctu11: ctu-5 { };
1190                                 ctu12: ctu-6 { };
1191                                 ctu13: ctu-7 { };
1192                         };
1193 
1194                         rcar_sound,src {
1195                                 src0: src-0 {
1196                                         interrupts = <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>;
1197                                         dmas = <&audma0 0x85>, <&audma1 0x9a>;
1198                                         dma-names = "rx", "tx";
1199                                 };
1200                                 src1: src-1 {
1201                                         interrupts = <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>;
1202                                         dmas = <&audma0 0x87>, <&audma1 0x9c>;
1203                                         dma-names = "rx", "tx";
1204                                 };
1205                                 src2: src-2 {
1206                                         interrupts = <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>;
1207                                         dmas = <&audma0 0x89>, <&audma1 0x9e>;
1208                                         dma-names = "rx", "tx";
1209                                 };
1210                                 src3: src-3 {
1211                                         interrupts = <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>;
1212                                         dmas = <&audma0 0x8b>, <&audma1 0xa0>;
1213                                         dma-names = "rx", "tx";
1214                                 };
1215                                 src4: src-4 {
1216                                         interrupts = <GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH>;
1217                                         dmas = <&audma0 0x8d>, <&audma1 0xb0>;
1218                                         dma-names = "rx", "tx";
1219                                 };
1220                                 src5: src-5 {
1221                                         interrupts = <GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH>;
1222                                         dmas = <&audma0 0x8f>, <&audma1 0xb2>;
1223                                         dma-names = "rx", "tx";
1224                                 };
1225                                 src6: src-6 {
1226                                         interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>;
1227                                         dmas = <&audma0 0x91>, <&audma1 0xb4>;
1228                                         dma-names = "rx", "tx";
1229                                 };
1230                                 src7: src-7 {
1231                                         interrupts = <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>;
1232                                         dmas = <&audma0 0x93>, <&audma1 0xb6>;
1233                                         dma-names = "rx", "tx";
1234                                 };
1235                                 src8: src-8 {
1236                                         interrupts = <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>;
1237                                         dmas = <&audma0 0x95>, <&audma1 0xb8>;
1238                                         dma-names = "rx", "tx";
1239                                 };
1240                                 src9: src-9 {
1241                                         interrupts = <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>;
1242                                         dmas = <&audma0 0x97>, <&audma1 0xba>;
1243                                         dma-names = "rx", "tx";
1244                                 };
1245                         };
1246 
1247                         rcar_sound,ssi {
1248                                 ssi0: ssi-0 {
1249                                         interrupts = <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>;
1250                                         dmas = <&audma0 0x01>, <&audma1 0x02>,
1251                                                <&audma0 0x15>, <&audma1 0x16>;
1252                                         dma-names = "rx", "tx", "rxu", "txu";
1253                                 };
1254                                 ssi1: ssi-1 {
1255                                          interrupts = <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>;
1256                                         dmas = <&audma0 0x03>, <&audma1 0x04>,
1257                                                <&audma0 0x49>, <&audma1 0x4a>;
1258                                         dma-names = "rx", "tx", "rxu", "txu";
1259                                 };
1260                                 ssi2: ssi-2 {
1261                                         interrupts = <GIC_SPI 372 IRQ_TYPE_LEVEL_HIGH>;
1262                                         dmas = <&audma0 0x05>, <&audma1 0x06>,
1263                                                <&audma0 0x63>, <&audma1 0x64>;
1264                                         dma-names = "rx", "tx", "rxu", "txu";
1265                                 };
1266                                 ssi3: ssi-3 {
1267                                         interrupts = <GIC_SPI 373 IRQ_TYPE_LEVEL_HIGH>;
1268                                         dmas = <&audma0 0x07>, <&audma1 0x08>,
1269                                                <&audma0 0x6f>, <&audma1 0x70>;
1270                                         dma-names = "rx", "tx", "rxu", "txu";
1271                                 };
1272                                 ssi4: ssi-4 {
1273                                         interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>;
1274                                         dmas = <&audma0 0x09>, <&audma1 0x0a>,
1275                                                <&audma0 0x71>, <&audma1 0x72>;
1276                                         dma-names = "rx", "tx", "rxu", "txu";
1277                                 };
1278                                 ssi5: ssi-5 {
1279                                         interrupts = <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>;
1280                                         dmas = <&audma0 0x0b>, <&audma1 0x0c>,
1281                                                <&audma0 0x73>, <&audma1 0x74>;
1282                                         dma-names = "rx", "tx", "rxu", "txu";
1283                                 };
1284                                 ssi6: ssi-6 {
1285                                         interrupts = <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>;
1286                                         dmas = <&audma0 0x0d>, <&audma1 0x0e>,
1287                                                <&audma0 0x75>, <&audma1 0x76>;
1288                                         dma-names = "rx", "tx", "rxu", "txu";
1289                                 };
1290                                 ssi7: ssi-7 {
1291                                         interrupts = <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>;
1292                                         dmas = <&audma0 0x0f>, <&audma1 0x10>,
1293                                                <&audma0 0x79>, <&audma1 0x7a>;
1294                                         dma-names = "rx", "tx", "rxu", "txu";
1295                                 };
1296                                 ssi8: ssi-8 {
1297                                         interrupts = <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>;
1298                                         dmas = <&audma0 0x11>, <&audma1 0x12>,
1299                                                <&audma0 0x7b>, <&audma1 0x7c>;
1300                                         dma-names = "rx", "tx", "rxu", "txu";
1301                                 };
1302                                 ssi9: ssi-9 {
1303                                         interrupts = <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>;
1304                                         dmas = <&audma0 0x13>, <&audma1 0x14>,
1305                                                <&audma0 0x7d>, <&audma1 0x7e>;
1306                                         dma-names = "rx", "tx", "rxu", "txu";
1307                                 };
1308                         };
1309                 };
1310 
1311                 audma0: dma-controller@ec700000 {
1312                         compatible = "renesas,dmac-r8a7790",
1313                                      "renesas,rcar-dmac";
1314                         reg = <0 0xec700000 0 0x10000>;
1315                         interrupts = <GIC_SPI 346 IRQ_TYPE_LEVEL_HIGH>,
1316                                      <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>,
1317                                      <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>,
1318                                      <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>,
1319                                      <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>,
1320                                      <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>,
1321                                      <GIC_SPI 325 IRQ_TYPE_LEVEL_HIGH>,
1322                                      <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>,
1323                                      <GIC_SPI 327 IRQ_TYPE_LEVEL_HIGH>,
1324                                      <GIC_SPI 328 IRQ_TYPE_LEVEL_HIGH>,
1325                                      <GIC_SPI 329 IRQ_TYPE_LEVEL_HIGH>,
1326                                      <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>,
1327                                      <GIC_SPI 331 IRQ_TYPE_LEVEL_HIGH>,
1328                                      <GIC_SPI 332 IRQ_TYPE_LEVEL_HIGH>;
1329                         interrupt-names = "error",
1330                                           "ch0", "ch1", "ch2", "ch3",
1331                                           "ch4", "ch5", "ch6", "ch7",
1332                                           "ch8", "ch9", "ch10", "ch11",
1333                                           "ch12";
1334                         clocks = <&cpg CPG_MOD 502>;
1335                         clock-names = "fck";
1336                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1337                         resets = <&cpg 502>;
1338                         #dma-cells = <1>;
1339                         dma-channels = <13>;
1340                 };
1341 
1342                 audma1: dma-controller@ec720000 {
1343                         compatible = "renesas,dmac-r8a7790",
1344                                      "renesas,rcar-dmac";
1345                         reg = <0 0xec720000 0 0x10000>;
1346                         interrupts = <GIC_SPI 347 IRQ_TYPE_LEVEL_HIGH>,
1347                                      <GIC_SPI 333 IRQ_TYPE_LEVEL_HIGH>,
1348                                      <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>,
1349                                      <GIC_SPI 335 IRQ_TYPE_LEVEL_HIGH>,
1350                                      <GIC_SPI 336 IRQ_TYPE_LEVEL_HIGH>,
1351                                      <GIC_SPI 337 IRQ_TYPE_LEVEL_HIGH>,
1352                                      <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>,
1353                                      <GIC_SPI 339 IRQ_TYPE_LEVEL_HIGH>,
1354                                      <GIC_SPI 340 IRQ_TYPE_LEVEL_HIGH>,
1355                                      <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>,
1356                                      <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>,
1357                                      <GIC_SPI 343 IRQ_TYPE_LEVEL_HIGH>,
1358                                      <GIC_SPI 344 IRQ_TYPE_LEVEL_HIGH>,
1359                                      <GIC_SPI 345 IRQ_TYPE_LEVEL_HIGH>;
1360                         interrupt-names = "error",
1361                                           "ch0", "ch1", "ch2", "ch3",
1362                                           "ch4", "ch5", "ch6", "ch7",
1363                                           "ch8", "ch9", "ch10", "ch11",
1364                                           "ch12";
1365                         clocks = <&cpg CPG_MOD 501>;
1366                         clock-names = "fck";
1367                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1368                         resets = <&cpg 501>;
1369                         #dma-cells = <1>;
1370                         dma-channels = <13>;
1371                 };
1372 
1373                 xhci: usb@ee000000 {
1374                         compatible = "renesas,xhci-r8a7790",
1375                                      "renesas,rcar-gen2-xhci";
1376                         reg = <0 0xee000000 0 0xc00>;
1377                         interrupts = <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>;
1378                         clocks = <&cpg CPG_MOD 328>;
1379                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1380                         resets = <&cpg 328>;
1381                         phys = <&usb2 1>;
1382                         phy-names = "usb";
1383                         status = "disabled";
1384                 };
1385 
1386                 pci0: pci@ee090000 {
1387                         compatible = "renesas,pci-r8a7790",
1388                                      "renesas,pci-rcar-gen2";
1389                         device_type = "pci";
1390                         reg = <0 0xee090000 0 0xc00>,
1391                               <0 0xee080000 0 0x1100>;
1392                         interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1393                         clocks = <&cpg CPG_MOD 703>;
1394                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1395                         resets = <&cpg 703>;
1396                         status = "disabled";
1397 
1398                         bus-range = <0 0>;
1399                         #address-cells = <3>;
1400                         #size-cells = <2>;
1401                         #interrupt-cells = <1>;
1402                         ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>;
1403                         interrupt-map-mask = <0xf800 0 0 0x7>;
1404                         interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1405                                         <0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>,
1406                                         <0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>;
1407 
1408                         usb@1,0 {
1409                                 reg = <0x800 0 0 0 0>;
1410                                 phys = <&usb0 0>;
1411                                 phy-names = "usb";
1412                         };
1413 
1414                         usb@2,0 {
1415                                 reg = <0x1000 0 0 0 0>;
1416                                 phys = <&usb0 0>;
1417                                 phy-names = "usb";
1418                         };
1419                 };
1420 
1421                 pci1: pci@ee0b0000 {
1422                         compatible = "renesas,pci-r8a7790",
1423                                      "renesas,pci-rcar-gen2";
1424                         device_type = "pci";
1425                         reg = <0 0xee0b0000 0 0xc00>,
1426                               <0 0xee0a0000 0 0x1100>;
1427                         interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1428                         clocks = <&cpg CPG_MOD 703>;
1429                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1430                         resets = <&cpg 703>;
1431                         status = "disabled";
1432 
1433                         bus-range = <1 1>;
1434                         #address-cells = <3>;
1435                         #size-cells = <2>;
1436                         #interrupt-cells = <1>;
1437                         ranges = <0x02000000 0 0xee0a0000 0 0xee0a0000 0 0x00010000>;
1438                         interrupt-map-mask = <0xf800 0 0 0x7>;
1439                         interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1440                                         <0x0800 0 0 1 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>,
1441                                         <0x1000 0 0 2 &gic GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>;
1442                 };
1443 
1444                 pci2: pci@ee0d0000 {
1445                         compatible = "renesas,pci-r8a7790",
1446                                      "renesas,pci-rcar-gen2";
1447                         device_type = "pci";
1448                         clocks = <&cpg CPG_MOD 703>;
1449                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1450                         resets = <&cpg 703>;
1451                         reg = <0 0xee0d0000 0 0xc00>,
1452                               <0 0xee0c0000 0 0x1100>;
1453                         interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1454                         status = "disabled";
1455 
1456                         bus-range = <2 2>;
1457                         #address-cells = <3>;
1458                         #size-cells = <2>;
1459                         #interrupt-cells = <1>;
1460                         ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>;
1461                         interrupt-map-mask = <0xf800 0 0 0x7>;
1462                         interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1463                                         <0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>,
1464                                         <0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>;
1465 
1466                         usb@1,0 {
1467                                 reg = <0x20800 0 0 0 0>;
1468                                 phys = <&usb2 0>;
1469                                 phy-names = "usb";
1470                         };
1471 
1472                         usb@2,0 {
1473                                 reg = <0x21000 0 0 0 0>;
1474                                 phys = <&usb2 0>;
1475                                 phy-names = "usb";
1476                         };
1477                 };
1478 
1479                 sdhi0: mmc@ee100000 {
1480                         compatible = "renesas,sdhi-r8a7790",
1481                                      "renesas,rcar-gen2-sdhi";
1482                         reg = <0 0xee100000 0 0x328>;
1483                         interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>;
1484                         clocks = <&cpg CPG_MOD 314>;
1485                         dmas = <&dmac0 0xcd>, <&dmac0 0xce>,
1486                                <&dmac1 0xcd>, <&dmac1 0xce>;
1487                         dma-names = "tx", "rx", "tx", "rx";
1488                         max-frequency = <195000000>;
1489                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1490                         resets = <&cpg 314>;
1491                         status = "disabled";
1492                 };
1493 
1494                 sdhi1: mmc@ee120000 {
1495                         compatible = "renesas,sdhi-r8a7790",
1496                                      "renesas,rcar-gen2-sdhi";
1497                         reg = <0 0xee120000 0 0x328>;
1498                         interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>;
1499                         clocks = <&cpg CPG_MOD 313>;
1500                         dmas = <&dmac0 0xc9>, <&dmac0 0xca>,
1501                                <&dmac1 0xc9>, <&dmac1 0xca>;
1502                         dma-names = "tx", "rx", "tx", "rx";
1503                         max-frequency = <195000000>;
1504                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1505                         resets = <&cpg 313>;
1506                         status = "disabled";
1507                 };
1508 
1509                 sdhi2: mmc@ee140000 {
1510                         compatible = "renesas,sdhi-r8a7790",
1511                                      "renesas,rcar-gen2-sdhi";
1512                         reg = <0 0xee140000 0 0x100>;
1513                         interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>;
1514                         clocks = <&cpg CPG_MOD 312>;
1515                         dmas = <&dmac0 0xc1>, <&dmac0 0xc2>,
1516                                <&dmac1 0xc1>, <&dmac1 0xc2>;
1517                         dma-names = "tx", "rx", "tx", "rx";
1518                         max-frequency = <97500000>;
1519                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1520                         resets = <&cpg 312>;
1521                         status = "disabled";
1522                 };
1523 
1524                 sdhi3: mmc@ee160000 {
1525                         compatible = "renesas,sdhi-r8a7790",
1526                                      "renesas,rcar-gen2-sdhi";
1527                         reg = <0 0xee160000 0 0x100>;
1528                         interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>;
1529                         clocks = <&cpg CPG_MOD 311>;
1530                         dmas = <&dmac0 0xd3>, <&dmac0 0xd4>,
1531                                <&dmac1 0xd3>, <&dmac1 0xd4>;
1532                         dma-names = "tx", "rx", "tx", "rx";
1533                         max-frequency = <97500000>;
1534                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1535                         resets = <&cpg 311>;
1536                         status = "disabled";
1537                 };
1538 
1539                 mmcif0: mmc@ee200000 {
1540                         compatible = "renesas,mmcif-r8a7790",
1541                                      "renesas,sh-mmcif";
1542                         reg = <0 0xee200000 0 0x80>;
1543                         interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>;
1544                         clocks = <&cpg CPG_MOD 315>;
1545                         dmas = <&dmac0 0xd1>, <&dmac0 0xd2>,
1546                                <&dmac1 0xd1>, <&dmac1 0xd2>;
1547                         dma-names = "tx", "rx", "tx", "rx";
1548                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1549                         resets = <&cpg 315>;
1550                         reg-io-width = <4>;
1551                         status = "disabled";
1552                         max-frequency = <97500000>;
1553                 };
1554 
1555                 mmcif1: mmc@ee220000 {
1556                         compatible = "renesas,mmcif-r8a7790",
1557                                      "renesas,sh-mmcif";
1558                         reg = <0 0xee220000 0 0x80>;
1559                         interrupts = <GIC_SPI 170 IRQ_TYPE_LEVEL_HIGH>;
1560                         clocks = <&cpg CPG_MOD 305>;
1561                         dmas = <&dmac0 0xe1>, <&dmac0 0xe2>,
1562                                <&dmac1 0xe1>, <&dmac1 0xe2>;
1563                         dma-names = "tx", "rx", "tx", "rx";
1564                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1565                         resets = <&cpg 305>;
1566                         reg-io-width = <4>;
1567                         status = "disabled";
1568                         max-frequency = <97500000>;
1569                 };
1570 
1571                 sata0: sata@ee300000 {
1572                         compatible = "renesas,sata-r8a7790",
1573                                      "renesas,rcar-gen2-sata";
1574                         reg = <0 0xee300000 0 0x200000>;
1575                         interrupts = <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>;
1576                         clocks = <&cpg CPG_MOD 815>;
1577                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1578                         resets = <&cpg 815>;
1579                         status = "disabled";
1580                 };
1581 
1582                 sata1: sata@ee500000 {
1583                         compatible = "renesas,sata-r8a7790",
1584                                      "renesas,rcar-gen2-sata";
1585                         reg = <0 0xee500000 0 0x200000>;
1586                         interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>;
1587                         clocks = <&cpg CPG_MOD 814>;
1588                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1589                         resets = <&cpg 814>;
1590                         status = "disabled";
1591                 };
1592 
1593                 ether: ethernet@ee700000 {
1594                         compatible = "renesas,ether-r8a7790",
1595                                      "renesas,rcar-gen2-ether";
1596                         reg = <0 0xee700000 0 0x400>;
1597                         interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>;
1598                         clocks = <&cpg CPG_MOD 813>;
1599                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1600                         resets = <&cpg 813>;
1601                         phy-mode = "rmii";
1602                         #address-cells = <1>;
1603                         #size-cells = <0>;
1604                         status = "disabled";
1605                 };
1606 
1607                 gic: interrupt-controller@f1001000 {
1608                         compatible = "arm,gic-400";
1609                         #interrupt-cells = <3>;
1610                         #address-cells = <0>;
1611                         interrupt-controller;
1612                         reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>,
1613                               <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>;
1614                         interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
1615                         clocks = <&cpg CPG_MOD 408>;
1616                         clock-names = "clk";
1617                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1618                         resets = <&cpg 408>;
1619                 };
1620 
1621                 pciec: pcie@fe000000 {
1622                         compatible = "renesas,pcie-r8a7790",
1623                                      "renesas,pcie-rcar-gen2";
1624                         reg = <0 0xfe000000 0 0x80000>;
1625                         #address-cells = <3>;
1626                         #size-cells = <2>;
1627                         bus-range = <0x00 0xff>;
1628                         device_type = "pci";
1629                         ranges = <0x01000000 0 0x00000000 0 0xfe100000 0 0x00100000>,
1630                                  <0x02000000 0 0xfe200000 0 0xfe200000 0 0x00200000>,
1631                                  <0x02000000 0 0x30000000 0 0x30000000 0 0x08000000>,
1632                                  <0x42000000 0 0x38000000 0 0x38000000 0 0x08000000>;
1633                         /* Map all possible DDR as inbound ranges */
1634                         dma-ranges = <0x42000000 0 0x40000000 0 0x40000000 0 0x80000000>,
1635                                      <0x43000000 1 0x80000000 1 0x80000000 0 0x80000000>;
1636                         interrupts = <GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>,
1637                                      <GIC_SPI 117 IRQ_TYPE_LEVEL_HIGH>,
1638                                      <GIC_SPI 118 IRQ_TYPE_LEVEL_HIGH>;
1639                         #interrupt-cells = <1>;
1640                         interrupt-map-mask = <0 0 0 0>;
1641                         interrupt-map = <0 0 0 0 &gic GIC_SPI 116 IRQ_TYPE_LEVEL_HIGH>;
1642                         clocks = <&cpg CPG_MOD 319>, <&pcie_bus_clk>;
1643                         clock-names = "pcie", "pcie_bus";
1644                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1645                         resets = <&cpg 319>;
1646                         status = "disabled";
1647                 };
1648 
1649                 vsp@fe920000 {
1650                         compatible = "renesas,vsp1";
1651                         reg = <0 0xfe920000 0 0x8000>;
1652                         interrupts = <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>;
1653                         clocks = <&cpg CPG_MOD 130>;
1654                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1655                         resets = <&cpg 130>;
1656                 };
1657 
1658                 vsp@fe928000 {
1659                         compatible = "renesas,vsp1";
1660                         reg = <0 0xfe928000 0 0x8000>;
1661                         interrupts = <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>;
1662                         clocks = <&cpg CPG_MOD 131>;
1663                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1664                         resets = <&cpg 131>;
1665                 };
1666 
1667                 vsp@fe930000 {
1668                         compatible = "renesas,vsp1";
1669                         reg = <0 0xfe930000 0 0x8000>;
1670                         interrupts = <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>;
1671                         clocks = <&cpg CPG_MOD 128>;
1672                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1673                         resets = <&cpg 128>;
1674                 };
1675 
1676                 vsp@fe938000 {
1677                         compatible = "renesas,vsp1";
1678                         reg = <0 0xfe938000 0 0x8000>;
1679                         interrupts = <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>;
1680                         clocks = <&cpg CPG_MOD 127>;
1681                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1682                         resets = <&cpg 127>;
1683                 };
1684 
1685                 fdp1@fe940000 {
1686                         compatible = "renesas,fdp1";
1687                         reg = <0 0xfe940000 0 0x2400>;
1688                         interrupts = <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>;
1689                         clocks = <&cpg CPG_MOD 119>;
1690                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1691                         resets = <&cpg 119>;
1692                 };
1693 
1694                 fdp1@fe944000 {
1695                         compatible = "renesas,fdp1";
1696                         reg = <0 0xfe944000 0 0x2400>;
1697                         interrupts = <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>;
1698                         clocks = <&cpg CPG_MOD 118>;
1699                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1700                         resets = <&cpg 118>;
1701                 };
1702 
1703                 fdp1@fe948000 {
1704                         compatible = "renesas,fdp1";
1705                         reg = <0 0xfe948000 0 0x2400>;
1706                         interrupts = <GIC_SPI 264 IRQ_TYPE_LEVEL_HIGH>;
1707                         clocks = <&cpg CPG_MOD 117>;
1708                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1709                         resets = <&cpg 117>;
1710                 };
1711 
1712                 jpu: jpeg-codec@fe980000 {
1713                         compatible = "renesas,jpu-r8a7790",
1714                                      "renesas,rcar-gen2-jpu";
1715                         reg = <0 0xfe980000 0 0x10300>;
1716                         interrupts = <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>;
1717                         clocks = <&cpg CPG_MOD 106>;
1718                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1719                         resets = <&cpg 106>;
1720                 };
1721 
1722                 du: display@feb00000 {
1723                         compatible = "renesas,du-r8a7790";
1724                         reg = <0 0xfeb00000 0 0x70000>;
1725                         interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>,
1726                                      <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>,
1727                                      <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>;
1728                         clocks = <&cpg CPG_MOD 724>, <&cpg CPG_MOD 723>,
1729                                  <&cpg CPG_MOD 722>;
1730                         clock-names = "du.0", "du.1", "du.2";
1731                         resets = <&cpg 724>;
1732                         reset-names = "du.0";
1733                         status = "disabled";
1734 
1735                         ports {
1736                                 #address-cells = <1>;
1737                                 #size-cells = <0>;
1738 
1739                                 port@0 {
1740                                         reg = <0>;
1741                                         du_out_rgb: endpoint {
1742                                         };
1743                                 };
1744                                 port@1 {
1745                                         reg = <1>;
1746                                         du_out_lvds0: endpoint {
1747                                                 remote-endpoint = <&lvds0_in>;
1748                                         };
1749                                 };
1750                                 port@2 {
1751                                         reg = <2>;
1752                                         du_out_lvds1: endpoint {
1753                                                 remote-endpoint = <&lvds1_in>;
1754                                         };
1755                                 };
1756                         };
1757                 };
1758 
1759                 lvds0: lvds@feb90000 {
1760                         compatible = "renesas,r8a7790-lvds";
1761                         reg = <0 0xfeb90000 0 0x1c>;
1762                         clocks = <&cpg CPG_MOD 726>;
1763                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1764                         resets = <&cpg 726>;
1765                         status = "disabled";
1766 
1767                         ports {
1768                                 #address-cells = <1>;
1769                                 #size-cells = <0>;
1770 
1771                                 port@0 {
1772                                         reg = <0>;
1773                                         lvds0_in: endpoint {
1774                                                 remote-endpoint = <&du_out_lvds0>;
1775                                         };
1776                                 };
1777                                 port@1 {
1778                                         reg = <1>;
1779                                         lvds0_out: endpoint {
1780                                         };
1781                                 };
1782                         };
1783                 };
1784 
1785                 lvds1: lvds@feb94000 {
1786                         compatible = "renesas,r8a7790-lvds";
1787                         reg = <0 0xfeb94000 0 0x1c>;
1788                         clocks = <&cpg CPG_MOD 725>;
1789                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1790                         resets = <&cpg 725>;
1791                         status = "disabled";
1792 
1793                         ports {
1794                                 #address-cells = <1>;
1795                                 #size-cells = <0>;
1796 
1797                                 port@0 {
1798                                         reg = <0>;
1799                                         lvds1_in: endpoint {
1800                                                 remote-endpoint = <&du_out_lvds1>;
1801                                         };
1802                                 };
1803                                 port@1 {
1804                                         reg = <1>;
1805                                         lvds1_out: endpoint {
1806                                         };
1807                                 };
1808                         };
1809                 };
1810 
1811                 prr: chipid@ff000044 {
1812                         compatible = "renesas,prr";
1813                         reg = <0 0xff000044 0 4>;
1814                 };
1815 
1816                 cmt0: timer@ffca0000 {
1817                         compatible = "renesas,r8a7790-cmt0",
1818                                      "renesas,rcar-gen2-cmt0";
1819                         reg = <0 0xffca0000 0 0x1004>;
1820                         interrupts = <GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>,
1821                                      <GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>;
1822                         clocks = <&cpg CPG_MOD 124>;
1823                         clock-names = "fck";
1824                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1825                         resets = <&cpg 124>;
1826 
1827                         status = "disabled";
1828                 };
1829 
1830                 cmt1: timer@e6130000 {
1831                         compatible = "renesas,r8a7790-cmt1",
1832                                      "renesas,rcar-gen2-cmt1";
1833                         reg = <0 0xe6130000 0 0x1004>;
1834                         interrupts = <GIC_SPI 120 IRQ_TYPE_LEVEL_HIGH>,
1835                                      <GIC_SPI 121 IRQ_TYPE_LEVEL_HIGH>,
1836                                      <GIC_SPI 122 IRQ_TYPE_LEVEL_HIGH>,
1837                                      <GIC_SPI 123 IRQ_TYPE_LEVEL_HIGH>,
1838                                      <GIC_SPI 124 IRQ_TYPE_LEVEL_HIGH>,
1839                                      <GIC_SPI 125 IRQ_TYPE_LEVEL_HIGH>,
1840                                      <GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>,
1841                                      <GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>;
1842                         clocks = <&cpg CPG_MOD 329>;
1843                         clock-names = "fck";
1844                         power-domains = <&sysc R8A7790_PD_ALWAYS_ON>;
1845                         resets = <&cpg 329>;
1846 
1847                         status = "disabled";
1848                 };
1849         };
1850 
1851         thermal-zones {
1852                 cpu_thermal: cpu-thermal {
1853                         polling-delay-passive = <0>;
1854                         polling-delay = <0>;
1855 
1856                         thermal-sensors = <&thermal>;
1857 
1858                         trips {
1859                                 cpu-crit {
1860                                         temperature = <95000>;
1861                                         hysteresis = <0>;
1862                                         type = "critical";
1863                                 };
1864                         };
1865                         cooling-maps {
1866                         };
1867                 };
1868         };
1869 
1870         timer {
1871                 compatible = "arm,armv7-timer";
1872                 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
1873                                       <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
1874                                       <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>,
1875                                       <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_LOW)>;
1876         };
1877 
1878         /* External USB clock - can be overridden by the board */
1879         usb_extal_clk: usb_extal {
1880                 compatible = "fixed-clock";
1881                 #clock-cells = <0>;
1882                 clock-frequency = <48000000>;
1883         };
1884 };