1f3a54d6cSSergei Shtylyov// SPDX-License-Identifier: GPL-2.0 2f3a54d6cSSergei Shtylyov/* 3f3a54d6cSSergei Shtylyov * Device Tree Source for the r8a77980 SoC 4f3a54d6cSSergei Shtylyov * 5f3a54d6cSSergei Shtylyov * Copyright (C) 2018 Renesas Electronics Corp. 6f3a54d6cSSergei Shtylyov * Copyright (C) 2018 Cogent Embedded, Inc. 7f3a54d6cSSergei Shtylyov */ 8f3a54d6cSSergei Shtylyov 9c64cc368SSergei Shtylyov#include <dt-bindings/clock/r8a77980-cpg-mssr.h> 10f3a54d6cSSergei Shtylyov#include <dt-bindings/interrupt-controller/irq.h> 11f3a54d6cSSergei Shtylyov#include <dt-bindings/interrupt-controller/arm-gic.h> 121184ea3fSSergei Shtylyov#include <dt-bindings/power/r8a77980-sysc.h> 13f3a54d6cSSergei Shtylyov 14f3a54d6cSSergei Shtylyov/ { 15f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980"; 16f3a54d6cSSergei Shtylyov #address-cells = <2>; 17f3a54d6cSSergei Shtylyov #size-cells = <2>; 18f3a54d6cSSergei Shtylyov 19*bc620474SSergei Shtylyov aliases { 20*bc620474SSergei Shtylyov i2c0 = &i2c0; 21*bc620474SSergei Shtylyov i2c1 = &i2c1; 22*bc620474SSergei Shtylyov i2c2 = &i2c2; 23*bc620474SSergei Shtylyov i2c3 = &i2c3; 24*bc620474SSergei Shtylyov i2c4 = &i2c4; 25*bc620474SSergei Shtylyov i2c5 = &i2c5; 26*bc620474SSergei Shtylyov }; 27*bc620474SSergei Shtylyov 28f3a54d6cSSergei Shtylyov cpus { 29f3a54d6cSSergei Shtylyov #address-cells = <1>; 30f3a54d6cSSergei Shtylyov #size-cells = <0>; 31f3a54d6cSSergei Shtylyov 32f3a54d6cSSergei Shtylyov a53_0: cpu@0 { 33f3a54d6cSSergei Shtylyov device_type = "cpu"; 34f3a54d6cSSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 35f3a54d6cSSergei Shtylyov reg = <0>; 36c64cc368SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 371184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU0>; 38f3a54d6cSSergei Shtylyov next-level-cache = <&L2_CA53>; 39f3a54d6cSSergei Shtylyov enable-method = "psci"; 40f3a54d6cSSergei Shtylyov }; 41f3a54d6cSSergei Shtylyov 422ec1e4b4SSergei Shtylyov a53_1: cpu@1 { 432ec1e4b4SSergei Shtylyov device_type = "cpu"; 442ec1e4b4SSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 452ec1e4b4SSergei Shtylyov reg = <1>; 462ec1e4b4SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 472ec1e4b4SSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU1>; 482ec1e4b4SSergei Shtylyov next-level-cache = <&L2_CA53>; 492ec1e4b4SSergei Shtylyov enable-method = "psci"; 502ec1e4b4SSergei Shtylyov }; 512ec1e4b4SSergei Shtylyov 522ec1e4b4SSergei Shtylyov a53_2: cpu@2 { 532ec1e4b4SSergei Shtylyov device_type = "cpu"; 542ec1e4b4SSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 552ec1e4b4SSergei Shtylyov reg = <2>; 562ec1e4b4SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 572ec1e4b4SSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU2>; 582ec1e4b4SSergei Shtylyov next-level-cache = <&L2_CA53>; 592ec1e4b4SSergei Shtylyov enable-method = "psci"; 602ec1e4b4SSergei Shtylyov }; 612ec1e4b4SSergei Shtylyov 622ec1e4b4SSergei Shtylyov a53_3: cpu@3 { 632ec1e4b4SSergei Shtylyov device_type = "cpu"; 642ec1e4b4SSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 652ec1e4b4SSergei Shtylyov reg = <3>; 662ec1e4b4SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 672ec1e4b4SSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU3>; 682ec1e4b4SSergei Shtylyov next-level-cache = <&L2_CA53>; 692ec1e4b4SSergei Shtylyov enable-method = "psci"; 702ec1e4b4SSergei Shtylyov }; 712ec1e4b4SSergei Shtylyov 72f3a54d6cSSergei Shtylyov L2_CA53: cache-controller { 73f3a54d6cSSergei Shtylyov compatible = "cache"; 741184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_SCU>; 75f3a54d6cSSergei Shtylyov cache-unified; 76f3a54d6cSSergei Shtylyov cache-level = <2>; 77f3a54d6cSSergei Shtylyov }; 78f3a54d6cSSergei Shtylyov }; 79f3a54d6cSSergei Shtylyov 80f38c4172SSergei Shtylyov /* External CAN clock - to be overridden by boards that provide it */ 81f38c4172SSergei Shtylyov can_clk: can { 82f38c4172SSergei Shtylyov compatible = "fixed-clock"; 83f38c4172SSergei Shtylyov #clock-cells = <0>; 84f38c4172SSergei Shtylyov clock-frequency = <0>; 85f38c4172SSergei Shtylyov }; 86f38c4172SSergei Shtylyov 87f3a54d6cSSergei Shtylyov extal_clk: extal { 88f3a54d6cSSergei Shtylyov compatible = "fixed-clock"; 89f3a54d6cSSergei Shtylyov #clock-cells = <0>; 90f3a54d6cSSergei Shtylyov /* This value must be overridden by the board */ 91f3a54d6cSSergei Shtylyov clock-frequency = <0>; 92f3a54d6cSSergei Shtylyov }; 93f3a54d6cSSergei Shtylyov 94f3a54d6cSSergei Shtylyov extalr_clk: extalr { 95f3a54d6cSSergei Shtylyov compatible = "fixed-clock"; 96f3a54d6cSSergei Shtylyov #clock-cells = <0>; 97f3a54d6cSSergei Shtylyov /* This value must be overridden by the board */ 98f3a54d6cSSergei Shtylyov clock-frequency = <0>; 99f3a54d6cSSergei Shtylyov }; 100f3a54d6cSSergei Shtylyov 101f3a54d6cSSergei Shtylyov psci { 102f3a54d6cSSergei Shtylyov compatible = "arm,psci-1.0", "arm,psci-0.2"; 103f3a54d6cSSergei Shtylyov method = "smc"; 104f3a54d6cSSergei Shtylyov }; 105f3a54d6cSSergei Shtylyov 1063601d98cSSergei Shtylyov /* External SCIF clock - to be overridden by boards that provide it */ 1073601d98cSSergei Shtylyov scif_clk: scif { 1083601d98cSSergei Shtylyov compatible = "fixed-clock"; 1093601d98cSSergei Shtylyov #clock-cells = <0>; 1103601d98cSSergei Shtylyov clock-frequency = <0>; 1113601d98cSSergei Shtylyov }; 1123601d98cSSergei Shtylyov 113f3a54d6cSSergei Shtylyov soc { 114f3a54d6cSSergei Shtylyov compatible = "simple-bus"; 115f3a54d6cSSergei Shtylyov interrupt-parent = <&gic>; 116f3a54d6cSSergei Shtylyov 117f3a54d6cSSergei Shtylyov #address-cells = <2>; 118f3a54d6cSSergei Shtylyov #size-cells = <2>; 119f3a54d6cSSergei Shtylyov ranges; 120f3a54d6cSSergei Shtylyov 121cef26946SSergei Shtylyov pfc: pin-controller@e6060000 { 122cef26946SSergei Shtylyov compatible = "renesas,pfc-r8a77980"; 123cef26946SSergei Shtylyov reg = <0 0xe6060000 0 0x50c>; 124cef26946SSergei Shtylyov }; 125cef26946SSergei Shtylyov 126f3a54d6cSSergei Shtylyov cpg: clock-controller@e6150000 { 127f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-cpg-mssr"; 128f3a54d6cSSergei Shtylyov reg = <0 0xe6150000 0 0x1000>; 129f3a54d6cSSergei Shtylyov clocks = <&extal_clk>, <&extalr_clk>; 130f3a54d6cSSergei Shtylyov clock-names = "extal", "extalr"; 131f3a54d6cSSergei Shtylyov #clock-cells = <2>; 132f3a54d6cSSergei Shtylyov #power-domain-cells = <0>; 133f3a54d6cSSergei Shtylyov #reset-cells = <1>; 134f3a54d6cSSergei Shtylyov }; 135f3a54d6cSSergei Shtylyov 136f3a54d6cSSergei Shtylyov rst: reset-controller@e6160000 { 137f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-rst"; 138f3a54d6cSSergei Shtylyov reg = <0 0xe6160000 0 0x200>; 139f3a54d6cSSergei Shtylyov }; 140f3a54d6cSSergei Shtylyov 141f3a54d6cSSergei Shtylyov sysc: system-controller@e6180000 { 142f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-sysc"; 143f3a54d6cSSergei Shtylyov reg = <0 0xe6180000 0 0x440>; 144f3a54d6cSSergei Shtylyov #power-domain-cells = <1>; 145f3a54d6cSSergei Shtylyov }; 146f3a54d6cSSergei Shtylyov 147*bc620474SSergei Shtylyov i2c0: i2c@e6500000 { 148*bc620474SSergei Shtylyov compatible = "renesas,i2c-r8a77980", 149*bc620474SSergei Shtylyov "renesas,rcar-gen3-i2c"; 150*bc620474SSergei Shtylyov reg = <0 0xe6500000 0 0x40>; 151*bc620474SSergei Shtylyov interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; 152*bc620474SSergei Shtylyov clocks = <&cpg CPG_MOD 931>; 153*bc620474SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 154*bc620474SSergei Shtylyov resets = <&cpg 931>; 155*bc620474SSergei Shtylyov dmas = <&dmac1 0x91>, <&dmac1 0x90>, 156*bc620474SSergei Shtylyov <&dmac2 0x91>, <&dmac2 0x90>; 157*bc620474SSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 158*bc620474SSergei Shtylyov i2c-scl-internal-delay-ns = <6>; 159*bc620474SSergei Shtylyov #address-cells = <1>; 160*bc620474SSergei Shtylyov #size-cells = <0>; 161*bc620474SSergei Shtylyov status = "disabled"; 162*bc620474SSergei Shtylyov }; 163*bc620474SSergei Shtylyov 164*bc620474SSergei Shtylyov i2c1: i2c@e6508000 { 165*bc620474SSergei Shtylyov compatible = "renesas,i2c-r8a77980", 166*bc620474SSergei Shtylyov "renesas,rcar-gen3-i2c"; 167*bc620474SSergei Shtylyov reg = <0 0xe6508000 0 0x40>; 168*bc620474SSergei Shtylyov interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>; 169*bc620474SSergei Shtylyov clocks = <&cpg CPG_MOD 930>; 170*bc620474SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 171*bc620474SSergei Shtylyov resets = <&cpg 930>; 172*bc620474SSergei Shtylyov dmas = <&dmac1 0x93>, <&dmac1 0x92>, 173*bc620474SSergei Shtylyov <&dmac2 0x93>, <&dmac2 0x92>; 174*bc620474SSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 175*bc620474SSergei Shtylyov i2c-scl-internal-delay-ns = <6>; 176*bc620474SSergei Shtylyov #address-cells = <1>; 177*bc620474SSergei Shtylyov #size-cells = <0>; 178*bc620474SSergei Shtylyov status = "disabled"; 179*bc620474SSergei Shtylyov }; 180*bc620474SSergei Shtylyov 181*bc620474SSergei Shtylyov i2c2: i2c@e6510000 { 182*bc620474SSergei Shtylyov compatible = "renesas,i2c-r8a77980", 183*bc620474SSergei Shtylyov "renesas,rcar-gen3-i2c"; 184*bc620474SSergei Shtylyov reg = <0 0xe6510000 0 0x40>; 185*bc620474SSergei Shtylyov interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; 186*bc620474SSergei Shtylyov clocks = <&cpg CPG_MOD 929>; 187*bc620474SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 188*bc620474SSergei Shtylyov resets = <&cpg 929>; 189*bc620474SSergei Shtylyov dmas = <&dmac1 0x95>, <&dmac1 0x94>, 190*bc620474SSergei Shtylyov <&dmac2 0x95>, <&dmac2 0x94>; 191*bc620474SSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 192*bc620474SSergei Shtylyov i2c-scl-internal-delay-ns = <6>; 193*bc620474SSergei Shtylyov #address-cells = <1>; 194*bc620474SSergei Shtylyov #size-cells = <0>; 195*bc620474SSergei Shtylyov status = "disabled"; 196*bc620474SSergei Shtylyov }; 197*bc620474SSergei Shtylyov 198*bc620474SSergei Shtylyov i2c3: i2c@e66d0000 { 199*bc620474SSergei Shtylyov compatible = "renesas,i2c-r8a77980", 200*bc620474SSergei Shtylyov "renesas,rcar-gen3-i2c"; 201*bc620474SSergei Shtylyov reg = <0 0xe66d0000 0 0x40>; 202*bc620474SSergei Shtylyov interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>; 203*bc620474SSergei Shtylyov clocks = <&cpg CPG_MOD 928>; 204*bc620474SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 205*bc620474SSergei Shtylyov resets = <&cpg 928>; 206*bc620474SSergei Shtylyov i2c-scl-internal-delay-ns = <6>; 207*bc620474SSergei Shtylyov #address-cells = <1>; 208*bc620474SSergei Shtylyov #size-cells = <0>; 209*bc620474SSergei Shtylyov status = "disabled"; 210*bc620474SSergei Shtylyov }; 211*bc620474SSergei Shtylyov 212*bc620474SSergei Shtylyov i2c4: i2c@e66d8000 { 213*bc620474SSergei Shtylyov compatible = "renesas,i2c-r8a77980", 214*bc620474SSergei Shtylyov "renesas,rcar-gen3-i2c"; 215*bc620474SSergei Shtylyov reg = <0 0xe66d8000 0 0x40>; 216*bc620474SSergei Shtylyov interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; 217*bc620474SSergei Shtylyov clocks = <&cpg CPG_MOD 927>; 218*bc620474SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 219*bc620474SSergei Shtylyov resets = <&cpg 927>; 220*bc620474SSergei Shtylyov i2c-scl-internal-delay-ns = <6>; 221*bc620474SSergei Shtylyov #address-cells = <1>; 222*bc620474SSergei Shtylyov #size-cells = <0>; 223*bc620474SSergei Shtylyov status = "disabled"; 224*bc620474SSergei Shtylyov }; 225*bc620474SSergei Shtylyov 226*bc620474SSergei Shtylyov i2c5: i2c@e66e0000 { 227*bc620474SSergei Shtylyov compatible = "renesas,i2c-r8a77980", 228*bc620474SSergei Shtylyov "renesas,rcar-gen3-i2c"; 229*bc620474SSergei Shtylyov reg = <0 0xe66e0000 0 0x40>; 230*bc620474SSergei Shtylyov interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; 231*bc620474SSergei Shtylyov clocks = <&cpg CPG_MOD 919>; 232*bc620474SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 233*bc620474SSergei Shtylyov resets = <&cpg 919>; 234*bc620474SSergei Shtylyov dmas = <&dmac1 0x9b>, <&dmac1 0x9a>, 235*bc620474SSergei Shtylyov <&dmac2 0x9b>, <&dmac2 0x9a>; 236*bc620474SSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 237*bc620474SSergei Shtylyov i2c-scl-internal-delay-ns = <6>; 238*bc620474SSergei Shtylyov #address-cells = <1>; 239*bc620474SSergei Shtylyov #size-cells = <0>; 240*bc620474SSergei Shtylyov status = "disabled"; 241*bc620474SSergei Shtylyov }; 242*bc620474SSergei Shtylyov 2433601d98cSSergei Shtylyov hscif0: serial@e6540000 { 2443601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 2453601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 2463601d98cSSergei Shtylyov "renesas,hscif"; 2473601d98cSSergei Shtylyov reg = <0 0xe6540000 0 0x60>; 2483601d98cSSergei Shtylyov interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 2493601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 520>, 250c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2513601d98cSSergei Shtylyov <&scif_clk>; 2523601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2533601d98cSSergei Shtylyov dmas = <&dmac1 0x31>, <&dmac1 0x30>, 2543601d98cSSergei Shtylyov <&dmac2 0x31>, <&dmac2 0x30>; 2553601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2561184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2573601d98cSSergei Shtylyov resets = <&cpg 520>; 2583601d98cSSergei Shtylyov status = "disabled"; 2593601d98cSSergei Shtylyov }; 2603601d98cSSergei Shtylyov 2613601d98cSSergei Shtylyov hscif1: serial@e6550000 { 2623601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 2633601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 2643601d98cSSergei Shtylyov "renesas,hscif"; 2653601d98cSSergei Shtylyov reg = <0 0xe6550000 0 0x60>; 2663601d98cSSergei Shtylyov interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 2673601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 519>, 268c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2693601d98cSSergei Shtylyov <&scif_clk>; 2703601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2713601d98cSSergei Shtylyov dmas = <&dmac1 0x33>, <&dmac1 0x32>, 2723601d98cSSergei Shtylyov <&dmac2 0x33>, <&dmac2 0x32>; 2733601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2741184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2753601d98cSSergei Shtylyov resets = <&cpg 519>; 2763601d98cSSergei Shtylyov status = "disabled"; 2773601d98cSSergei Shtylyov }; 2783601d98cSSergei Shtylyov 2793601d98cSSergei Shtylyov hscif2: serial@e6560000 { 2803601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 2813601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 2823601d98cSSergei Shtylyov "renesas,hscif"; 2833601d98cSSergei Shtylyov reg = <0 0xe6560000 0 0x60>; 2843601d98cSSergei Shtylyov interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 2853601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 518>, 286c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2873601d98cSSergei Shtylyov <&scif_clk>; 2883601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2893601d98cSSergei Shtylyov dmas = <&dmac1 0x35>, <&dmac1 0x34>, 2903601d98cSSergei Shtylyov <&dmac2 0x35>, <&dmac2 0x34>; 2913601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2921184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2933601d98cSSergei Shtylyov resets = <&cpg 518>; 2943601d98cSSergei Shtylyov status = "disabled"; 2953601d98cSSergei Shtylyov }; 2963601d98cSSergei Shtylyov 2973601d98cSSergei Shtylyov hscif3: serial@e66a0000 { 2983601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 2993601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 3003601d98cSSergei Shtylyov "renesas,hscif"; 3013601d98cSSergei Shtylyov reg = <0 0xe66a0000 0 0x60>; 3023601d98cSSergei Shtylyov interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; 3033601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 517>, 304c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 3053601d98cSSergei Shtylyov <&scif_clk>; 3063601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 3073601d98cSSergei Shtylyov dmas = <&dmac1 0x37>, <&dmac1 0x36>, 3083601d98cSSergei Shtylyov <&dmac2 0x37>, <&dmac2 0x36>; 3093601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3101184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 3113601d98cSSergei Shtylyov resets = <&cpg 517>; 3123601d98cSSergei Shtylyov status = "disabled"; 3133601d98cSSergei Shtylyov }; 3143601d98cSSergei Shtylyov 315f38c4172SSergei Shtylyov canfd: can@e66c0000 { 316f38c4172SSergei Shtylyov compatible = "renesas,r8a77980-canfd", 317f38c4172SSergei Shtylyov "renesas,rcar-gen3-canfd"; 318f38c4172SSergei Shtylyov reg = <0 0xe66c0000 0 0x8000>; 319f38c4172SSergei Shtylyov interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 320f38c4172SSergei Shtylyov <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 321f38c4172SSergei Shtylyov clocks = <&cpg CPG_MOD 914>, 322f38c4172SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_CANFD>, 323f38c4172SSergei Shtylyov <&can_clk>; 324f38c4172SSergei Shtylyov clock-names = "fck", "canfd", "can_clk"; 325f38c4172SSergei Shtylyov assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>; 326f38c4172SSergei Shtylyov assigned-clock-rates = <40000000>; 327f38c4172SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 32822fb06cdSSimon Horman resets = <&cpg 914>; 329f38c4172SSergei Shtylyov status = "disabled"; 330f38c4172SSergei Shtylyov 331f38c4172SSergei Shtylyov channel0 { 332f38c4172SSergei Shtylyov status = "disabled"; 333f38c4172SSergei Shtylyov }; 334f38c4172SSergei Shtylyov 335f38c4172SSergei Shtylyov channel1 { 336f38c4172SSergei Shtylyov status = "disabled"; 337f38c4172SSergei Shtylyov }; 338f38c4172SSergei Shtylyov }; 339f38c4172SSergei Shtylyov 340bf6f9083SSergei Shtylyov avb: ethernet@e6800000 { 341bf6f9083SSergei Shtylyov compatible = "renesas,etheravb-r8a77980", 342bf6f9083SSergei Shtylyov "renesas,etheravb-rcar-gen3"; 343bf6f9083SSergei Shtylyov reg = <0 0xe6800000 0 0x800>; 344bf6f9083SSergei Shtylyov interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 345bf6f9083SSergei Shtylyov <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 346bf6f9083SSergei Shtylyov <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 347bf6f9083SSergei Shtylyov <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 348bf6f9083SSergei Shtylyov <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 349bf6f9083SSergei Shtylyov <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 350bf6f9083SSergei Shtylyov <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, 351bf6f9083SSergei Shtylyov <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, 352bf6f9083SSergei Shtylyov <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, 353bf6f9083SSergei Shtylyov <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, 354bf6f9083SSergei Shtylyov <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 355bf6f9083SSergei Shtylyov <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, 356bf6f9083SSergei Shtylyov <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 357bf6f9083SSergei Shtylyov <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, 358bf6f9083SSergei Shtylyov <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 359bf6f9083SSergei Shtylyov <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 360bf6f9083SSergei Shtylyov <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 361bf6f9083SSergei Shtylyov <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 362bf6f9083SSergei Shtylyov <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 363bf6f9083SSergei Shtylyov <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 364bf6f9083SSergei Shtylyov <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 365bf6f9083SSergei Shtylyov <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 366bf6f9083SSergei Shtylyov <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 367bf6f9083SSergei Shtylyov <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 368bf6f9083SSergei Shtylyov <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 369bf6f9083SSergei Shtylyov interrupt-names = "ch0", "ch1", "ch2", "ch3", 370bf6f9083SSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 371bf6f9083SSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 372bf6f9083SSergei Shtylyov "ch12", "ch13", "ch14", "ch15", 373bf6f9083SSergei Shtylyov "ch16", "ch17", "ch18", "ch19", 374bf6f9083SSergei Shtylyov "ch20", "ch21", "ch22", "ch23", 375bf6f9083SSergei Shtylyov "ch24"; 376bf6f9083SSergei Shtylyov clocks = <&cpg CPG_MOD 812>; 3771184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 378bf6f9083SSergei Shtylyov resets = <&cpg 812>; 379bf6f9083SSergei Shtylyov phy-mode = "rgmii"; 380bf6f9083SSergei Shtylyov #address-cells = <1>; 381bf6f9083SSergei Shtylyov #size-cells = <0>; 38252d2e0ceSSergei Shtylyov status = "disabled"; 383bf6f9083SSergei Shtylyov }; 384bf6f9083SSergei Shtylyov 3853601d98cSSergei Shtylyov scif0: serial@e6e60000 { 3863601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 3873601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 3883601d98cSSergei Shtylyov "renesas,scif"; 3893601d98cSSergei Shtylyov reg = <0 0xe6e60000 0 0x40>; 3903601d98cSSergei Shtylyov interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 3913601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 207>, 392c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 3933601d98cSSergei Shtylyov <&scif_clk>; 3943601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 3953601d98cSSergei Shtylyov dmas = <&dmac1 0x51>, <&dmac1 0x50>, 3963601d98cSSergei Shtylyov <&dmac2 0x51>, <&dmac2 0x50>; 3973601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3981184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 3993601d98cSSergei Shtylyov resets = <&cpg 207>; 4003601d98cSSergei Shtylyov status = "disabled"; 4013601d98cSSergei Shtylyov }; 4023601d98cSSergei Shtylyov 4033601d98cSSergei Shtylyov scif1: serial@e6e68000 { 4043601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 4053601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 4063601d98cSSergei Shtylyov "renesas,scif"; 4073601d98cSSergei Shtylyov reg = <0 0xe6e68000 0 0x40>; 4083601d98cSSergei Shtylyov interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 4093601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 206>, 410c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 4113601d98cSSergei Shtylyov <&scif_clk>; 4123601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 4133601d98cSSergei Shtylyov dmas = <&dmac1 0x53>, <&dmac1 0x52>, 4143601d98cSSergei Shtylyov <&dmac2 0x53>, <&dmac2 0x52>; 4153601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 4161184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 4173601d98cSSergei Shtylyov resets = <&cpg 206>; 4183601d98cSSergei Shtylyov status = "disabled"; 4193601d98cSSergei Shtylyov }; 4203601d98cSSergei Shtylyov 4213601d98cSSergei Shtylyov scif3: serial@e6c50000 { 4223601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 4233601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 4243601d98cSSergei Shtylyov "renesas,scif"; 4253601d98cSSergei Shtylyov reg = <0 0xe6c50000 0 0x40>; 4263601d98cSSergei Shtylyov interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 4273601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 204>, 428c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 4293601d98cSSergei Shtylyov <&scif_clk>; 4303601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 4313601d98cSSergei Shtylyov dmas = <&dmac1 0x57>, <&dmac1 0x56>, 4323601d98cSSergei Shtylyov <&dmac2 0x57>, <&dmac2 0x56>; 4333601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 4341184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 4353601d98cSSergei Shtylyov resets = <&cpg 204>; 4363601d98cSSergei Shtylyov status = "disabled"; 4373601d98cSSergei Shtylyov }; 4383601d98cSSergei Shtylyov 4393601d98cSSergei Shtylyov scif4: serial@e6c40000 { 4403601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 4413601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 4423601d98cSSergei Shtylyov "renesas,scif"; 4433601d98cSSergei Shtylyov reg = <0 0xe6c40000 0 0x40>; 4443601d98cSSergei Shtylyov interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 4453601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 203>, 446c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 4473601d98cSSergei Shtylyov <&scif_clk>; 4483601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 4493601d98cSSergei Shtylyov dmas = <&dmac1 0x59>, <&dmac1 0x58>, 4503601d98cSSergei Shtylyov <&dmac2 0x59>, <&dmac2 0x58>; 4513601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 4521184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 4533601d98cSSergei Shtylyov resets = <&cpg 203>; 4543601d98cSSergei Shtylyov status = "disabled"; 4553601d98cSSergei Shtylyov }; 4563601d98cSSergei Shtylyov 45700d3375fSSergei Shtylyov dmac1: dma-controller@e7300000 { 45800d3375fSSergei Shtylyov compatible = "renesas,dmac-r8a77980", 45900d3375fSSergei Shtylyov "renesas,rcar-dmac"; 46000d3375fSSergei Shtylyov reg = <0 0xe7300000 0 0x10000>; 46100d3375fSSergei Shtylyov interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 46200d3375fSSergei Shtylyov GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 46300d3375fSSergei Shtylyov GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH 46400d3375fSSergei Shtylyov GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 46500d3375fSSergei Shtylyov GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 46600d3375fSSergei Shtylyov GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 46700d3375fSSergei Shtylyov GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 46800d3375fSSergei Shtylyov GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH 46900d3375fSSergei Shtylyov GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH 47000d3375fSSergei Shtylyov GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 47100d3375fSSergei Shtylyov GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 47200d3375fSSergei Shtylyov GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 47300d3375fSSergei Shtylyov GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 47400d3375fSSergei Shtylyov GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH 47500d3375fSSergei Shtylyov GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH 47600d3375fSSergei Shtylyov GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH 47700d3375fSSergei Shtylyov GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 47800d3375fSSergei Shtylyov interrupt-names = "error", 47900d3375fSSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 48000d3375fSSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 48100d3375fSSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 48200d3375fSSergei Shtylyov "ch12", "ch13", "ch14", "ch15"; 48300d3375fSSergei Shtylyov clocks = <&cpg CPG_MOD 218>; 48400d3375fSSergei Shtylyov clock-names = "fck"; 4851184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 48600d3375fSSergei Shtylyov resets = <&cpg 218>; 48700d3375fSSergei Shtylyov #dma-cells = <1>; 48800d3375fSSergei Shtylyov dma-channels = <16>; 48900d3375fSSergei Shtylyov }; 49000d3375fSSergei Shtylyov 49100d3375fSSergei Shtylyov dmac2: dma-controller@e7310000 { 49200d3375fSSergei Shtylyov compatible = "renesas,dmac-r8a77980", 49300d3375fSSergei Shtylyov "renesas,rcar-dmac"; 49400d3375fSSergei Shtylyov reg = <0 0xe7310000 0 0x10000>; 49500d3375fSSergei Shtylyov interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH 49600d3375fSSergei Shtylyov GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 49700d3375fSSergei Shtylyov GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 49800d3375fSSergei Shtylyov GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 49900d3375fSSergei Shtylyov GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 50000d3375fSSergei Shtylyov GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 50100d3375fSSergei Shtylyov GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 50200d3375fSSergei Shtylyov GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 50300d3375fSSergei Shtylyov GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 50400d3375fSSergei Shtylyov GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH 50500d3375fSSergei Shtylyov GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH 50600d3375fSSergei Shtylyov GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH 50700d3375fSSergei Shtylyov GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH 50800d3375fSSergei Shtylyov GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH 50900d3375fSSergei Shtylyov GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH 51000d3375fSSergei Shtylyov GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH 51100d3375fSSergei Shtylyov GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>; 51200d3375fSSergei Shtylyov interrupt-names = "error", 51300d3375fSSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 51400d3375fSSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 51500d3375fSSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 51600d3375fSSergei Shtylyov "ch12", "ch13", "ch14", "ch15"; 51700d3375fSSergei Shtylyov clocks = <&cpg CPG_MOD 217>; 51800d3375fSSergei Shtylyov clock-names = "fck"; 5191184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 52000d3375fSSergei Shtylyov resets = <&cpg 217>; 52100d3375fSSergei Shtylyov #dma-cells = <1>; 52200d3375fSSergei Shtylyov dma-channels = <16>; 52300d3375fSSergei Shtylyov }; 52400d3375fSSergei Shtylyov 52587bea678SSergei Shtylyov gether: ethernet@e7400000 { 52687bea678SSergei Shtylyov compatible = "renesas,gether-r8a77980"; 52787bea678SSergei Shtylyov reg = <0 0xe7400000 0 0x1000>; 52887bea678SSergei Shtylyov interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 52987bea678SSergei Shtylyov clocks = <&cpg CPG_MOD 813>; 53087bea678SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 53187bea678SSergei Shtylyov resets = <&cpg 813>; 53287bea678SSergei Shtylyov #address-cells = <1>; 53387bea678SSergei Shtylyov #size-cells = <0>; 53487bea678SSergei Shtylyov status = "disabled"; 53587bea678SSergei Shtylyov }; 53687bea678SSergei Shtylyov 53763eb8ee5SSergei Shtylyov mmc0: mmc@ee140000 { 53863eb8ee5SSergei Shtylyov compatible = "renesas,sdhi-r8a77980", 53963eb8ee5SSergei Shtylyov "renesas,rcar-gen3-sdhi"; 54063eb8ee5SSergei Shtylyov reg = <0 0xee140000 0 0x2000>; 54163eb8ee5SSergei Shtylyov interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; 54263eb8ee5SSergei Shtylyov clocks = <&cpg CPG_MOD 314>; 5431184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 54463eb8ee5SSergei Shtylyov resets = <&cpg 314>; 54563eb8ee5SSergei Shtylyov max-frequency = <200000000>; 54663eb8ee5SSergei Shtylyov status = "disabled"; 54763eb8ee5SSergei Shtylyov }; 54863eb8ee5SSergei Shtylyov 549f3a54d6cSSergei Shtylyov gic: interrupt-controller@f1010000 { 550f3a54d6cSSergei Shtylyov compatible = "arm,gic-400"; 551f3a54d6cSSergei Shtylyov #interrupt-cells = <3>; 552f3a54d6cSSergei Shtylyov #address-cells = <0>; 553f3a54d6cSSergei Shtylyov interrupt-controller; 554f3a54d6cSSergei Shtylyov reg = <0x0 0xf1010000 0 0x1000>, 555f3a54d6cSSergei Shtylyov <0x0 0xf1020000 0 0x20000>, 556f3a54d6cSSergei Shtylyov <0x0 0xf1040000 0 0x20000>, 557f3a54d6cSSergei Shtylyov <0x0 0xf1060000 0 0x20000>; 5582ec1e4b4SSergei Shtylyov interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | 559f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_HIGH)>; 560f3a54d6cSSergei Shtylyov clocks = <&cpg CPG_MOD 408>; 561f3a54d6cSSergei Shtylyov clock-names = "clk"; 5621184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 563f3a54d6cSSergei Shtylyov resets = <&cpg 408>; 564f3a54d6cSSergei Shtylyov }; 565f3a54d6cSSergei Shtylyov 566f3a54d6cSSergei Shtylyov prr: chipid@fff00044 { 567f3a54d6cSSergei Shtylyov compatible = "renesas,prr"; 568f3a54d6cSSergei Shtylyov reg = <0 0xfff00044 0 4>; 569f3a54d6cSSergei Shtylyov }; 570f3a54d6cSSergei Shtylyov }; 571f3a54d6cSSergei Shtylyov 572f3a54d6cSSergei Shtylyov timer { 573f3a54d6cSSergei Shtylyov compatible = "arm,armv8-timer"; 5742ec1e4b4SSergei Shtylyov interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | 575f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 5762ec1e4b4SSergei Shtylyov <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | 577f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 5782ec1e4b4SSergei Shtylyov <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | 579f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 5802ec1e4b4SSergei Shtylyov <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | 581f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>; 582f3a54d6cSSergei Shtylyov }; 583f3a54d6cSSergei Shtylyov}; 584