190493b09SBiju Das// SPDX-License-Identifier: GPL-2.0 290493b09SBiju Das/* 390493b09SBiju Das * Device Tree Source for the r8a774a1 SoC 490493b09SBiju Das * 590493b09SBiju Das * Copyright (C) 2018 Renesas Electronics Corp. 690493b09SBiju Das */ 790493b09SBiju Das 890493b09SBiju Das#include <dt-bindings/interrupt-controller/irq.h> 990493b09SBiju Das#include <dt-bindings/interrupt-controller/arm-gic.h> 1090493b09SBiju Das#include <dt-bindings/clock/renesas-cpg-mssr.h> 1190493b09SBiju Das 1290493b09SBiju Das/ { 1390493b09SBiju Das compatible = "renesas,r8a774a1"; 1490493b09SBiju Das #address-cells = <2>; 1590493b09SBiju Das #size-cells = <2>; 1690493b09SBiju Das 1790493b09SBiju Das /* 1890493b09SBiju Das * The external audio clocks are configured as 0 Hz fixed frequency 1990493b09SBiju Das * clocks by default. 2090493b09SBiju Das * Boards that provide audio clocks should override them. 2190493b09SBiju Das */ 2290493b09SBiju Das audio_clk_a: audio_clk_a { 2390493b09SBiju Das compatible = "fixed-clock"; 2490493b09SBiju Das #clock-cells = <0>; 2590493b09SBiju Das clock-frequency = <0>; 2690493b09SBiju Das }; 2790493b09SBiju Das 2890493b09SBiju Das audio_clk_b: audio_clk_b { 2990493b09SBiju Das compatible = "fixed-clock"; 3090493b09SBiju Das #clock-cells = <0>; 3190493b09SBiju Das clock-frequency = <0>; 3290493b09SBiju Das }; 3390493b09SBiju Das 3490493b09SBiju Das audio_clk_c: audio_clk_c { 3590493b09SBiju Das compatible = "fixed-clock"; 3690493b09SBiju Das #clock-cells = <0>; 3790493b09SBiju Das clock-frequency = <0>; 3890493b09SBiju Das }; 3990493b09SBiju Das 4090493b09SBiju Das /* External CAN clock - to be overridden by boards that provide it */ 4190493b09SBiju Das can_clk: can { 4290493b09SBiju Das compatible = "fixed-clock"; 4390493b09SBiju Das #clock-cells = <0>; 4490493b09SBiju Das clock-frequency = <0>; 4590493b09SBiju Das }; 4690493b09SBiju Das 4790493b09SBiju Das cpus { 4890493b09SBiju Das #address-cells = <1>; 4990493b09SBiju Das #size-cells = <0>; 5090493b09SBiju Das 5190493b09SBiju Das a57_0: cpu@0 { 5290493b09SBiju Das compatible = "arm,cortex-a57", "arm,armv8"; 5390493b09SBiju Das reg = <0x0>; 5490493b09SBiju Das device_type = "cpu"; 5590493b09SBiju Das power-domains = <&sysc 0>; 5690493b09SBiju Das next-level-cache = <&L2_CA57>; 5790493b09SBiju Das enable-method = "psci"; 5890493b09SBiju Das clocks =<&cpg CPG_CORE 0>; 5990493b09SBiju Das }; 6090493b09SBiju Das 6190493b09SBiju Das a57_1: cpu@1 { 6290493b09SBiju Das compatible = "arm,cortex-a57", "arm,armv8"; 6390493b09SBiju Das reg = <0x1>; 6490493b09SBiju Das device_type = "cpu"; 6590493b09SBiju Das power-domains = <&sysc 1>; 6690493b09SBiju Das next-level-cache = <&L2_CA57>; 6790493b09SBiju Das enable-method = "psci"; 6890493b09SBiju Das clocks =<&cpg CPG_CORE 0>; 6990493b09SBiju Das }; 7090493b09SBiju Das 7190493b09SBiju Das L2_CA57: cache-controller-0 { 7290493b09SBiju Das compatible = "cache"; 7390493b09SBiju Das power-domains = <&sysc 12>; 7490493b09SBiju Das cache-unified; 7590493b09SBiju Das cache-level = <2>; 7690493b09SBiju Das }; 7790493b09SBiju Das }; 7890493b09SBiju Das 7990493b09SBiju Das extal_clk: extal { 8090493b09SBiju Das compatible = "fixed-clock"; 8190493b09SBiju Das #clock-cells = <0>; 8290493b09SBiju Das /* This value must be overridden by the board */ 8390493b09SBiju Das clock-frequency = <0>; 8490493b09SBiju Das }; 8590493b09SBiju Das 8690493b09SBiju Das extalr_clk: extalr { 8790493b09SBiju Das compatible = "fixed-clock"; 8890493b09SBiju Das #clock-cells = <0>; 8990493b09SBiju Das /* This value must be overridden by the board */ 9090493b09SBiju Das clock-frequency = <0>; 9190493b09SBiju Das }; 9290493b09SBiju Das 9390493b09SBiju Das /* External PCIe clock - can be overridden by the board */ 9490493b09SBiju Das pcie_bus_clk: pcie_bus { 9590493b09SBiju Das compatible = "fixed-clock"; 9690493b09SBiju Das #clock-cells = <0>; 9790493b09SBiju Das clock-frequency = <0>; 9890493b09SBiju Das }; 9990493b09SBiju Das 10090493b09SBiju Das pmu_a57 { 10190493b09SBiju Das compatible = "arm,cortex-a57-pmu"; 10290493b09SBiju Das interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 10390493b09SBiju Das <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 10490493b09SBiju Das interrupt-affinity = <&a57_0>, <&a57_1>; 10590493b09SBiju Das }; 10690493b09SBiju Das 10790493b09SBiju Das psci { 10890493b09SBiju Das compatible = "arm,psci-1.0", "arm,psci-0.2"; 10990493b09SBiju Das method = "smc"; 11090493b09SBiju Das }; 11190493b09SBiju Das 11290493b09SBiju Das /* External SCIF clock - to be overridden by boards that provide it */ 11390493b09SBiju Das scif_clk: scif { 11490493b09SBiju Das compatible = "fixed-clock"; 11590493b09SBiju Das #clock-cells = <0>; 11690493b09SBiju Das clock-frequency = <0>; 11790493b09SBiju Das }; 11890493b09SBiju Das 11990493b09SBiju Das soc { 12090493b09SBiju Das compatible = "simple-bus"; 12190493b09SBiju Das interrupt-parent = <&gic>; 12290493b09SBiju Das #address-cells = <2>; 12390493b09SBiju Das #size-cells = <2>; 12490493b09SBiju Das ranges; 12590493b09SBiju Das 12690493b09SBiju Das cpg: clock-controller@e6150000 { 12790493b09SBiju Das compatible = "renesas,r8a774a1-cpg-mssr"; 12890493b09SBiju Das reg = <0 0xe6150000 0 0x0bb0>; 12990493b09SBiju Das clocks = <&extal_clk>, <&extalr_clk>; 13090493b09SBiju Das clock-names = "extal", "extalr"; 13190493b09SBiju Das #clock-cells = <2>; 13290493b09SBiju Das #power-domain-cells = <0>; 13390493b09SBiju Das #reset-cells = <1>; 13490493b09SBiju Das }; 13590493b09SBiju Das 13690493b09SBiju Das rst: reset-controller@e6160000 { 13790493b09SBiju Das compatible = "renesas,r8a774a1-rst"; 13890493b09SBiju Das reg = <0 0xe6160000 0 0x018c>; 13990493b09SBiju Das }; 14090493b09SBiju Das 14190493b09SBiju Das sysc: system-controller@e6180000 { 14290493b09SBiju Das compatible = "renesas,r8a774a1-sysc"; 14390493b09SBiju Das reg = <0 0xe6180000 0 0x0400>; 14490493b09SBiju Das #power-domain-cells = <1>; 14590493b09SBiju Das }; 14690493b09SBiju Das 147*3a3933a4SFabrizio Castro hscif0: serial@e6540000 { 148*3a3933a4SFabrizio Castro compatible = "renesas,hscif-r8a774a1", 149*3a3933a4SFabrizio Castro "renesas,rcar-gen3-hscif", 150*3a3933a4SFabrizio Castro "renesas,hscif"; 151*3a3933a4SFabrizio Castro reg = <0 0xe6540000 0 0x60>; 152*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; 153*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 520>, 154*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 155*3a3933a4SFabrizio Castro <&scif_clk>; 156*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 157*3a3933a4SFabrizio Castro dmas = <&dmac1 0x31>, <&dmac1 0x30>, 158*3a3933a4SFabrizio Castro <&dmac2 0x31>, <&dmac2 0x30>; 159*3a3933a4SFabrizio Castro dma-names = "tx", "rx", "tx", "rx"; 160*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 161*3a3933a4SFabrizio Castro resets = <&cpg 520>; 162*3a3933a4SFabrizio Castro status = "disabled"; 163*3a3933a4SFabrizio Castro }; 164*3a3933a4SFabrizio Castro 165*3a3933a4SFabrizio Castro hscif1: serial@e6550000 { 166*3a3933a4SFabrizio Castro compatible = "renesas,hscif-r8a774a1", 167*3a3933a4SFabrizio Castro "renesas,rcar-gen3-hscif", 168*3a3933a4SFabrizio Castro "renesas,hscif"; 169*3a3933a4SFabrizio Castro reg = <0 0xe6550000 0 0x60>; 170*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; 171*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 519>, 172*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 173*3a3933a4SFabrizio Castro <&scif_clk>; 174*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 175*3a3933a4SFabrizio Castro dmas = <&dmac1 0x33>, <&dmac1 0x32>, 176*3a3933a4SFabrizio Castro <&dmac2 0x33>, <&dmac2 0x32>; 177*3a3933a4SFabrizio Castro dma-names = "tx", "rx", "tx", "rx"; 178*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 179*3a3933a4SFabrizio Castro resets = <&cpg 519>; 180*3a3933a4SFabrizio Castro status = "disabled"; 181*3a3933a4SFabrizio Castro }; 182*3a3933a4SFabrizio Castro 183*3a3933a4SFabrizio Castro hscif2: serial@e6560000 { 184*3a3933a4SFabrizio Castro compatible = "renesas,hscif-r8a774a1", 185*3a3933a4SFabrizio Castro "renesas,rcar-gen3-hscif", 186*3a3933a4SFabrizio Castro "renesas,hscif"; 187*3a3933a4SFabrizio Castro reg = <0 0xe6560000 0 0x60>; 188*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; 189*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 518>, 190*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 191*3a3933a4SFabrizio Castro <&scif_clk>; 192*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 193*3a3933a4SFabrizio Castro dmas = <&dmac1 0x35>, <&dmac1 0x34>, 194*3a3933a4SFabrizio Castro <&dmac2 0x35>, <&dmac2 0x34>; 195*3a3933a4SFabrizio Castro dma-names = "tx", "rx", "tx", "rx"; 196*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 197*3a3933a4SFabrizio Castro resets = <&cpg 518>; 198*3a3933a4SFabrizio Castro status = "disabled"; 199*3a3933a4SFabrizio Castro }; 200*3a3933a4SFabrizio Castro 201*3a3933a4SFabrizio Castro hscif3: serial@e66a0000 { 202*3a3933a4SFabrizio Castro compatible = "renesas,hscif-r8a774a1", 203*3a3933a4SFabrizio Castro "renesas,rcar-gen3-hscif", 204*3a3933a4SFabrizio Castro "renesas,hscif"; 205*3a3933a4SFabrizio Castro reg = <0 0xe66a0000 0 0x60>; 206*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; 207*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 517>, 208*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 209*3a3933a4SFabrizio Castro <&scif_clk>; 210*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 211*3a3933a4SFabrizio Castro dmas = <&dmac0 0x37>, <&dmac0 0x36>; 212*3a3933a4SFabrizio Castro dma-names = "tx", "rx"; 213*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 214*3a3933a4SFabrizio Castro resets = <&cpg 517>; 215*3a3933a4SFabrizio Castro status = "disabled"; 216*3a3933a4SFabrizio Castro }; 217*3a3933a4SFabrizio Castro 218*3a3933a4SFabrizio Castro hscif4: serial@e66b0000 { 219*3a3933a4SFabrizio Castro compatible = "renesas,hscif-r8a774a1", 220*3a3933a4SFabrizio Castro "renesas,rcar-gen3-hscif", 221*3a3933a4SFabrizio Castro "renesas,hscif"; 222*3a3933a4SFabrizio Castro reg = <0 0xe66b0000 0 0x60>; 223*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; 224*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 516>, 225*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 226*3a3933a4SFabrizio Castro <&scif_clk>; 227*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 228*3a3933a4SFabrizio Castro dmas = <&dmac0 0x39>, <&dmac0 0x38>; 229*3a3933a4SFabrizio Castro dma-names = "tx", "rx"; 230*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 231*3a3933a4SFabrizio Castro resets = <&cpg 516>; 232*3a3933a4SFabrizio Castro status = "disabled"; 233*3a3933a4SFabrizio Castro }; 234*3a3933a4SFabrizio Castro 23537a61e4dSBiju Das dmac0: dma-controller@e6700000 { 23637a61e4dSBiju Das compatible = "renesas,dmac-r8a774a1", 23737a61e4dSBiju Das "renesas,rcar-dmac"; 23837a61e4dSBiju Das reg = <0 0xe6700000 0 0x10000>; 23937a61e4dSBiju Das interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH 24037a61e4dSBiju Das GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH 24137a61e4dSBiju Das GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH 24237a61e4dSBiju Das GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH 24337a61e4dSBiju Das GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH 24437a61e4dSBiju Das GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH 24537a61e4dSBiju Das GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH 24637a61e4dSBiju Das GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH 24737a61e4dSBiju Das GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH 24837a61e4dSBiju Das GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH 24937a61e4dSBiju Das GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH 25037a61e4dSBiju Das GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH 25137a61e4dSBiju Das GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH 25237a61e4dSBiju Das GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH 25337a61e4dSBiju Das GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH 25437a61e4dSBiju Das GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH 25537a61e4dSBiju Das GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>; 25637a61e4dSBiju Das interrupt-names = "error", 25737a61e4dSBiju Das "ch0", "ch1", "ch2", "ch3", 25837a61e4dSBiju Das "ch4", "ch5", "ch6", "ch7", 25937a61e4dSBiju Das "ch8", "ch9", "ch10", "ch11", 26037a61e4dSBiju Das "ch12", "ch13", "ch14", "ch15"; 26137a61e4dSBiju Das clocks = <&cpg CPG_MOD 219>; 26237a61e4dSBiju Das clock-names = "fck"; 26337a61e4dSBiju Das power-domains = <&sysc 32>; 26437a61e4dSBiju Das resets = <&cpg 219>; 26537a61e4dSBiju Das #dma-cells = <1>; 26637a61e4dSBiju Das dma-channels = <16>; 26737a61e4dSBiju Das }; 26837a61e4dSBiju Das 26937a61e4dSBiju Das dmac1: dma-controller@e7300000 { 27037a61e4dSBiju Das compatible = "renesas,dmac-r8a774a1", 27137a61e4dSBiju Das "renesas,rcar-dmac"; 27237a61e4dSBiju Das reg = <0 0xe7300000 0 0x10000>; 27337a61e4dSBiju Das interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 27437a61e4dSBiju Das GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 27537a61e4dSBiju Das GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH 27637a61e4dSBiju Das GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 27737a61e4dSBiju Das GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 27837a61e4dSBiju Das GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 27937a61e4dSBiju Das GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 28037a61e4dSBiju Das GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH 28137a61e4dSBiju Das GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH 28237a61e4dSBiju Das GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 28337a61e4dSBiju Das GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 28437a61e4dSBiju Das GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 28537a61e4dSBiju Das GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 28637a61e4dSBiju Das GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 28737a61e4dSBiju Das GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 28837a61e4dSBiju Das GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 28937a61e4dSBiju Das GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>; 29037a61e4dSBiju Das interrupt-names = "error", 29137a61e4dSBiju Das "ch0", "ch1", "ch2", "ch3", 29237a61e4dSBiju Das "ch4", "ch5", "ch6", "ch7", 29337a61e4dSBiju Das "ch8", "ch9", "ch10", "ch11", 29437a61e4dSBiju Das "ch12", "ch13", "ch14", "ch15"; 29537a61e4dSBiju Das clocks = <&cpg CPG_MOD 218>; 29637a61e4dSBiju Das clock-names = "fck"; 29737a61e4dSBiju Das power-domains = <&sysc 32>; 29837a61e4dSBiju Das resets = <&cpg 218>; 29937a61e4dSBiju Das #dma-cells = <1>; 30037a61e4dSBiju Das dma-channels = <16>; 30137a61e4dSBiju Das }; 30237a61e4dSBiju Das 30337a61e4dSBiju Das dmac2: dma-controller@e7310000 { 30437a61e4dSBiju Das compatible = "renesas,dmac-r8a774a1", 30537a61e4dSBiju Das "renesas,rcar-dmac"; 30637a61e4dSBiju Das reg = <0 0xe7310000 0 0x10000>; 30737a61e4dSBiju Das interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH 30837a61e4dSBiju Das GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH 30937a61e4dSBiju Das GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH 31037a61e4dSBiju Das GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH 31137a61e4dSBiju Das GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH 31237a61e4dSBiju Das GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH 31337a61e4dSBiju Das GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH 31437a61e4dSBiju Das GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH 31537a61e4dSBiju Das GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH 31637a61e4dSBiju Das GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH 31737a61e4dSBiju Das GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH 31837a61e4dSBiju Das GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH 31937a61e4dSBiju Das GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH 32037a61e4dSBiju Das GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH 32137a61e4dSBiju Das GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH 32237a61e4dSBiju Das GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 32337a61e4dSBiju Das GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>; 32437a61e4dSBiju Das interrupt-names = "error", 32537a61e4dSBiju Das "ch0", "ch1", "ch2", "ch3", 32637a61e4dSBiju Das "ch4", "ch5", "ch6", "ch7", 32737a61e4dSBiju Das "ch8", "ch9", "ch10", "ch11", 32837a61e4dSBiju Das "ch12", "ch13", "ch14", "ch15"; 32937a61e4dSBiju Das clocks = <&cpg CPG_MOD 217>; 33037a61e4dSBiju Das clock-names = "fck"; 33137a61e4dSBiju Das power-domains = <&sysc 32>; 33237a61e4dSBiju Das resets = <&cpg 217>; 33337a61e4dSBiju Das #dma-cells = <1>; 33437a61e4dSBiju Das dma-channels = <16>; 33537a61e4dSBiju Das }; 33637a61e4dSBiju Das 337*3a3933a4SFabrizio Castro scif0: serial@e6e60000 { 338*3a3933a4SFabrizio Castro compatible = "renesas,scif-r8a774a1", 339*3a3933a4SFabrizio Castro "renesas,rcar-gen3-scif", "renesas,scif"; 340*3a3933a4SFabrizio Castro reg = <0 0xe6e60000 0 0x40>; 341*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 342*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 207>, 343*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 344*3a3933a4SFabrizio Castro <&scif_clk>; 345*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 346*3a3933a4SFabrizio Castro dmas = <&dmac1 0x51>, <&dmac1 0x50>, 347*3a3933a4SFabrizio Castro <&dmac2 0x51>, <&dmac2 0x50>; 348*3a3933a4SFabrizio Castro dma-names = "tx", "rx", "tx", "rx"; 349*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 350*3a3933a4SFabrizio Castro resets = <&cpg 207>; 351*3a3933a4SFabrizio Castro status = "disabled"; 352*3a3933a4SFabrizio Castro }; 353*3a3933a4SFabrizio Castro 354*3a3933a4SFabrizio Castro scif1: serial@e6e68000 { 355*3a3933a4SFabrizio Castro compatible = "renesas,scif-r8a774a1", 356*3a3933a4SFabrizio Castro "renesas,rcar-gen3-scif", "renesas,scif"; 357*3a3933a4SFabrizio Castro reg = <0 0xe6e68000 0 0x40>; 358*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 359*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 206>, 360*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 361*3a3933a4SFabrizio Castro <&scif_clk>; 362*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 363*3a3933a4SFabrizio Castro dmas = <&dmac1 0x53>, <&dmac1 0x52>, 364*3a3933a4SFabrizio Castro <&dmac2 0x53>, <&dmac2 0x52>; 365*3a3933a4SFabrizio Castro dma-names = "tx", "rx", "tx", "rx"; 366*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 367*3a3933a4SFabrizio Castro resets = <&cpg 206>; 368*3a3933a4SFabrizio Castro status = "disabled"; 369*3a3933a4SFabrizio Castro }; 370*3a3933a4SFabrizio Castro 371*3a3933a4SFabrizio Castro scif2: serial@e6e88000 { 372*3a3933a4SFabrizio Castro compatible = "renesas,scif-r8a774a1", 373*3a3933a4SFabrizio Castro "renesas,rcar-gen3-scif", "renesas,scif"; 374*3a3933a4SFabrizio Castro reg = <0 0xe6e88000 0 0x40>; 375*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 376*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 310>, 377*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 378*3a3933a4SFabrizio Castro <&scif_clk>; 379*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 380*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 381*3a3933a4SFabrizio Castro resets = <&cpg 310>; 382*3a3933a4SFabrizio Castro status = "disabled"; 383*3a3933a4SFabrizio Castro }; 384*3a3933a4SFabrizio Castro 385*3a3933a4SFabrizio Castro scif3: serial@e6c50000 { 386*3a3933a4SFabrizio Castro compatible = "renesas,scif-r8a774a1", 387*3a3933a4SFabrizio Castro "renesas,rcar-gen3-scif", "renesas,scif"; 388*3a3933a4SFabrizio Castro reg = <0 0xe6c50000 0 0x40>; 389*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 390*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 204>, 391*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 392*3a3933a4SFabrizio Castro <&scif_clk>; 393*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 394*3a3933a4SFabrizio Castro dmas = <&dmac0 0x57>, <&dmac0 0x56>; 395*3a3933a4SFabrizio Castro dma-names = "tx", "rx"; 396*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 397*3a3933a4SFabrizio Castro resets = <&cpg 204>; 398*3a3933a4SFabrizio Castro status = "disabled"; 399*3a3933a4SFabrizio Castro }; 400*3a3933a4SFabrizio Castro 401*3a3933a4SFabrizio Castro scif4: serial@e6c40000 { 402*3a3933a4SFabrizio Castro compatible = "renesas,scif-r8a774a1", 403*3a3933a4SFabrizio Castro "renesas,rcar-gen3-scif", "renesas,scif"; 404*3a3933a4SFabrizio Castro reg = <0 0xe6c40000 0 0x40>; 405*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 406*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 203>, 407*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 408*3a3933a4SFabrizio Castro <&scif_clk>; 409*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 410*3a3933a4SFabrizio Castro dmas = <&dmac0 0x59>, <&dmac0 0x58>; 411*3a3933a4SFabrizio Castro dma-names = "tx", "rx"; 412*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 413*3a3933a4SFabrizio Castro resets = <&cpg 203>; 414*3a3933a4SFabrizio Castro status = "disabled"; 415*3a3933a4SFabrizio Castro }; 416*3a3933a4SFabrizio Castro 417*3a3933a4SFabrizio Castro scif5: serial@e6f30000 { 418*3a3933a4SFabrizio Castro compatible = "renesas,scif-r8a774a1", 419*3a3933a4SFabrizio Castro "renesas,rcar-gen3-scif", "renesas,scif"; 420*3a3933a4SFabrizio Castro reg = <0 0xe6f30000 0 0x40>; 421*3a3933a4SFabrizio Castro interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 422*3a3933a4SFabrizio Castro clocks = <&cpg CPG_MOD 202>, 423*3a3933a4SFabrizio Castro <&cpg CPG_CORE 19>, 424*3a3933a4SFabrizio Castro <&scif_clk>; 425*3a3933a4SFabrizio Castro clock-names = "fck", "brg_int", "scif_clk"; 426*3a3933a4SFabrizio Castro dmas = <&dmac1 0x5b>, <&dmac1 0x5a>, 427*3a3933a4SFabrizio Castro <&dmac2 0x5b>, <&dmac2 0x5a>; 428*3a3933a4SFabrizio Castro dma-names = "tx", "rx", "tx", "rx"; 429*3a3933a4SFabrizio Castro power-domains = <&sysc 32>; 430*3a3933a4SFabrizio Castro resets = <&cpg 202>; 431*3a3933a4SFabrizio Castro status = "disabled"; 432*3a3933a4SFabrizio Castro }; 433*3a3933a4SFabrizio Castro 43490493b09SBiju Das gic: interrupt-controller@f1010000 { 43590493b09SBiju Das compatible = "arm,gic-400"; 43690493b09SBiju Das #interrupt-cells = <3>; 43790493b09SBiju Das #address-cells = <0>; 43890493b09SBiju Das interrupt-controller; 43990493b09SBiju Das reg = <0x0 0xf1010000 0 0x1000>, 44090493b09SBiju Das <0x0 0xf1020000 0 0x20000>, 44190493b09SBiju Das <0x0 0xf1040000 0 0x20000>, 44290493b09SBiju Das <0x0 0xf1060000 0 0x20000>; 44390493b09SBiju Das interrupts = <GIC_PPI 9 44490493b09SBiju Das (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 44590493b09SBiju Das clocks = <&cpg CPG_MOD 408>; 44690493b09SBiju Das clock-names = "clk"; 44790493b09SBiju Das power-domains = <&sysc 32>; 44890493b09SBiju Das resets = <&cpg 408>; 44990493b09SBiju Das }; 45090493b09SBiju Das 45190493b09SBiju Das prr: chipid@fff00044 { 45290493b09SBiju Das compatible = "renesas,prr"; 45390493b09SBiju Das reg = <0 0xfff00044 0 4>; 45490493b09SBiju Das }; 45590493b09SBiju Das }; 45690493b09SBiju Das 45790493b09SBiju Das timer { 45890493b09SBiju Das compatible = "arm,armv8-timer"; 45990493b09SBiju Das interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 46090493b09SBiju Das <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 46190493b09SBiju Das <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 46290493b09SBiju Das <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 46390493b09SBiju Das }; 46490493b09SBiju Das 46590493b09SBiju Das /* External USB clocks - can be overridden by the board */ 46690493b09SBiju Das usb3s0_clk: usb3s0 { 46790493b09SBiju Das compatible = "fixed-clock"; 46890493b09SBiju Das #clock-cells = <0>; 46990493b09SBiju Das clock-frequency = <0>; 47090493b09SBiju Das }; 47190493b09SBiju Das 47290493b09SBiju Das usb_extal_clk: usb_extal { 47390493b09SBiju Das compatible = "fixed-clock"; 47490493b09SBiju Das #clock-cells = <0>; 47590493b09SBiju Das clock-frequency = <0>; 47690493b09SBiju Das }; 47790493b09SBiju Das}; 478