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