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 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>; 281184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU0>; 29f3a54d6cSSergei Shtylyov next-level-cache = <&L2_CA53>; 30f3a54d6cSSergei Shtylyov enable-method = "psci"; 31f3a54d6cSSergei Shtylyov }; 32f3a54d6cSSergei Shtylyov 332ec1e4b4SSergei Shtylyov a53_1: cpu@1 { 342ec1e4b4SSergei Shtylyov device_type = "cpu"; 352ec1e4b4SSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 362ec1e4b4SSergei Shtylyov reg = <1>; 372ec1e4b4SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 382ec1e4b4SSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU1>; 392ec1e4b4SSergei Shtylyov next-level-cache = <&L2_CA53>; 402ec1e4b4SSergei Shtylyov enable-method = "psci"; 412ec1e4b4SSergei Shtylyov }; 422ec1e4b4SSergei Shtylyov 432ec1e4b4SSergei Shtylyov a53_2: cpu@2 { 442ec1e4b4SSergei Shtylyov device_type = "cpu"; 452ec1e4b4SSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 462ec1e4b4SSergei Shtylyov reg = <2>; 472ec1e4b4SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 482ec1e4b4SSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU2>; 492ec1e4b4SSergei Shtylyov next-level-cache = <&L2_CA53>; 502ec1e4b4SSergei Shtylyov enable-method = "psci"; 512ec1e4b4SSergei Shtylyov }; 522ec1e4b4SSergei Shtylyov 532ec1e4b4SSergei Shtylyov a53_3: cpu@3 { 542ec1e4b4SSergei Shtylyov device_type = "cpu"; 552ec1e4b4SSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 562ec1e4b4SSergei Shtylyov reg = <3>; 572ec1e4b4SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77980_CLK_Z2>; 582ec1e4b4SSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_CPU3>; 592ec1e4b4SSergei Shtylyov next-level-cache = <&L2_CA53>; 602ec1e4b4SSergei Shtylyov enable-method = "psci"; 612ec1e4b4SSergei Shtylyov }; 622ec1e4b4SSergei Shtylyov 63f3a54d6cSSergei Shtylyov L2_CA53: cache-controller { 64f3a54d6cSSergei Shtylyov compatible = "cache"; 651184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_CA53_SCU>; 66f3a54d6cSSergei Shtylyov cache-unified; 67f3a54d6cSSergei Shtylyov cache-level = <2>; 68f3a54d6cSSergei Shtylyov }; 69f3a54d6cSSergei Shtylyov }; 70f3a54d6cSSergei Shtylyov 71f38c4172SSergei Shtylyov /* External CAN clock - to be overridden by boards that provide it */ 72f38c4172SSergei Shtylyov can_clk: can { 73f38c4172SSergei Shtylyov compatible = "fixed-clock"; 74f38c4172SSergei Shtylyov #clock-cells = <0>; 75f38c4172SSergei Shtylyov clock-frequency = <0>; 76f38c4172SSergei Shtylyov }; 77f38c4172SSergei Shtylyov 78f3a54d6cSSergei Shtylyov extal_clk: extal { 79f3a54d6cSSergei Shtylyov compatible = "fixed-clock"; 80f3a54d6cSSergei Shtylyov #clock-cells = <0>; 81f3a54d6cSSergei Shtylyov /* This value must be overridden by the board */ 82f3a54d6cSSergei Shtylyov clock-frequency = <0>; 83f3a54d6cSSergei Shtylyov }; 84f3a54d6cSSergei Shtylyov 85f3a54d6cSSergei Shtylyov extalr_clk: extalr { 86f3a54d6cSSergei Shtylyov compatible = "fixed-clock"; 87f3a54d6cSSergei Shtylyov #clock-cells = <0>; 88f3a54d6cSSergei Shtylyov /* This value must be overridden by the board */ 89f3a54d6cSSergei Shtylyov clock-frequency = <0>; 90f3a54d6cSSergei Shtylyov }; 91f3a54d6cSSergei Shtylyov 92f3a54d6cSSergei Shtylyov psci { 93f3a54d6cSSergei Shtylyov compatible = "arm,psci-1.0", "arm,psci-0.2"; 94f3a54d6cSSergei Shtylyov method = "smc"; 95f3a54d6cSSergei Shtylyov }; 96f3a54d6cSSergei Shtylyov 973601d98cSSergei Shtylyov /* External SCIF clock - to be overridden by boards that provide it */ 983601d98cSSergei Shtylyov scif_clk: scif { 993601d98cSSergei Shtylyov compatible = "fixed-clock"; 1003601d98cSSergei Shtylyov #clock-cells = <0>; 1013601d98cSSergei Shtylyov clock-frequency = <0>; 1023601d98cSSergei Shtylyov }; 1033601d98cSSergei Shtylyov 104f3a54d6cSSergei Shtylyov soc { 105f3a54d6cSSergei Shtylyov compatible = "simple-bus"; 106f3a54d6cSSergei Shtylyov interrupt-parent = <&gic>; 107f3a54d6cSSergei Shtylyov 108f3a54d6cSSergei Shtylyov #address-cells = <2>; 109f3a54d6cSSergei Shtylyov #size-cells = <2>; 110f3a54d6cSSergei Shtylyov ranges; 111f3a54d6cSSergei Shtylyov 112cef26946SSergei Shtylyov pfc: pin-controller@e6060000 { 113cef26946SSergei Shtylyov compatible = "renesas,pfc-r8a77980"; 114cef26946SSergei Shtylyov reg = <0 0xe6060000 0 0x50c>; 115cef26946SSergei Shtylyov }; 116cef26946SSergei Shtylyov 117f3a54d6cSSergei Shtylyov cpg: clock-controller@e6150000 { 118f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-cpg-mssr"; 119f3a54d6cSSergei Shtylyov reg = <0 0xe6150000 0 0x1000>; 120f3a54d6cSSergei Shtylyov clocks = <&extal_clk>, <&extalr_clk>; 121f3a54d6cSSergei Shtylyov clock-names = "extal", "extalr"; 122f3a54d6cSSergei Shtylyov #clock-cells = <2>; 123f3a54d6cSSergei Shtylyov #power-domain-cells = <0>; 124f3a54d6cSSergei Shtylyov #reset-cells = <1>; 125f3a54d6cSSergei Shtylyov }; 126f3a54d6cSSergei Shtylyov 127f3a54d6cSSergei Shtylyov rst: reset-controller@e6160000 { 128f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-rst"; 129f3a54d6cSSergei Shtylyov reg = <0 0xe6160000 0 0x200>; 130f3a54d6cSSergei Shtylyov }; 131f3a54d6cSSergei Shtylyov 132f3a54d6cSSergei Shtylyov sysc: system-controller@e6180000 { 133f3a54d6cSSergei Shtylyov compatible = "renesas,r8a77980-sysc"; 134f3a54d6cSSergei Shtylyov reg = <0 0xe6180000 0 0x440>; 135f3a54d6cSSergei Shtylyov #power-domain-cells = <1>; 136f3a54d6cSSergei Shtylyov }; 137f3a54d6cSSergei Shtylyov 1383601d98cSSergei Shtylyov hscif0: serial@e6540000 { 1393601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1403601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1413601d98cSSergei Shtylyov "renesas,hscif"; 1423601d98cSSergei Shtylyov reg = <0 0xe6540000 0 0x60>; 1433601d98cSSergei Shtylyov interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 1443601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 520>, 145c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1463601d98cSSergei Shtylyov <&scif_clk>; 1473601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1483601d98cSSergei Shtylyov dmas = <&dmac1 0x31>, <&dmac1 0x30>, 1493601d98cSSergei Shtylyov <&dmac2 0x31>, <&dmac2 0x30>; 1503601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 1511184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1523601d98cSSergei Shtylyov resets = <&cpg 520>; 1533601d98cSSergei Shtylyov status = "disabled"; 1543601d98cSSergei Shtylyov }; 1553601d98cSSergei Shtylyov 1563601d98cSSergei Shtylyov hscif1: serial@e6550000 { 1573601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1583601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1593601d98cSSergei Shtylyov "renesas,hscif"; 1603601d98cSSergei Shtylyov reg = <0 0xe6550000 0 0x60>; 1613601d98cSSergei Shtylyov interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 1623601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 519>, 163c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1643601d98cSSergei Shtylyov <&scif_clk>; 1653601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1663601d98cSSergei Shtylyov dmas = <&dmac1 0x33>, <&dmac1 0x32>, 1673601d98cSSergei Shtylyov <&dmac2 0x33>, <&dmac2 0x32>; 1683601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 1691184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1703601d98cSSergei Shtylyov resets = <&cpg 519>; 1713601d98cSSergei Shtylyov status = "disabled"; 1723601d98cSSergei Shtylyov }; 1733601d98cSSergei Shtylyov 1743601d98cSSergei Shtylyov hscif2: serial@e6560000 { 1753601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1763601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1773601d98cSSergei Shtylyov "renesas,hscif"; 1783601d98cSSergei Shtylyov reg = <0 0xe6560000 0 0x60>; 1793601d98cSSergei Shtylyov interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 1803601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 518>, 181c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 1823601d98cSSergei Shtylyov <&scif_clk>; 1833601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 1843601d98cSSergei Shtylyov dmas = <&dmac1 0x35>, <&dmac1 0x34>, 1853601d98cSSergei Shtylyov <&dmac2 0x35>, <&dmac2 0x34>; 1863601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 1871184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 1883601d98cSSergei Shtylyov resets = <&cpg 518>; 1893601d98cSSergei Shtylyov status = "disabled"; 1903601d98cSSergei Shtylyov }; 1913601d98cSSergei Shtylyov 1923601d98cSSergei Shtylyov hscif3: serial@e66a0000 { 1933601d98cSSergei Shtylyov compatible = "renesas,hscif-r8a77980", 1943601d98cSSergei Shtylyov "renesas,rcar-gen3-hscif", 1953601d98cSSergei Shtylyov "renesas,hscif"; 1963601d98cSSergei Shtylyov reg = <0 0xe66a0000 0 0x60>; 1973601d98cSSergei Shtylyov interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; 1983601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 517>, 199c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2003601d98cSSergei Shtylyov <&scif_clk>; 2013601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2023601d98cSSergei Shtylyov dmas = <&dmac1 0x37>, <&dmac1 0x36>, 2033601d98cSSergei Shtylyov <&dmac2 0x37>, <&dmac2 0x36>; 2043601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2051184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2063601d98cSSergei Shtylyov resets = <&cpg 517>; 2073601d98cSSergei Shtylyov status = "disabled"; 2083601d98cSSergei Shtylyov }; 2093601d98cSSergei Shtylyov 210f38c4172SSergei Shtylyov canfd: can@e66c0000 { 211f38c4172SSergei Shtylyov compatible = "renesas,r8a77980-canfd", 212f38c4172SSergei Shtylyov "renesas,rcar-gen3-canfd"; 213f38c4172SSergei Shtylyov reg = <0 0xe66c0000 0 0x8000>; 214f38c4172SSergei Shtylyov interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 215f38c4172SSergei Shtylyov <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; 216f38c4172SSergei Shtylyov clocks = <&cpg CPG_MOD 914>, 217f38c4172SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_CANFD>, 218f38c4172SSergei Shtylyov <&can_clk>; 219f38c4172SSergei Shtylyov clock-names = "fck", "canfd", "can_clk"; 220f38c4172SSergei Shtylyov assigned-clocks = <&cpg CPG_CORE R8A77980_CLK_CANFD>; 221f38c4172SSergei Shtylyov assigned-clock-rates = <40000000>; 222f38c4172SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 22322fb06cdSSimon Horman resets = <&cpg 914>; 224f38c4172SSergei Shtylyov status = "disabled"; 225f38c4172SSergei Shtylyov 226f38c4172SSergei Shtylyov channel0 { 227f38c4172SSergei Shtylyov status = "disabled"; 228f38c4172SSergei Shtylyov }; 229f38c4172SSergei Shtylyov 230f38c4172SSergei Shtylyov channel1 { 231f38c4172SSergei Shtylyov status = "disabled"; 232f38c4172SSergei Shtylyov }; 233f38c4172SSergei Shtylyov }; 234f38c4172SSergei Shtylyov 235bf6f9083SSergei Shtylyov avb: ethernet@e6800000 { 236bf6f9083SSergei Shtylyov compatible = "renesas,etheravb-r8a77980", 237bf6f9083SSergei Shtylyov "renesas,etheravb-rcar-gen3"; 238bf6f9083SSergei Shtylyov reg = <0 0xe6800000 0 0x800>; 239bf6f9083SSergei Shtylyov interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 240bf6f9083SSergei Shtylyov <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 241bf6f9083SSergei Shtylyov <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 242bf6f9083SSergei Shtylyov <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 243bf6f9083SSergei Shtylyov <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 244bf6f9083SSergei Shtylyov <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 245bf6f9083SSergei Shtylyov <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, 246bf6f9083SSergei Shtylyov <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, 247bf6f9083SSergei Shtylyov <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, 248bf6f9083SSergei Shtylyov <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, 249bf6f9083SSergei Shtylyov <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 250bf6f9083SSergei Shtylyov <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, 251bf6f9083SSergei Shtylyov <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 252bf6f9083SSergei Shtylyov <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, 253bf6f9083SSergei Shtylyov <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 254bf6f9083SSergei Shtylyov <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 255bf6f9083SSergei Shtylyov <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 256bf6f9083SSergei Shtylyov <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 257bf6f9083SSergei Shtylyov <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 258bf6f9083SSergei Shtylyov <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 259bf6f9083SSergei Shtylyov <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 260bf6f9083SSergei Shtylyov <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 261bf6f9083SSergei Shtylyov <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 262bf6f9083SSergei Shtylyov <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 263bf6f9083SSergei Shtylyov <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 264bf6f9083SSergei Shtylyov interrupt-names = "ch0", "ch1", "ch2", "ch3", 265bf6f9083SSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 266bf6f9083SSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 267bf6f9083SSergei Shtylyov "ch12", "ch13", "ch14", "ch15", 268bf6f9083SSergei Shtylyov "ch16", "ch17", "ch18", "ch19", 269bf6f9083SSergei Shtylyov "ch20", "ch21", "ch22", "ch23", 270bf6f9083SSergei Shtylyov "ch24"; 271bf6f9083SSergei Shtylyov clocks = <&cpg CPG_MOD 812>; 2721184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 273bf6f9083SSergei Shtylyov resets = <&cpg 812>; 274bf6f9083SSergei Shtylyov phy-mode = "rgmii"; 275bf6f9083SSergei Shtylyov #address-cells = <1>; 276bf6f9083SSergei Shtylyov #size-cells = <0>; 27752d2e0ceSSergei Shtylyov status = "disabled"; 278bf6f9083SSergei Shtylyov }; 279bf6f9083SSergei Shtylyov 2803601d98cSSergei Shtylyov scif0: serial@e6e60000 { 2813601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 2823601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 2833601d98cSSergei Shtylyov "renesas,scif"; 2843601d98cSSergei Shtylyov reg = <0 0xe6e60000 0 0x40>; 2853601d98cSSergei Shtylyov interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 2863601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 207>, 287c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 2883601d98cSSergei Shtylyov <&scif_clk>; 2893601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 2903601d98cSSergei Shtylyov dmas = <&dmac1 0x51>, <&dmac1 0x50>, 2913601d98cSSergei Shtylyov <&dmac2 0x51>, <&dmac2 0x50>; 2923601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2931184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 2943601d98cSSergei Shtylyov resets = <&cpg 207>; 2953601d98cSSergei Shtylyov status = "disabled"; 2963601d98cSSergei Shtylyov }; 2973601d98cSSergei Shtylyov 2983601d98cSSergei Shtylyov scif1: serial@e6e68000 { 2993601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 3003601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 3013601d98cSSergei Shtylyov "renesas,scif"; 3023601d98cSSergei Shtylyov reg = <0 0xe6e68000 0 0x40>; 3033601d98cSSergei Shtylyov interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 3043601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 206>, 305c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 3063601d98cSSergei Shtylyov <&scif_clk>; 3073601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 3083601d98cSSergei Shtylyov dmas = <&dmac1 0x53>, <&dmac1 0x52>, 3093601d98cSSergei Shtylyov <&dmac2 0x53>, <&dmac2 0x52>; 3103601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3111184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 3123601d98cSSergei Shtylyov resets = <&cpg 206>; 3133601d98cSSergei Shtylyov status = "disabled"; 3143601d98cSSergei Shtylyov }; 3153601d98cSSergei Shtylyov 3163601d98cSSergei Shtylyov scif3: serial@e6c50000 { 3173601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 3183601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 3193601d98cSSergei Shtylyov "renesas,scif"; 3203601d98cSSergei Shtylyov reg = <0 0xe6c50000 0 0x40>; 3213601d98cSSergei Shtylyov interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 3223601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 204>, 323c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 3243601d98cSSergei Shtylyov <&scif_clk>; 3253601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 3263601d98cSSergei Shtylyov dmas = <&dmac1 0x57>, <&dmac1 0x56>, 3273601d98cSSergei Shtylyov <&dmac2 0x57>, <&dmac2 0x56>; 3283601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3291184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 3303601d98cSSergei Shtylyov resets = <&cpg 204>; 3313601d98cSSergei Shtylyov status = "disabled"; 3323601d98cSSergei Shtylyov }; 3333601d98cSSergei Shtylyov 3343601d98cSSergei Shtylyov scif4: serial@e6c40000 { 3353601d98cSSergei Shtylyov compatible = "renesas,scif-r8a77980", 3363601d98cSSergei Shtylyov "renesas,rcar-gen3-scif", 3373601d98cSSergei Shtylyov "renesas,scif"; 3383601d98cSSergei Shtylyov reg = <0 0xe6c40000 0 0x40>; 3393601d98cSSergei Shtylyov interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 3403601d98cSSergei Shtylyov clocks = <&cpg CPG_MOD 203>, 341c64cc368SSergei Shtylyov <&cpg CPG_CORE R8A77980_CLK_S3D1>, 3423601d98cSSergei Shtylyov <&scif_clk>; 3433601d98cSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 3443601d98cSSergei Shtylyov dmas = <&dmac1 0x59>, <&dmac1 0x58>, 3453601d98cSSergei Shtylyov <&dmac2 0x59>, <&dmac2 0x58>; 3463601d98cSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3471184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 3483601d98cSSergei Shtylyov resets = <&cpg 203>; 3493601d98cSSergei Shtylyov status = "disabled"; 3503601d98cSSergei Shtylyov }; 3513601d98cSSergei Shtylyov 35200d3375fSSergei Shtylyov dmac1: dma-controller@e7300000 { 35300d3375fSSergei Shtylyov compatible = "renesas,dmac-r8a77980", 35400d3375fSSergei Shtylyov "renesas,rcar-dmac"; 35500d3375fSSergei Shtylyov reg = <0 0xe7300000 0 0x10000>; 35600d3375fSSergei Shtylyov interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 35700d3375fSSergei Shtylyov GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 35800d3375fSSergei Shtylyov GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH 35900d3375fSSergei Shtylyov GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 36000d3375fSSergei Shtylyov GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 36100d3375fSSergei Shtylyov GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 36200d3375fSSergei Shtylyov GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 36300d3375fSSergei Shtylyov GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH 36400d3375fSSergei Shtylyov GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH 36500d3375fSSergei Shtylyov GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH 36600d3375fSSergei Shtylyov GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH 36700d3375fSSergei Shtylyov GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH 36800d3375fSSergei Shtylyov GIC_SPI 356 IRQ_TYPE_LEVEL_HIGH 36900d3375fSSergei Shtylyov GIC_SPI 357 IRQ_TYPE_LEVEL_HIGH 37000d3375fSSergei Shtylyov GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH 37100d3375fSSergei Shtylyov GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH 37200d3375fSSergei Shtylyov GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>; 37300d3375fSSergei Shtylyov interrupt-names = "error", 37400d3375fSSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 37500d3375fSSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 37600d3375fSSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 37700d3375fSSergei Shtylyov "ch12", "ch13", "ch14", "ch15"; 37800d3375fSSergei Shtylyov clocks = <&cpg CPG_MOD 218>; 37900d3375fSSergei Shtylyov clock-names = "fck"; 3801184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 38100d3375fSSergei Shtylyov resets = <&cpg 218>; 38200d3375fSSergei Shtylyov #dma-cells = <1>; 38300d3375fSSergei Shtylyov dma-channels = <16>; 38400d3375fSSergei Shtylyov }; 38500d3375fSSergei Shtylyov 38600d3375fSSergei Shtylyov dmac2: dma-controller@e7310000 { 38700d3375fSSergei Shtylyov compatible = "renesas,dmac-r8a77980", 38800d3375fSSergei Shtylyov "renesas,rcar-dmac"; 38900d3375fSSergei Shtylyov reg = <0 0xe7310000 0 0x10000>; 39000d3375fSSergei Shtylyov interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH 39100d3375fSSergei Shtylyov GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 39200d3375fSSergei Shtylyov GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 39300d3375fSSergei Shtylyov GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 39400d3375fSSergei Shtylyov GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 39500d3375fSSergei Shtylyov GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 39600d3375fSSergei Shtylyov GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 39700d3375fSSergei Shtylyov GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 39800d3375fSSergei Shtylyov GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH 39900d3375fSSergei Shtylyov GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH 40000d3375fSSergei Shtylyov GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH 40100d3375fSSergei Shtylyov GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH 40200d3375fSSergei Shtylyov GIC_SPI 364 IRQ_TYPE_LEVEL_HIGH 40300d3375fSSergei Shtylyov GIC_SPI 365 IRQ_TYPE_LEVEL_HIGH 40400d3375fSSergei Shtylyov GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH 40500d3375fSSergei Shtylyov GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH 40600d3375fSSergei Shtylyov GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>; 40700d3375fSSergei Shtylyov interrupt-names = "error", 40800d3375fSSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 40900d3375fSSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 41000d3375fSSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 41100d3375fSSergei Shtylyov "ch12", "ch13", "ch14", "ch15"; 41200d3375fSSergei Shtylyov clocks = <&cpg CPG_MOD 217>; 41300d3375fSSergei Shtylyov clock-names = "fck"; 4141184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 41500d3375fSSergei Shtylyov resets = <&cpg 217>; 41600d3375fSSergei Shtylyov #dma-cells = <1>; 41700d3375fSSergei Shtylyov dma-channels = <16>; 41800d3375fSSergei Shtylyov }; 41900d3375fSSergei Shtylyov 420*87bea678SSergei Shtylyov gether: ethernet@e7400000 { 421*87bea678SSergei Shtylyov compatible = "renesas,gether-r8a77980"; 422*87bea678SSergei Shtylyov reg = <0 0xe7400000 0 0x1000>; 423*87bea678SSergei Shtylyov interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; 424*87bea678SSergei Shtylyov clocks = <&cpg CPG_MOD 813>; 425*87bea678SSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 426*87bea678SSergei Shtylyov resets = <&cpg 813>; 427*87bea678SSergei Shtylyov #address-cells = <1>; 428*87bea678SSergei Shtylyov #size-cells = <0>; 429*87bea678SSergei Shtylyov status = "disabled"; 430*87bea678SSergei Shtylyov }; 431*87bea678SSergei Shtylyov 43263eb8ee5SSergei Shtylyov mmc0: mmc@ee140000 { 43363eb8ee5SSergei Shtylyov compatible = "renesas,sdhi-r8a77980", 43463eb8ee5SSergei Shtylyov "renesas,rcar-gen3-sdhi"; 43563eb8ee5SSergei Shtylyov reg = <0 0xee140000 0 0x2000>; 43663eb8ee5SSergei Shtylyov interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; 43763eb8ee5SSergei Shtylyov clocks = <&cpg CPG_MOD 314>; 4381184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 43963eb8ee5SSergei Shtylyov resets = <&cpg 314>; 44063eb8ee5SSergei Shtylyov max-frequency = <200000000>; 44163eb8ee5SSergei Shtylyov status = "disabled"; 44263eb8ee5SSergei Shtylyov }; 44363eb8ee5SSergei Shtylyov 444f3a54d6cSSergei Shtylyov gic: interrupt-controller@f1010000 { 445f3a54d6cSSergei Shtylyov compatible = "arm,gic-400"; 446f3a54d6cSSergei Shtylyov #interrupt-cells = <3>; 447f3a54d6cSSergei Shtylyov #address-cells = <0>; 448f3a54d6cSSergei Shtylyov interrupt-controller; 449f3a54d6cSSergei Shtylyov reg = <0x0 0xf1010000 0 0x1000>, 450f3a54d6cSSergei Shtylyov <0x0 0xf1020000 0 0x20000>, 451f3a54d6cSSergei Shtylyov <0x0 0xf1040000 0 0x20000>, 452f3a54d6cSSergei Shtylyov <0x0 0xf1060000 0 0x20000>; 4532ec1e4b4SSergei Shtylyov interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | 454f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_HIGH)>; 455f3a54d6cSSergei Shtylyov clocks = <&cpg CPG_MOD 408>; 456f3a54d6cSSergei Shtylyov clock-names = "clk"; 4571184ea3fSSergei Shtylyov power-domains = <&sysc R8A77980_PD_ALWAYS_ON>; 458f3a54d6cSSergei Shtylyov resets = <&cpg 408>; 459f3a54d6cSSergei Shtylyov }; 460f3a54d6cSSergei Shtylyov 461f3a54d6cSSergei Shtylyov prr: chipid@fff00044 { 462f3a54d6cSSergei Shtylyov compatible = "renesas,prr"; 463f3a54d6cSSergei Shtylyov reg = <0 0xfff00044 0 4>; 464f3a54d6cSSergei Shtylyov }; 465f3a54d6cSSergei Shtylyov }; 466f3a54d6cSSergei Shtylyov 467f3a54d6cSSergei Shtylyov timer { 468f3a54d6cSSergei Shtylyov compatible = "arm,armv8-timer"; 4692ec1e4b4SSergei Shtylyov interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | 470f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 4712ec1e4b4SSergei Shtylyov <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | 472f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 4732ec1e4b4SSergei Shtylyov <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | 474f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>, 4752ec1e4b4SSergei Shtylyov <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | 476f3a54d6cSSergei Shtylyov IRQ_TYPE_LEVEL_LOW)>; 477f3a54d6cSSergei Shtylyov }; 478f3a54d6cSSergei Shtylyov}; 479