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> 12*1184ea3fSSergei 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 19f3a54d6cSSergei Shtylyov cpus { 20f3a54d6cSSergei Shtylyov #address-cells = <1>; 21f3a54d6cSSergei Shtylyov #size-cells = <0>; 22f3a54d6cSSergei Shtylyov 23f3a54d6cSSergei Shtylyov a53_0: cpu@0 { 24f3a54d6cSSergei Shtylyov device_type = "cpu"; 25f3a54d6cSSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 26f3a54d6cSSergei Shtylyov reg = <0>; 27c64cc368SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 28*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU0>; 29f3a54d6cSSergei Shtylyov next-level-cache = <&L2_CA53>; 30f3a54d6cSSergei Shtylyov enable-method = "psci"; 31f3a54d6cSSergei Shtylyov }; 32f3a54d6cSSergei Shtylyov 33f3a54d6cSSergei Shtylyov L2_CA53: cache-controller { 34f3a54d6cSSergei Shtylyov compatible = "cache"; 35*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_SCU>; 36f3a54d6cSSergei Shtylyov cache-unified; 37f3a54d6cSSergei Shtylyov cache-level = <2>; 38f3a54d6cSSergei Shtylyov }; 39f3a54d6cSSergei Shtylyov }; 40f3a54d6cSSergei Shtylyov 41f3a54d6cSSergei Shtylyov extal_clk: extal { 42f3a54d6cSSergei Shtylyov compatible = "fixed-clock"; 43f3a54d6cSSergei Shtylyov #clock-cells = <0>; 44f3a54d6cSSergei Shtylyov /* This value must be overridden by the board */ 45f3a54d6cSSergei Shtylyov clock-frequency = <0>; 46f3a54d6cSSergei Shtylyov }; 47f3a54d6cSSergei Shtylyov 48f3a54d6cSSergei Shtylyov extalr_clk: extalr { 49f3a54d6cSSergei Shtylyov compatible = "fixed-clock"; 50f3a54d6cSSergei Shtylyov #clock-cells = <0>; 51f3a54d6cSSergei Shtylyov /* This value must be overridden by the board */ 52f3a54d6cSSergei Shtylyov clock-frequency = <0>; 53f3a54d6cSSergei Shtylyov }; 54f3a54d6cSSergei Shtylyov 55f3a54d6cSSergei Shtylyov psci { 56f3a54d6cSSergei Shtylyov compatible = "arm,psci-1.0", "arm,psci-0.2"; 57f3a54d6cSSergei Shtylyov method = "smc"; 58f3a54d6cSSergei Shtylyov }; 59f3a54d6cSSergei Shtylyov 603601d98cSSergei Shtylyov /* External SCIF clock - to be overridden by boards that provide it */ 613601d98cSSergei Shtylyov scif_clk: scif { 623601d98cSSergei Shtylyov compatible = "fixed-clock"; 633601d98cSSergei Shtylyov #clock-cells = <0>; 643601d98cSSergei Shtylyov clock-frequency = <0>; 653601d98cSSergei Shtylyov }; 663601d98cSSergei Shtylyov 67f3a54d6cSSergei Shtylyov soc { 68f3a54d6cSSergei Shtylyov compatible = "simple-bus"; 69f3a54d6cSSergei Shtylyov interrupt-parent = <&gic>; 70f3a54d6cSSergei Shtylyov 71f3a54d6cSSergei Shtylyov #address-cells = <2>; 72f3a54d6cSSergei Shtylyov #size-cells = <2>; 73f3a54d6cSSergei Shtylyov ranges; 74f3a54d6cSSergei Shtylyov 75cef26946SSergei Shtylyov pfc: pin-controller@e6060000 { 76cef26946SSergei Shtylyov compatible = "renesas,pfc-r8a77980"; 77cef26946SSergei Shtylyov reg = <0 0xe6060000 0 0x50c>; 78cef26946SSergei Shtylyov }; 79cef26946SSergei Shtylyov 80f3a54d6cSSergei Shtylyov cpg: clock-controller@e6150000 { 81f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-cpg-mssr"; 82f3a54d6cSSergei Shtylyov reg = <0 0xe6150000 0 0x1000>; 83f3a54d6cSSergei Shtylyov clocks = <&extal_clk>, <&extalr_clk>; 84f3a54d6cSSergei Shtylyov clock-names = "extal", "extalr"; 85f3a54d6cSSergei Shtylyov #clock-cells = <2>; 86f3a54d6cSSergei Shtylyov #power-domain-cells = <0>; 87f3a54d6cSSergei Shtylyov #reset-cells = <1>; 88f3a54d6cSSergei Shtylyov }; 89f3a54d6cSSergei Shtylyov 90f3a54d6cSSergei Shtylyov rst: reset-controller@e6160000 { 91f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-rst"; 92f3a54d6cSSergei Shtylyov reg = <0 0xe6160000 0 0x200>; 93f3a54d6cSSergei Shtylyov }; 94f3a54d6cSSergei Shtylyov 95f3a54d6cSSergei Shtylyov sysc: system-controller@e6180000 { 96f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-sysc"; 97f3a54d6cSSergei Shtylyov reg = <0 0xe6180000 0 0x440>; 98f3a54d6cSSergei Shtylyov #power-domain-cells = <1>; 99f3a54d6cSSergei Shtylyov }; 100f3a54d6cSSergei Shtylyov 1013601d98cSSergei Shtylyov hscif0: serial@e6540000 { 1023601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1033601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1043601d98cSSergei Shtylyov "renesas,hscif"; 1053601d98cSSergei Shtylyov reg = <0 0xe6540000 0 0x60>; 1063601d98cSSergei Shtylyov interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 1073601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 520>, 108c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1093601d98cSSergei Shtylyov <&scif_clk>; 1103601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1113601d98cSSergei Shtylyov dmas = <&dmac1 0x31>, <&dmac1 0x30>, 1123601d98cSSergei Shtylyov <&dmac2 0x31>, <&dmac2 0x30>; 1133601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 114*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1153601d98cSSergei Shtylyov resets = <&cpg 520>; 1163601d98cSSergei Shtylyov status = "disabled"; 1173601d98cSSergei Shtylyov }; 1183601d98cSSergei Shtylyov 1193601d98cSSergei Shtylyov hscif1: serial@e6550000 { 1203601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1213601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1223601d98cSSergei Shtylyov "renesas,hscif"; 1233601d98cSSergei Shtylyov reg = <0 0xe6550000 0 0x60>; 1243601d98cSSergei Shtylyov interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 1253601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 519>, 126c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1273601d98cSSergei Shtylyov <&scif_clk>; 1283601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1293601d98cSSergei Shtylyov dmas = <&dmac1 0x33>, <&dmac1 0x32>, 1303601d98cSSergei Shtylyov <&dmac2 0x33>, <&dmac2 0x32>; 1313601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 132*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1333601d98cSSergei Shtylyov resets = <&cpg 519>; 1343601d98cSSergei Shtylyov status = "disabled"; 1353601d98cSSergei Shtylyov }; 1363601d98cSSergei Shtylyov 1373601d98cSSergei Shtylyov hscif2: serial@e6560000 { 1383601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1393601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1403601d98cSSergei Shtylyov "renesas,hscif"; 1413601d98cSSergei Shtylyov reg = <0 0xe6560000 0 0x60>; 1423601d98cSSergei Shtylyov interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 1433601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 518>, 144c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1453601d98cSSergei Shtylyov <&scif_clk>; 1463601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1473601d98cSSergei Shtylyov dmas = <&dmac1 0x35>, <&dmac1 0x34>, 1483601d98cSSergei Shtylyov <&dmac2 0x35>, <&dmac2 0x34>; 1493601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 150*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1513601d98cSSergei Shtylyov resets = <&cpg 518>; 1523601d98cSSergei Shtylyov status = "disabled"; 1533601d98cSSergei Shtylyov }; 1543601d98cSSergei Shtylyov 1553601d98cSSergei Shtylyov hscif3: serial@e66a0000 { 1563601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1573601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1583601d98cSSergei Shtylyov "renesas,hscif"; 1593601d98cSSergei Shtylyov reg = <0 0xe66a0000 0 0x60>; 1603601d98cSSergei Shtylyov interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; 1613601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 517>, 162c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1633601d98cSSergei Shtylyov <&scif_clk>; 1643601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1653601d98cSSergei Shtylyov dmas = <&dmac1 0x37>, <&dmac1 0x36>, 1663601d98cSSergei Shtylyov <&dmac2 0x37>, <&dmac2 0x36>; 1673601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 168*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1693601d98cSSergei Shtylyov resets = <&cpg 517>; 1703601d98cSSergei Shtylyov status = "disabled"; 1713601d98cSSergei Shtylyov }; 1723601d98cSSergei Shtylyov 173bf6f9083SSergei Shtylyov avb: ethernet@e6800000 { 174bf6f9083SSergei Shtylyov compatible = "renesas,etheravb-r8a77980", 175bf6f9083SSergei Shtylyov "renesas,etheravb-rcar-gen3"; 176bf6f9083SSergei Shtylyov reg = <0 0xe6800000 0 0x800>; 177bf6f9083SSergei Shtylyov interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 178bf6f9083SSergei Shtylyov <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 179bf6f9083SSergei Shtylyov <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 180bf6f9083SSergei Shtylyov <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 181bf6f9083SSergei Shtylyov <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 182bf6f9083SSergei Shtylyov <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 183bf6f9083SSergei Shtylyov <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, 184bf6f9083SSergei Shtylyov <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, 185bf6f9083SSergei Shtylyov <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, 186bf6f9083SSergei Shtylyov <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, 187bf6f9083SSergei Shtylyov <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 188bf6f9083SSergei Shtylyov <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, 189bf6f9083SSergei Shtylyov <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 190bf6f9083SSergei Shtylyov <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, 191bf6f9083SSergei Shtylyov <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 192bf6f9083SSergei Shtylyov <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 193bf6f9083SSergei Shtylyov <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 194bf6f9083SSergei Shtylyov <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 195bf6f9083SSergei Shtylyov <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 196bf6f9083SSergei Shtylyov <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 197bf6f9083SSergei Shtylyov <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 198bf6f9083SSergei Shtylyov <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 199bf6f9083SSergei Shtylyov <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 200bf6f9083SSergei Shtylyov <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 201bf6f9083SSergei Shtylyov <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 202bf6f9083SSergei Shtylyov interrupt-names = "ch0", "ch1", "ch2", "ch3", 203bf6f9083SSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 204bf6f9083SSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 205bf6f9083SSergei Shtylyov "ch12", "ch13", "ch14", "ch15", 206bf6f9083SSergei Shtylyov "ch16", "ch17", "ch18", "ch19", 207bf6f9083SSergei Shtylyov "ch20", "ch21", "ch22", "ch23", 208bf6f9083SSergei Shtylyov "ch24"; 209bf6f9083SSergei Shtylyov clocks = <&cpg CPG_MOD 812>; 210*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 211bf6f9083SSergei Shtylyov resets = <&cpg 812>; 212bf6f9083SSergei Shtylyov phy-mode = "rgmii"; 213bf6f9083SSergei Shtylyov #address-cells = <1>; 214bf6f9083SSergei Shtylyov #size-cells = <0>; 215bf6f9083SSergei Shtylyov }; 216bf6f9083SSergei Shtylyov 2173601d98cSSergei Shtylyov scif0: serial@e6e60000 { 2183601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 2193601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 2203601d98cSSergei Shtylyov "renesas,scif"; 2213601d98cSSergei Shtylyov reg = <0 0xe6e60000 0 0x40>; 2223601d98cSSergei Shtylyov interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 2233601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 207>, 224c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2253601d98cSSergei Shtylyov <&scif_clk>; 2263601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2273601d98cSSergei Shtylyov dmas = <&dmac1 0x51>, <&dmac1 0x50>, 2283601d98cSSergei Shtylyov <&dmac2 0x51>, <&dmac2 0x50>; 2293601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 230*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2313601d98cSSergei Shtylyov resets = <&cpg 207>; 2323601d98cSSergei Shtylyov status = "disabled"; 2333601d98cSSergei Shtylyov }; 2343601d98cSSergei Shtylyov 2353601d98cSSergei Shtylyov scif1: serial@e6e68000 { 2363601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 2373601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 2383601d98cSSergei Shtylyov "renesas,scif"; 2393601d98cSSergei Shtylyov reg = <0 0xe6e68000 0 0x40>; 2403601d98cSSergei Shtylyov interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 2413601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 206>, 242c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2433601d98cSSergei Shtylyov <&scif_clk>; 2443601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2453601d98cSSergei Shtylyov dmas = <&dmac1 0x53>, <&dmac1 0x52>, 2463601d98cSSergei Shtylyov <&dmac2 0x53>, <&dmac2 0x52>; 2473601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 248*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2493601d98cSSergei Shtylyov resets = <&cpg 206>; 2503601d98cSSergei Shtylyov status = "disabled"; 2513601d98cSSergei Shtylyov }; 2523601d98cSSergei Shtylyov 2533601d98cSSergei Shtylyov scif3: serial@e6c50000 { 2543601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 2553601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 2563601d98cSSergei Shtylyov "renesas,scif"; 2573601d98cSSergei Shtylyov reg = <0 0xe6c50000 0 0x40>; 2583601d98cSSergei Shtylyov interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 2593601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 204>, 260c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2613601d98cSSergei Shtylyov <&scif_clk>; 2623601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2633601d98cSSergei Shtylyov dmas = <&dmac1 0x57>, <&dmac1 0x56>, 2643601d98cSSergei Shtylyov <&dmac2 0x57>, <&dmac2 0x56>; 2653601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 266*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2673601d98cSSergei Shtylyov resets = <&cpg 204>; 2683601d98cSSergei Shtylyov status = "disabled"; 2693601d98cSSergei Shtylyov }; 2703601d98cSSergei Shtylyov 2713601d98cSSergei Shtylyov scif4: serial@e6c40000 { 2723601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 2733601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 2743601d98cSSergei Shtylyov "renesas,scif"; 2753601d98cSSergei Shtylyov reg = <0 0xe6c40000 0 0x40>; 2763601d98cSSergei Shtylyov interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 2773601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 203>, 278c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2793601d98cSSergei Shtylyov <&scif_clk>; 2803601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2813601d98cSSergei Shtylyov dmas = <&dmac1 0x59>, <&dmac1 0x58>, 2823601d98cSSergei Shtylyov <&dmac2 0x59>, <&dmac2 0x58>; 2833601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 284*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2853601d98cSSergei Shtylyov resets = <&cpg 203>; 2863601d98cSSergei Shtylyov status = "disabled"; 2873601d98cSSergei Shtylyov }; 2883601d98cSSergei Shtylyov 28900d3375fSSergei Shtylyov dmac1: dma-controller@e7300000 { 29000d3375fSSergei Shtylyov compatible = "renesas,dmac-r8a77980", 29100d3375fSSergei Shtylyov "renesas,rcar-dmac"; 29200d3375fSSergei Shtylyov reg = <0 0xe7300000 0 0x10000>; 29300d3375fSSergei Shtylyov interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 29400d3375fSSergei Shtylyov GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 29500d3375fSSergei Shtylyov GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH 29600d3375fSSergei Shtylyov GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 29700d3375fSSergei Shtylyov GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 29800d3375fSSergei Shtylyov GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 29900d3375fSSergei Shtylyov GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 30000d3375fSSergei Shtylyov GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH 30100d3375fSSergei Shtylyov GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH 30200d3375fSSergei Shtylyov GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 30300d3375fSSergei Shtylyov GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 30400d3375fSSergei Shtylyov GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 30500d3375fSSergei Shtylyov GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 30600d3375fSSergei Shtylyov GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH 30700d3375fSSergei Shtylyov GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH 30800d3375fSSergei Shtylyov GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH 30900d3375fSSergei Shtylyov GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 31000d3375fSSergei Shtylyov interrupt-names = "error", 31100d3375fSSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 31200d3375fSSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 31300d3375fSSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 31400d3375fSSergei Shtylyov "ch12", "ch13", "ch14", "ch15"; 31500d3375fSSergei Shtylyov clocks = <&cpg CPG_MOD 218>; 31600d3375fSSergei Shtylyov clock-names = "fck"; 317*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 31800d3375fSSergei Shtylyov resets = <&cpg 218>; 31900d3375fSSergei Shtylyov #dma-cells = <1>; 32000d3375fSSergei Shtylyov dma-channels = <16>; 32100d3375fSSergei Shtylyov }; 32200d3375fSSergei Shtylyov 32300d3375fSSergei Shtylyov dmac2: dma-controller@e7310000 { 32400d3375fSSergei Shtylyov compatible = "renesas,dmac-r8a77980", 32500d3375fSSergei Shtylyov "renesas,rcar-dmac"; 32600d3375fSSergei Shtylyov reg = <0 0xe7310000 0 0x10000>; 32700d3375fSSergei Shtylyov interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH 32800d3375fSSergei Shtylyov GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 32900d3375fSSergei Shtylyov GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 33000d3375fSSergei Shtylyov GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 33100d3375fSSergei Shtylyov GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 33200d3375fSSergei Shtylyov GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 33300d3375fSSergei Shtylyov GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 33400d3375fSSergei Shtylyov GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 33500d3375fSSergei Shtylyov GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 33600d3375fSSergei Shtylyov GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH 33700d3375fSSergei Shtylyov GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH 33800d3375fSSergei Shtylyov GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH 33900d3375fSSergei Shtylyov GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH 34000d3375fSSergei Shtylyov GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH 34100d3375fSSergei Shtylyov GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH 34200d3375fSSergei Shtylyov GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH 34300d3375fSSergei Shtylyov GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>; 34400d3375fSSergei Shtylyov interrupt-names = "error", 34500d3375fSSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 34600d3375fSSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 34700d3375fSSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 34800d3375fSSergei Shtylyov "ch12", "ch13", "ch14", "ch15"; 34900d3375fSSergei Shtylyov clocks = <&cpg CPG_MOD 217>; 35000d3375fSSergei Shtylyov clock-names = "fck"; 351*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 35200d3375fSSergei Shtylyov resets = <&cpg 217>; 35300d3375fSSergei Shtylyov #dma-cells = <1>; 35400d3375fSSergei Shtylyov dma-channels = <16>; 35500d3375fSSergei Shtylyov }; 35600d3375fSSergei Shtylyov 35763eb8ee5SSergei Shtylyov mmc0: mmc@ee140000 { 35863eb8ee5SSergei Shtylyov compatible = "renesas,sdhi-r8a77980", 35963eb8ee5SSergei Shtylyov "renesas,rcar-gen3-sdhi"; 36063eb8ee5SSergei Shtylyov reg = <0 0xee140000 0 0x2000>; 36163eb8ee5SSergei Shtylyov interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; 36263eb8ee5SSergei Shtylyov clocks = <&cpg CPG_MOD 314>; 363*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 36463eb8ee5SSergei Shtylyov resets = <&cpg 314>; 36563eb8ee5SSergei Shtylyov max-frequency = <200000000>; 36663eb8ee5SSergei Shtylyov status = "disabled"; 36763eb8ee5SSergei Shtylyov }; 36863eb8ee5SSergei Shtylyov 369f3a54d6cSSergei Shtylyov gic: interrupt-controller@f1010000 { 370f3a54d6cSSergei Shtylyov compatible = "arm,gic-400"; 371f3a54d6cSSergei Shtylyov #interrupt-cells = <3>; 372f3a54d6cSSergei Shtylyov #address-cells = <0>; 373f3a54d6cSSergei Shtylyov interrupt-controller; 374f3a54d6cSSergei Shtylyov reg = <0x0 0xf1010000 0 0x1000>, 375f3a54d6cSSergei Shtylyov <0x0 0xf1020000 0 0x20000>, 376f3a54d6cSSergei Shtylyov <0x0 0xf1040000 0 0x20000>, 377f3a54d6cSSergei Shtylyov <0x0 0xf1060000 0 0x20000>; 378f3a54d6cSSergei Shtylyov interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | 379f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_HIGH)>; 380f3a54d6cSSergei Shtylyov clocks = <&cpg CPG_MOD 408>; 381f3a54d6cSSergei Shtylyov clock-names = "clk"; 382*1184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 383f3a54d6cSSergei Shtylyov resets = <&cpg 408>; 384f3a54d6cSSergei Shtylyov }; 385f3a54d6cSSergei Shtylyov 386f3a54d6cSSergei Shtylyov prr: chipid@fff00044 { 387f3a54d6cSSergei Shtylyov compatible = "renesas,prr"; 388f3a54d6cSSergei Shtylyov reg = <0 0xfff00044 0 4>; 389f3a54d6cSSergei Shtylyov }; 390f3a54d6cSSergei Shtylyov }; 391f3a54d6cSSergei Shtylyov 392f3a54d6cSSergei Shtylyov timer { 393f3a54d6cSSergei Shtylyov compatible = "arm,armv8-timer"; 394f3a54d6cSSergei Shtylyov interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | 395f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 396f3a54d6cSSergei Shtylyov <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | 397f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 398f3a54d6cSSergei Shtylyov <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | 399f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 400f3a54d6cSSergei Shtylyov <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | 401f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>; 402f3a54d6cSSergei Shtylyov }; 403f3a54d6cSSergei Shtylyov}; 404