141f4345aSSergei Shtylyov/* 241f4345aSSergei Shtylyov * Device Tree Source for the r8a77970 SoC 341f4345aSSergei Shtylyov * 441f4345aSSergei Shtylyov * Copyright (C) 2016-2017 Renesas Electronics Corp. 541f4345aSSergei Shtylyov * Copyright (C) 2017 Cogent Embedded, Inc. 641f4345aSSergei Shtylyov * 741f4345aSSergei Shtylyov * This file is licensed under the terms of the GNU General Public License 841f4345aSSergei Shtylyov * version 2. This program is licensed "as is" without any warranty of any 941f4345aSSergei Shtylyov * kind, whether express or implied. 1041f4345aSSergei Shtylyov */ 1141f4345aSSergei Shtylyov 12e221dab0SSergei Shtylyov#include <dt-bindings/clock/r8a77970-cpg-mssr.h> 13830241c1SSimon Horman#include <dt-bindings/interrupt-controller/arm-gic.h> 14830241c1SSimon Horman#include <dt-bindings/interrupt-controller/irq.h> 15ce3b52a1SSimon Horman#include <dt-bindings/power/r8a77970-sysc.h> 1641f4345aSSergei Shtylyov 1741f4345aSSergei Shtylyov/ { 1841f4345aSSergei Shtylyov compatible = "renesas,r8a77970"; 1941f4345aSSergei Shtylyov #address-cells = <2>; 2041f4345aSSergei Shtylyov #size-cells = <2>; 2141f4345aSSergei Shtylyov 2241f4345aSSergei Shtylyov psci { 2341f4345aSSergei Shtylyov compatible = "arm,psci-1.0", "arm,psci-0.2"; 2441f4345aSSergei Shtylyov method = "smc"; 2541f4345aSSergei Shtylyov }; 2641f4345aSSergei Shtylyov 2741f4345aSSergei Shtylyov cpus { 2841f4345aSSergei Shtylyov #address-cells = <1>; 2941f4345aSSergei Shtylyov #size-cells = <0>; 3041f4345aSSergei Shtylyov 3141f4345aSSergei Shtylyov a53_0: cpu@0 { 3241f4345aSSergei Shtylyov device_type = "cpu"; 3341f4345aSSergei Shtylyov compatible = "arm,cortex-a53", "arm,armv8"; 3441f4345aSSergei Shtylyov reg = <0>; 35e221dab0SSergei Shtylyov clocks = <&cpg CPG_CORE R8A77970_CLK_Z2>; 368aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_CA53_CPU0>; 3741f4345aSSergei Shtylyov next-level-cache = <&L2_CA53>; 3841f4345aSSergei Shtylyov enable-method = "psci"; 3941f4345aSSergei Shtylyov }; 4041f4345aSSergei Shtylyov 4141f4345aSSergei Shtylyov L2_CA53: cache-controller { 4241f4345aSSergei Shtylyov compatible = "cache"; 438aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_CA53_SCU>; 4441f4345aSSergei Shtylyov cache-unified; 4541f4345aSSergei Shtylyov cache-level = <2>; 4641f4345aSSergei Shtylyov }; 4741f4345aSSergei Shtylyov }; 4841f4345aSSergei Shtylyov 4941f4345aSSergei Shtylyov extal_clk: extal { 5041f4345aSSergei Shtylyov compatible = "fixed-clock"; 5141f4345aSSergei Shtylyov #clock-cells = <0>; 5241f4345aSSergei Shtylyov /* This value must be overridden by the board */ 5341f4345aSSergei Shtylyov clock-frequency = <0>; 5441f4345aSSergei Shtylyov }; 5541f4345aSSergei Shtylyov 5641f4345aSSergei Shtylyov extalr_clk: extalr { 5741f4345aSSergei Shtylyov compatible = "fixed-clock"; 5841f4345aSSergei Shtylyov #clock-cells = <0>; 5941f4345aSSergei Shtylyov /* This value must be overridden by the board */ 6041f4345aSSergei Shtylyov clock-frequency = <0>; 6141f4345aSSergei Shtylyov }; 6241f4345aSSergei Shtylyov 6338dbb6fcSSergei Shtylyov /* External SCIF clock - to be overridden by boards that provide it */ 6438dbb6fcSSergei Shtylyov scif_clk: scif { 6538dbb6fcSSergei Shtylyov compatible = "fixed-clock"; 6638dbb6fcSSergei Shtylyov #clock-cells = <0>; 6738dbb6fcSSergei Shtylyov clock-frequency = <0>; 6838dbb6fcSSergei Shtylyov }; 6938dbb6fcSSergei Shtylyov 7041f4345aSSergei Shtylyov soc { 7141f4345aSSergei Shtylyov compatible = "simple-bus"; 7241f4345aSSergei Shtylyov interrupt-parent = <&gic>; 7341f4345aSSergei Shtylyov 7441f4345aSSergei Shtylyov #address-cells = <2>; 7541f4345aSSergei Shtylyov #size-cells = <2>; 7641f4345aSSergei Shtylyov ranges; 7741f4345aSSergei Shtylyov 7841f4345aSSergei Shtylyov gic: interrupt-controller@f1010000 { 7941f4345aSSergei Shtylyov compatible = "arm,gic-400"; 8041f4345aSSergei Shtylyov #interrupt-cells = <3>; 8141f4345aSSergei Shtylyov #address-cells = <0>; 8241f4345aSSergei Shtylyov interrupt-controller; 8341f4345aSSergei Shtylyov reg = <0 0xf1010000 0 0x1000>, 8441f4345aSSergei Shtylyov <0 0xf1020000 0 0x20000>, 8541f4345aSSergei Shtylyov <0 0xf1040000 0 0x20000>, 8641f4345aSSergei Shtylyov <0 0xf1060000 0 0x20000>; 8741f4345aSSergei Shtylyov interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(1) | 8841f4345aSSergei Shtylyov IRQ_TYPE_LEVEL_HIGH)>; 8941f4345aSSergei Shtylyov clocks = <&cpg CPG_MOD 408>; 9041f4345aSSergei Shtylyov clock-names = "clk"; 918aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 9241f4345aSSergei Shtylyov resets = <&cpg 408>; 9341f4345aSSergei Shtylyov }; 9441f4345aSSergei Shtylyov 95206d082eSGeert Uytterhoeven rwdt: watchdog@e6020000 { 96206d082eSGeert Uytterhoeven compatible = "renesas,r8a77970-wdt", 97206d082eSGeert Uytterhoeven "renesas,rcar-gen3-wdt"; 98206d082eSGeert Uytterhoeven reg = <0 0xe6020000 0 0x0c>; 99206d082eSGeert Uytterhoeven clocks = <&cpg CPG_MOD 402>; 1008aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 101206d082eSGeert Uytterhoeven resets = <&cpg 402>; 102206d082eSGeert Uytterhoeven status = "disabled"; 103206d082eSGeert Uytterhoeven }; 104206d082eSGeert Uytterhoeven 10541f4345aSSergei Shtylyov cpg: clock-controller@e6150000 { 10641f4345aSSergei Shtylyov compatible = "renesas,r8a77970-cpg-mssr"; 10741f4345aSSergei Shtylyov reg = <0 0xe6150000 0 0x1000>; 10841f4345aSSergei Shtylyov clocks = <&extal_clk>, <&extalr_clk>; 10941f4345aSSergei Shtylyov clock-names = "extal", "extalr"; 11041f4345aSSergei Shtylyov #clock-cells = <2>; 11141f4345aSSergei Shtylyov #power-domain-cells = <0>; 11241f4345aSSergei Shtylyov #reset-cells = <1>; 11341f4345aSSergei Shtylyov }; 11441f4345aSSergei Shtylyov 11541f4345aSSergei Shtylyov rst: reset-controller@e6160000 { 11641f4345aSSergei Shtylyov compatible = "renesas,r8a77970-rst"; 11741f4345aSSergei Shtylyov reg = <0 0xe6160000 0 0x200>; 11841f4345aSSergei Shtylyov }; 11941f4345aSSergei Shtylyov 12041f4345aSSergei Shtylyov sysc: system-controller@e6180000 { 12141f4345aSSergei Shtylyov compatible = "renesas,r8a77970-sysc"; 12241f4345aSSergei Shtylyov reg = <0 0xe6180000 0 0x440>; 12341f4345aSSergei Shtylyov #power-domain-cells = <1>; 12441f4345aSSergei Shtylyov }; 12541f4345aSSergei Shtylyov 126ce3b52a1SSimon Horman ipmmu_vi0: mmu@febd0000 { 127ce3b52a1SSimon Horman compatible = "renesas,ipmmu-r8a77970"; 128ce3b52a1SSimon Horman reg = <0 0xfebd0000 0 0x1000>; 129ce3b52a1SSimon Horman renesas,ipmmu-main = <&ipmmu_mm 9>; 130ce3b52a1SSimon Horman power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 131ce3b52a1SSimon Horman #iommu-cells = <1>; 132ce3b52a1SSimon Horman status = "disabled"; 133ce3b52a1SSimon Horman }; 134ce3b52a1SSimon Horman 135ce3b52a1SSimon Horman ipmmu_ir: mmu@ff8b0000 { 136ce3b52a1SSimon Horman compatible = "renesas,ipmmu-r8a77970"; 137ce3b52a1SSimon Horman reg = <0 0xff8b0000 0 0x1000>; 138ce3b52a1SSimon Horman renesas,ipmmu-main = <&ipmmu_mm 3>; 139ce3b52a1SSimon Horman power-domains = <&sysc R8A77970_PD_A3IR>; 140ce3b52a1SSimon Horman #iommu-cells = <1>; 141ce3b52a1SSimon Horman status = "disabled"; 142ce3b52a1SSimon Horman }; 143ce3b52a1SSimon Horman 144ce3b52a1SSimon Horman ipmmu_rt: mmu@ffc80000 { 145ce3b52a1SSimon Horman compatible = "renesas,ipmmu-r8a77970"; 146ce3b52a1SSimon Horman reg = <0 0xffc80000 0 0x1000>; 147ce3b52a1SSimon Horman renesas,ipmmu-main = <&ipmmu_mm 7>; 148ce3b52a1SSimon Horman power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 149ce3b52a1SSimon Horman #iommu-cells = <1>; 150ce3b52a1SSimon Horman }; 151ce3b52a1SSimon Horman 152ce3b52a1SSimon Horman ipmmu_ds1: mmu@e7740000 { 153ce3b52a1SSimon Horman compatible = "renesas,ipmmu-r8a77970"; 154ce3b52a1SSimon Horman reg = <0 0xe7740000 0 0x1000>; 155ce3b52a1SSimon Horman renesas,ipmmu-main = <&ipmmu_mm 1>; 156ce3b52a1SSimon Horman power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 157ce3b52a1SSimon Horman #iommu-cells = <1>; 158ce3b52a1SSimon Horman }; 159ce3b52a1SSimon Horman 160ce3b52a1SSimon Horman ipmmu_mm: mmu@e67b0000 { 161ce3b52a1SSimon Horman compatible = "renesas,ipmmu-r8a77970"; 162ce3b52a1SSimon Horman reg = <0 0xe67b0000 0 0x1000>; 163ce3b52a1SSimon Horman interrupts = <GIC_SPI 196 IRQ_TYPE_LEVEL_HIGH>, 164ce3b52a1SSimon Horman <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH>; 165ce3b52a1SSimon Horman power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 166ce3b52a1SSimon Horman #iommu-cells = <1>; 167ce3b52a1SSimon Horman }; 168ce3b52a1SSimon Horman 169c6a7fd98SGeert Uytterhoeven intc_ex: interrupt-controller@e61c0000 { 170c6a7fd98SGeert Uytterhoeven compatible = "renesas,intc-ex-r8a77970", "renesas,irqc"; 171c6a7fd98SGeert Uytterhoeven #interrupt-cells = <2>; 172c6a7fd98SGeert Uytterhoeven interrupt-controller; 173c6a7fd98SGeert Uytterhoeven reg = <0 0xe61c0000 0 0x200>; 174c6a7fd98SGeert Uytterhoeven interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH 175c6a7fd98SGeert Uytterhoeven GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH 176c6a7fd98SGeert Uytterhoeven GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH 177c6a7fd98SGeert Uytterhoeven GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH 178c6a7fd98SGeert Uytterhoeven GIC_SPI 18 IRQ_TYPE_LEVEL_HIGH 179c6a7fd98SGeert Uytterhoeven GIC_SPI 161 IRQ_TYPE_LEVEL_HIGH>; 180c6a7fd98SGeert Uytterhoeven clocks = <&cpg CPG_MOD 407>; 1818aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 182c6a7fd98SGeert Uytterhoeven resets = <&cpg 407>; 183c6a7fd98SGeert Uytterhoeven }; 184c6a7fd98SGeert Uytterhoeven 18541f4345aSSergei Shtylyov prr: chipid@fff00044 { 18641f4345aSSergei Shtylyov compatible = "renesas,prr"; 18741f4345aSSergei Shtylyov reg = <0 0xfff00044 0 4>; 18841f4345aSSergei Shtylyov }; 189bd746e70SSergei Shtylyov 190bd746e70SSergei Shtylyov dmac1: dma-controller@e7300000 { 191bd746e70SSergei Shtylyov compatible = "renesas,dmac-r8a77970", 192bd746e70SSergei Shtylyov "renesas,rcar-dmac"; 193bd746e70SSergei Shtylyov reg = <0 0xe7300000 0 0x10000>; 194bd746e70SSergei Shtylyov interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 195bd746e70SSergei Shtylyov GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 196bd746e70SSergei Shtylyov GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH 197bd746e70SSergei Shtylyov GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 198bd746e70SSergei Shtylyov GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 199bd746e70SSergei Shtylyov GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 200bd746e70SSergei Shtylyov GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 201bd746e70SSergei Shtylyov GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH 202bd746e70SSergei Shtylyov GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH>; 203bd746e70SSergei Shtylyov interrupt-names = "error", 204bd746e70SSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 205bd746e70SSergei Shtylyov "ch4", "ch5", "ch6", "ch7"; 206bd746e70SSergei Shtylyov clocks = <&cpg CPG_MOD 218>; 207bd746e70SSergei Shtylyov clock-names = "fck"; 2088aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 209bd746e70SSergei Shtylyov resets = <&cpg 218>; 210bd746e70SSergei Shtylyov #dma-cells = <1>; 211bd746e70SSergei Shtylyov dma-channels = <8>; 2120071fcd1SSimon Horman iommus = <&ipmmu_ds1 0>, <&ipmmu_ds1 1>, 2130071fcd1SSimon Horman <&ipmmu_ds1 2>, <&ipmmu_ds1 3>, 2140071fcd1SSimon Horman <&ipmmu_ds1 4>, <&ipmmu_ds1 5>, 2150071fcd1SSimon Horman <&ipmmu_ds1 6>, <&ipmmu_ds1 7>; 216bd746e70SSergei Shtylyov }; 217bd746e70SSergei Shtylyov 218bd746e70SSergei Shtylyov dmac2: dma-controller@e7310000 { 219bd746e70SSergei Shtylyov compatible = "renesas,dmac-r8a77970", 220bd746e70SSergei Shtylyov "renesas,rcar-dmac"; 221bd746e70SSergei Shtylyov reg = <0 0xe7310000 0 0x10000>; 222bd746e70SSergei Shtylyov interrupts = <GIC_SPI 307 IRQ_TYPE_LEVEL_HIGH 223bd746e70SSergei Shtylyov GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 224bd746e70SSergei Shtylyov GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 225bd746e70SSergei Shtylyov GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 226bd746e70SSergei Shtylyov GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 227bd746e70SSergei Shtylyov GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 228bd746e70SSergei Shtylyov GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 229bd746e70SSergei Shtylyov GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 230bd746e70SSergei Shtylyov GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>; 231bd746e70SSergei Shtylyov interrupt-names = "error", 232bd746e70SSergei Shtylyov "ch0", "ch1", "ch2", "ch3", 233bd746e70SSergei Shtylyov "ch4", "ch5", "ch6", "ch7"; 234bd746e70SSergei Shtylyov clocks = <&cpg CPG_MOD 217>; 235bd746e70SSergei Shtylyov clock-names = "fck"; 2368aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 237bd746e70SSergei Shtylyov resets = <&cpg 217>; 238bd746e70SSergei Shtylyov #dma-cells = <1>; 239bd746e70SSergei Shtylyov dma-channels = <8>; 2400071fcd1SSimon Horman iommus = <&ipmmu_ds1 16>, <&ipmmu_ds1 17>, 2410071fcd1SSimon Horman <&ipmmu_ds1 18>, <&ipmmu_ds1 19>, 2420071fcd1SSimon Horman <&ipmmu_ds1 20>, <&ipmmu_ds1 21>, 2430071fcd1SSimon Horman <&ipmmu_ds1 22>, <&ipmmu_ds1 23>; 244bd746e70SSergei Shtylyov }; 24538dbb6fcSSergei Shtylyov 24638dbb6fcSSergei Shtylyov hscif0: serial@e6540000 { 24738dbb6fcSSergei Shtylyov compatible = "renesas,hscif-r8a77970", 24838dbb6fcSSergei Shtylyov "renesas,rcar-gen3-hscif", 24938dbb6fcSSergei Shtylyov "renesas,hscif"; 25038dbb6fcSSergei Shtylyov reg = <0 0xe6540000 0 96>; 25138dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 25238dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 520>, 253e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 25438dbb6fcSSergei Shtylyov <&scif_clk>; 25538dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 25638dbb6fcSSergei Shtylyov dmas = <&dmac1 0x31>, <&dmac1 0x30>, 25738dbb6fcSSergei Shtylyov <&dmac2 0x31>, <&dmac2 0x30>; 25838dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2598aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 26038dbb6fcSSergei Shtylyov resets = <&cpg 520>; 26138dbb6fcSSergei Shtylyov status = "disabled"; 26238dbb6fcSSergei Shtylyov }; 26338dbb6fcSSergei Shtylyov 26438dbb6fcSSergei Shtylyov hscif1: serial@e6550000 { 26538dbb6fcSSergei Shtylyov compatible = "renesas,hscif-r8a77970", 26638dbb6fcSSergei Shtylyov "renesas,rcar-gen3-hscif", 26738dbb6fcSSergei Shtylyov "renesas,hscif"; 26838dbb6fcSSergei Shtylyov reg = <0 0xe6550000 0 96>; 26938dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 27038dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 519>, 271e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 27238dbb6fcSSergei Shtylyov <&scif_clk>; 27338dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 27438dbb6fcSSergei Shtylyov dmas = <&dmac1 0x33>, <&dmac1 0x32>, 27538dbb6fcSSergei Shtylyov <&dmac2 0x33>, <&dmac2 0x32>; 27638dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2778aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 27838dbb6fcSSergei Shtylyov resets = <&cpg 519>; 27938dbb6fcSSergei Shtylyov status = "disabled"; 28038dbb6fcSSergei Shtylyov }; 28138dbb6fcSSergei Shtylyov 28238dbb6fcSSergei Shtylyov hscif2: serial@e6560000 { 28338dbb6fcSSergei Shtylyov compatible = "renesas,hscif-r8a77970", 28438dbb6fcSSergei Shtylyov "renesas,rcar-gen3-hscif", 28538dbb6fcSSergei Shtylyov "renesas,hscif"; 28638dbb6fcSSergei Shtylyov reg = <0 0xe6560000 0 96>; 28738dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 28838dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 518>, 289e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 29038dbb6fcSSergei Shtylyov <&scif_clk>; 29138dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 29238dbb6fcSSergei Shtylyov dmas = <&dmac1 0x35>, <&dmac1 0x34>, 29338dbb6fcSSergei Shtylyov <&dmac2 0x35>, <&dmac2 0x34>; 29438dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 2958aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 29638dbb6fcSSergei Shtylyov resets = <&cpg 518>; 29738dbb6fcSSergei Shtylyov status = "disabled"; 29838dbb6fcSSergei Shtylyov }; 29938dbb6fcSSergei Shtylyov 30038dbb6fcSSergei Shtylyov hscif3: serial@e66a0000 { 30138dbb6fcSSergei Shtylyov compatible = "renesas,hscif-r8a77970", 30238dbb6fcSSergei Shtylyov "renesas,rcar-gen3-hscif", "renesas,hscif"; 30338dbb6fcSSergei Shtylyov reg = <0 0xe66a0000 0 96>; 30438dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; 30538dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 517>, 306e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 30738dbb6fcSSergei Shtylyov <&scif_clk>; 30838dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 30938dbb6fcSSergei Shtylyov dmas = <&dmac1 0x37>, <&dmac1 0x36>, 31038dbb6fcSSergei Shtylyov <&dmac2 0x37>, <&dmac2 0x36>; 31138dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3128aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 31338dbb6fcSSergei Shtylyov resets = <&cpg 517>; 31438dbb6fcSSergei Shtylyov status = "disabled"; 31538dbb6fcSSergei Shtylyov }; 31638dbb6fcSSergei Shtylyov 31738dbb6fcSSergei Shtylyov scif0: serial@e6e60000 { 31838dbb6fcSSergei Shtylyov compatible = "renesas,scif-r8a77970", 31938dbb6fcSSergei Shtylyov "renesas,rcar-gen3-scif", 32038dbb6fcSSergei Shtylyov "renesas,scif"; 32138dbb6fcSSergei Shtylyov reg = <0 0xe6e60000 0 64>; 32238dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 32338dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 207>, 324e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 32538dbb6fcSSergei Shtylyov <&scif_clk>; 32638dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 32738dbb6fcSSergei Shtylyov dmas = <&dmac1 0x51>, <&dmac1 0x50>, 32838dbb6fcSSergei Shtylyov <&dmac2 0x51>, <&dmac2 0x50>; 32938dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3308aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 33138dbb6fcSSergei Shtylyov resets = <&cpg 207>; 33238dbb6fcSSergei Shtylyov status = "disabled"; 33338dbb6fcSSergei Shtylyov }; 33438dbb6fcSSergei Shtylyov 33538dbb6fcSSergei Shtylyov scif1: serial@e6e68000 { 33638dbb6fcSSergei Shtylyov compatible = "renesas,scif-r8a77970", 33738dbb6fcSSergei Shtylyov "renesas,rcar-gen3-scif", 33838dbb6fcSSergei Shtylyov "renesas,scif"; 33938dbb6fcSSergei Shtylyov reg = <0 0xe6e68000 0 64>; 34038dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 34138dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 206>, 342e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 34338dbb6fcSSergei Shtylyov <&scif_clk>; 34438dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 34538dbb6fcSSergei Shtylyov dmas = <&dmac1 0x53>, <&dmac1 0x52>, 34638dbb6fcSSergei Shtylyov <&dmac2 0x53>, <&dmac2 0x52>; 34738dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3488aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 34938dbb6fcSSergei Shtylyov resets = <&cpg 206>; 35038dbb6fcSSergei Shtylyov status = "disabled"; 35138dbb6fcSSergei Shtylyov }; 35238dbb6fcSSergei Shtylyov 35338dbb6fcSSergei Shtylyov scif3: serial@e6c50000 { 35438dbb6fcSSergei Shtylyov compatible = "renesas,scif-r8a77970", 35538dbb6fcSSergei Shtylyov "renesas,rcar-gen3-scif", 35638dbb6fcSSergei Shtylyov "renesas,scif"; 35738dbb6fcSSergei Shtylyov reg = <0 0xe6c50000 0 64>; 35838dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 35938dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 204>, 360e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 36138dbb6fcSSergei Shtylyov <&scif_clk>; 36238dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 36338dbb6fcSSergei Shtylyov dmas = <&dmac1 0x57>, <&dmac1 0x56>, 36438dbb6fcSSergei Shtylyov <&dmac2 0x57>, <&dmac2 0x56>; 36538dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3668aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 36738dbb6fcSSergei Shtylyov resets = <&cpg 204>; 36838dbb6fcSSergei Shtylyov status = "disabled"; 36938dbb6fcSSergei Shtylyov }; 37038dbb6fcSSergei Shtylyov 37138dbb6fcSSergei Shtylyov scif4: serial@e6c40000 { 37238dbb6fcSSergei Shtylyov compatible = "renesas,scif-r8a77970", 37338dbb6fcSSergei Shtylyov "renesas,rcar-gen3-scif", "renesas,scif"; 37438dbb6fcSSergei Shtylyov reg = <0 0xe6c40000 0 64>; 37538dbb6fcSSergei Shtylyov interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 37638dbb6fcSSergei Shtylyov clocks = <&cpg CPG_MOD 203>, 377e221dab0SSergei Shtylyov <&cpg CPG_CORE R8A77970_CLK_S2D1>, 37838dbb6fcSSergei Shtylyov <&scif_clk>; 37938dbb6fcSSergei Shtylyov clock-names = "fck", "brg_int", "scif_clk"; 38038dbb6fcSSergei Shtylyov dmas = <&dmac1 0x59>, <&dmac1 0x58>, 38138dbb6fcSSergei Shtylyov <&dmac2 0x59>, <&dmac2 0x58>; 38238dbb6fcSSergei Shtylyov dma-names = "tx", "rx", "tx", "rx"; 3838aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 38438dbb6fcSSergei Shtylyov resets = <&cpg 203>; 38538dbb6fcSSergei Shtylyov status = "disabled"; 38638dbb6fcSSergei Shtylyov }; 387bea2ab13SSergei Shtylyov 388bea2ab13SSergei Shtylyov avb: ethernet@e6800000 { 389bea2ab13SSergei Shtylyov compatible = "renesas,etheravb-r8a77970", 390bea2ab13SSergei Shtylyov "renesas,etheravb-rcar-gen3"; 391bea2ab13SSergei Shtylyov reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; 392bea2ab13SSergei Shtylyov interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 393bea2ab13SSergei Shtylyov <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 394bea2ab13SSergei Shtylyov <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 395bea2ab13SSergei Shtylyov <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 396bea2ab13SSergei Shtylyov <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 397bea2ab13SSergei Shtylyov <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 398bea2ab13SSergei Shtylyov <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, 399bea2ab13SSergei Shtylyov <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, 400bea2ab13SSergei Shtylyov <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, 401bea2ab13SSergei Shtylyov <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, 402bea2ab13SSergei Shtylyov <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 403bea2ab13SSergei Shtylyov <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, 404bea2ab13SSergei Shtylyov <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, 405bea2ab13SSergei Shtylyov <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, 406bea2ab13SSergei Shtylyov <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 407bea2ab13SSergei Shtylyov <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, 408bea2ab13SSergei Shtylyov <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, 409bea2ab13SSergei Shtylyov <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, 410bea2ab13SSergei Shtylyov <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, 411bea2ab13SSergei Shtylyov <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, 412bea2ab13SSergei Shtylyov <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, 413bea2ab13SSergei Shtylyov <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, 414bea2ab13SSergei Shtylyov <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, 415bea2ab13SSergei Shtylyov <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, 416bea2ab13SSergei Shtylyov <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; 417bea2ab13SSergei Shtylyov interrupt-names = "ch0", "ch1", "ch2", "ch3", 418bea2ab13SSergei Shtylyov "ch4", "ch5", "ch6", "ch7", 419bea2ab13SSergei Shtylyov "ch8", "ch9", "ch10", "ch11", 420bea2ab13SSergei Shtylyov "ch12", "ch13", "ch14", "ch15", 421bea2ab13SSergei Shtylyov "ch16", "ch17", "ch18", "ch19", 422bea2ab13SSergei Shtylyov "ch20", "ch21", "ch22", "ch23", 423bea2ab13SSergei Shtylyov "ch24"; 424bea2ab13SSergei Shtylyov clocks = <&cpg CPG_MOD 812>; 4258aba250dSSergei Shtylyov power-domains = <&sysc R8A77970_PD_ALWAYS_ON>; 426bea2ab13SSergei Shtylyov resets = <&cpg 812>; 427bea2ab13SSergei Shtylyov phy-mode = "rgmii-id"; 4280639be57SSimon Horman iommus = <&ipmmu_rt 3>; 429bea2ab13SSergei Shtylyov #address-cells = <1>; 430bea2ab13SSergei Shtylyov #size-cells = <0>; 431bea2ab13SSergei Shtylyov }; 43241f4345aSSergei Shtylyov }; 433*7569d1eeSSimon Horman 434*7569d1eeSSimon Horman timer { 435*7569d1eeSSimon Horman compatible = "arm,armv8-timer"; 436*7569d1eeSSimon Horman interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 437*7569d1eeSSimon Horman <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 438*7569d1eeSSimon Horman <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 439*7569d1eeSSimon Horman <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; 440*7569d1eeSSimon Horman }; 44141f4345aSSergei Shtylyov}; 442