1e20396d6SClaudiu Beznea// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2e20396d6SClaudiu Beznea/* 3e20396d6SClaudiu Beznea * Device Tree Source for the RZ/G3S SoC 4e20396d6SClaudiu Beznea * 5e20396d6SClaudiu Beznea * Copyright (C) 2023 Renesas Electronics Corp. 6e20396d6SClaudiu Beznea */ 7e20396d6SClaudiu Beznea 8e20396d6SClaudiu Beznea#include <dt-bindings/interrupt-controller/arm-gic.h> 9e20396d6SClaudiu Beznea#include <dt-bindings/clock/r9a08g045-cpg.h> 10e20396d6SClaudiu Beznea 11e20396d6SClaudiu Beznea/ { 12e20396d6SClaudiu Beznea compatible = "renesas,r9a08g045"; 13e20396d6SClaudiu Beznea #address-cells = <2>; 14e20396d6SClaudiu Beznea #size-cells = <2>; 15e20396d6SClaudiu Beznea 16e20396d6SClaudiu Beznea cpus { 17e20396d6SClaudiu Beznea #address-cells = <1>; 18e20396d6SClaudiu Beznea #size-cells = <0>; 19e20396d6SClaudiu Beznea 20e20396d6SClaudiu Beznea cpu0: cpu@0 { 21e20396d6SClaudiu Beznea compatible = "arm,cortex-a55"; 22e20396d6SClaudiu Beznea reg = <0>; 23e20396d6SClaudiu Beznea device_type = "cpu"; 24e20396d6SClaudiu Beznea #cooling-cells = <2>; 25e20396d6SClaudiu Beznea next-level-cache = <&L3_CA55>; 26e20396d6SClaudiu Beznea enable-method = "psci"; 27e20396d6SClaudiu Beznea clocks = <&cpg CPG_CORE R9A08G045_CLK_I>; 28e20396d6SClaudiu Beznea }; 29e20396d6SClaudiu Beznea 30e20396d6SClaudiu Beznea L3_CA55: cache-controller-0 { 31e20396d6SClaudiu Beznea compatible = "cache"; 321d071ea1SClaudiu Beznea cache-level = <3>; 33e20396d6SClaudiu Beznea cache-unified; 34e20396d6SClaudiu Beznea cache-size = <0x40000>; 35e20396d6SClaudiu Beznea }; 36e20396d6SClaudiu Beznea }; 37e20396d6SClaudiu Beznea 38e20396d6SClaudiu Beznea extal_clk: extal-clk { 39e20396d6SClaudiu Beznea compatible = "fixed-clock"; 40e20396d6SClaudiu Beznea #clock-cells = <0>; 41e20396d6SClaudiu Beznea /* This value must be overridden by the board. */ 42e20396d6SClaudiu Beznea clock-frequency = <0>; 43e20396d6SClaudiu Beznea }; 44e20396d6SClaudiu Beznea 45145f33d1SClaudiu Beznea psci { 46145f33d1SClaudiu Beznea compatible = "arm,psci-1.0", "arm,psci-0.2"; 47145f33d1SClaudiu Beznea method = "smc"; 48145f33d1SClaudiu Beznea }; 49145f33d1SClaudiu Beznea 50e20396d6SClaudiu Beznea soc: soc { 51e20396d6SClaudiu Beznea compatible = "simple-bus"; 52e20396d6SClaudiu Beznea interrupt-parent = <&gic>; 53e20396d6SClaudiu Beznea #address-cells = <2>; 54e20396d6SClaudiu Beznea #size-cells = <2>; 55e20396d6SClaudiu Beznea ranges; 56e20396d6SClaudiu Beznea 57e20396d6SClaudiu Beznea scif0: serial@1004b800 { 58e20396d6SClaudiu Beznea compatible = "renesas,scif-r9a08g045", "renesas,scif-r9a07g044"; 59e20396d6SClaudiu Beznea reg = <0 0x1004b800 0 0x400>; 60e20396d6SClaudiu Beznea interrupts = <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>, 61e20396d6SClaudiu Beznea <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>, 62e20396d6SClaudiu Beznea <GIC_SPI 323 IRQ_TYPE_LEVEL_HIGH>, 63e20396d6SClaudiu Beznea <GIC_SPI 321 IRQ_TYPE_LEVEL_HIGH>, 64e20396d6SClaudiu Beznea <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>, 65e20396d6SClaudiu Beznea <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>; 66e20396d6SClaudiu Beznea interrupt-names = "eri", "rxi", "txi", 67e20396d6SClaudiu Beznea "bri", "dri", "tei"; 68e20396d6SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_SCIF0_CLK_PCK>; 69e20396d6SClaudiu Beznea clock-names = "fck"; 70e20396d6SClaudiu Beznea power-domains = <&cpg>; 71e20396d6SClaudiu Beznea resets = <&cpg R9A08G045_SCIF0_RST_SYSTEM_N>; 72e20396d6SClaudiu Beznea status = "disabled"; 73e20396d6SClaudiu Beznea }; 74e20396d6SClaudiu Beznea 75*a502d6e7SClaudiu Beznea i2c0: i2c@10090000 { 76*a502d6e7SClaudiu Beznea compatible = "renesas,riic-r9a08g045", "renesas,riic-r9a09g057"; 77*a502d6e7SClaudiu Beznea reg = <0 0x10090000 0 0x400>; 78*a502d6e7SClaudiu Beznea interrupts = <GIC_SPI 257 IRQ_TYPE_LEVEL_HIGH>, 79*a502d6e7SClaudiu Beznea <GIC_SPI 263 IRQ_TYPE_EDGE_RISING>, 80*a502d6e7SClaudiu Beznea <GIC_SPI 264 IRQ_TYPE_EDGE_RISING>, 81*a502d6e7SClaudiu Beznea <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>, 82*a502d6e7SClaudiu Beznea <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, 83*a502d6e7SClaudiu Beznea <GIC_SPI 258 IRQ_TYPE_LEVEL_HIGH>, 84*a502d6e7SClaudiu Beznea <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, 85*a502d6e7SClaudiu Beznea <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>; 86*a502d6e7SClaudiu Beznea interrupt-names = "tei", "ri", "ti", "spi", "sti", 87*a502d6e7SClaudiu Beznea "naki", "ali", "tmoi"; 88*a502d6e7SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_I2C0_PCLK>; 89*a502d6e7SClaudiu Beznea clock-frequency = <100000>; 90*a502d6e7SClaudiu Beznea resets = <&cpg R9A08G045_I2C0_MRST>; 91*a502d6e7SClaudiu Beznea power-domains = <&cpg>; 92*a502d6e7SClaudiu Beznea #address-cells = <1>; 93*a502d6e7SClaudiu Beznea #size-cells = <0>; 94*a502d6e7SClaudiu Beznea status = "disabled"; 95*a502d6e7SClaudiu Beznea }; 96*a502d6e7SClaudiu Beznea 97*a502d6e7SClaudiu Beznea i2c1: i2c@10090400 { 98*a502d6e7SClaudiu Beznea compatible = "renesas,riic-r9a08g045", "renesas,riic-r9a09g057"; 99*a502d6e7SClaudiu Beznea reg = <0 0x10090400 0 0x400>; 100*a502d6e7SClaudiu Beznea interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>, 101*a502d6e7SClaudiu Beznea <GIC_SPI 271 IRQ_TYPE_EDGE_RISING>, 102*a502d6e7SClaudiu Beznea <GIC_SPI 272 IRQ_TYPE_EDGE_RISING>, 103*a502d6e7SClaudiu Beznea <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, 104*a502d6e7SClaudiu Beznea <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>, 105*a502d6e7SClaudiu Beznea <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, 106*a502d6e7SClaudiu Beznea <GIC_SPI 269 IRQ_TYPE_LEVEL_HIGH>, 107*a502d6e7SClaudiu Beznea <GIC_SPI 270 IRQ_TYPE_LEVEL_HIGH>; 108*a502d6e7SClaudiu Beznea interrupt-names = "tei", "ri", "ti", "spi", "sti", 109*a502d6e7SClaudiu Beznea "naki", "ali", "tmoi"; 110*a502d6e7SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_I2C1_PCLK>; 111*a502d6e7SClaudiu Beznea clock-frequency = <100000>; 112*a502d6e7SClaudiu Beznea resets = <&cpg R9A08G045_I2C1_MRST>; 113*a502d6e7SClaudiu Beznea power-domains = <&cpg>; 114*a502d6e7SClaudiu Beznea #address-cells = <1>; 115*a502d6e7SClaudiu Beznea #size-cells = <0>; 116*a502d6e7SClaudiu Beznea status = "disabled"; 117*a502d6e7SClaudiu Beznea }; 118*a502d6e7SClaudiu Beznea 119*a502d6e7SClaudiu Beznea i2c2: i2c@10090800 { 120*a502d6e7SClaudiu Beznea compatible = "renesas,riic-r9a08g045", "renesas,riic-r9a09g057"; 121*a502d6e7SClaudiu Beznea reg = <0 0x10090800 0 0x400>; 122*a502d6e7SClaudiu Beznea interrupts = <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>, 123*a502d6e7SClaudiu Beznea <GIC_SPI 279 IRQ_TYPE_EDGE_RISING>, 124*a502d6e7SClaudiu Beznea <GIC_SPI 280 IRQ_TYPE_EDGE_RISING>, 125*a502d6e7SClaudiu Beznea <GIC_SPI 275 IRQ_TYPE_LEVEL_HIGH>, 126*a502d6e7SClaudiu Beznea <GIC_SPI 276 IRQ_TYPE_LEVEL_HIGH>, 127*a502d6e7SClaudiu Beznea <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, 128*a502d6e7SClaudiu Beznea <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>, 129*a502d6e7SClaudiu Beznea <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>; 130*a502d6e7SClaudiu Beznea interrupt-names = "tei", "ri", "ti", "spi", "sti", 131*a502d6e7SClaudiu Beznea "naki", "ali", "tmoi"; 132*a502d6e7SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_I2C2_PCLK>; 133*a502d6e7SClaudiu Beznea clock-frequency = <100000>; 134*a502d6e7SClaudiu Beznea resets = <&cpg R9A08G045_I2C2_MRST>; 135*a502d6e7SClaudiu Beznea power-domains = <&cpg>; 136*a502d6e7SClaudiu Beznea #address-cells = <1>; 137*a502d6e7SClaudiu Beznea #size-cells = <0>; 138*a502d6e7SClaudiu Beznea status = "disabled"; 139*a502d6e7SClaudiu Beznea }; 140*a502d6e7SClaudiu Beznea 141*a502d6e7SClaudiu Beznea i2c3: i2c@10090c00 { 142*a502d6e7SClaudiu Beznea compatible = "renesas,riic-r9a08g045", "renesas,riic-r9a09g057"; 143*a502d6e7SClaudiu Beznea reg = <0 0x10090c00 0 0x400>; 144*a502d6e7SClaudiu Beznea interrupts = <GIC_SPI 281 IRQ_TYPE_LEVEL_HIGH>, 145*a502d6e7SClaudiu Beznea <GIC_SPI 287 IRQ_TYPE_EDGE_RISING>, 146*a502d6e7SClaudiu Beznea <GIC_SPI 288 IRQ_TYPE_EDGE_RISING>, 147*a502d6e7SClaudiu Beznea <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 148*a502d6e7SClaudiu Beznea <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 149*a502d6e7SClaudiu Beznea <GIC_SPI 282 IRQ_TYPE_LEVEL_HIGH>, 150*a502d6e7SClaudiu Beznea <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>, 151*a502d6e7SClaudiu Beznea <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; 152*a502d6e7SClaudiu Beznea interrupt-names = "tei", "ri", "ti", "spi", "sti", 153*a502d6e7SClaudiu Beznea "naki", "ali", "tmoi"; 154*a502d6e7SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_I2C3_PCLK>; 155*a502d6e7SClaudiu Beznea clock-frequency = <100000>; 156*a502d6e7SClaudiu Beznea resets = <&cpg R9A08G045_I2C3_MRST>; 157*a502d6e7SClaudiu Beznea power-domains = <&cpg>; 158*a502d6e7SClaudiu Beznea #address-cells = <1>; 159*a502d6e7SClaudiu Beznea #size-cells = <0>; 160*a502d6e7SClaudiu Beznea status = "disabled"; 161*a502d6e7SClaudiu Beznea }; 162*a502d6e7SClaudiu Beznea 163e20396d6SClaudiu Beznea cpg: clock-controller@11010000 { 164e20396d6SClaudiu Beznea compatible = "renesas,r9a08g045-cpg"; 165e20396d6SClaudiu Beznea reg = <0 0x11010000 0 0x10000>; 166e20396d6SClaudiu Beznea clocks = <&extal_clk>; 167e20396d6SClaudiu Beznea clock-names = "extal"; 168e20396d6SClaudiu Beznea #clock-cells = <2>; 169e20396d6SClaudiu Beznea #reset-cells = <1>; 170e20396d6SClaudiu Beznea #power-domain-cells = <0>; 171e20396d6SClaudiu Beznea }; 172e20396d6SClaudiu Beznea 173e20396d6SClaudiu Beznea sysc: system-controller@11020000 { 174e20396d6SClaudiu Beznea compatible = "renesas,r9a08g045-sysc"; 175e20396d6SClaudiu Beznea reg = <0 0x11020000 0 0x10000>; 176e20396d6SClaudiu Beznea interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, 177e20396d6SClaudiu Beznea <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, 178e20396d6SClaudiu Beznea <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, 179e20396d6SClaudiu Beznea <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>; 180e20396d6SClaudiu Beznea interrupt-names = "lpm_int", "ca55stbydone_int", 181e20396d6SClaudiu Beznea "cm33stbyr_int", "ca55_deny"; 182e20396d6SClaudiu Beznea status = "disabled"; 183e20396d6SClaudiu Beznea }; 184e20396d6SClaudiu Beznea 185e20396d6SClaudiu Beznea pinctrl: pinctrl@11030000 { 186e20396d6SClaudiu Beznea compatible = "renesas,r9a08g045-pinctrl"; 187e20396d6SClaudiu Beznea reg = <0 0x11030000 0 0x10000>; 188e20396d6SClaudiu Beznea gpio-controller; 189e20396d6SClaudiu Beznea #gpio-cells = <2>; 190e20396d6SClaudiu Beznea interrupt-controller; 191e20396d6SClaudiu Beznea #interrupt-cells = <2>; 192837918aaSClaudiu Beznea interrupt-parent = <&irqc>; 193e20396d6SClaudiu Beznea gpio-ranges = <&pinctrl 0 0 152>; 194e20396d6SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_GPIO_HCLK>; 195e20396d6SClaudiu Beznea power-domains = <&cpg>; 196e20396d6SClaudiu Beznea resets = <&cpg R9A08G045_GPIO_RSTN>, 197e20396d6SClaudiu Beznea <&cpg R9A08G045_GPIO_PORT_RESETN>, 198e20396d6SClaudiu Beznea <&cpg R9A08G045_GPIO_SPARE_RESETN>; 199e20396d6SClaudiu Beznea }; 200e20396d6SClaudiu Beznea 201837918aaSClaudiu Beznea irqc: interrupt-controller@11050000 { 202837918aaSClaudiu Beznea compatible = "renesas,r9a08g045-irqc", "renesas,rzg2l-irqc"; 203837918aaSClaudiu Beznea #interrupt-cells = <2>; 204837918aaSClaudiu Beznea #address-cells = <0>; 205837918aaSClaudiu Beznea interrupt-controller; 206837918aaSClaudiu Beznea reg = <0 0x11050000 0 0x10000>; 207837918aaSClaudiu Beznea interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, 208837918aaSClaudiu Beznea <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, 209837918aaSClaudiu Beznea <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, 210837918aaSClaudiu Beznea <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, 211837918aaSClaudiu Beznea <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 212837918aaSClaudiu Beznea <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 213837918aaSClaudiu Beznea <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 214837918aaSClaudiu Beznea <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 215837918aaSClaudiu Beznea <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 216837918aaSClaudiu Beznea <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>, 217837918aaSClaudiu Beznea <GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH>, 218837918aaSClaudiu Beznea <GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH>, 219837918aaSClaudiu Beznea <GIC_SPI 432 IRQ_TYPE_LEVEL_HIGH>, 220837918aaSClaudiu Beznea <GIC_SPI 433 IRQ_TYPE_LEVEL_HIGH>, 221837918aaSClaudiu Beznea <GIC_SPI 434 IRQ_TYPE_LEVEL_HIGH>, 222837918aaSClaudiu Beznea <GIC_SPI 435 IRQ_TYPE_LEVEL_HIGH>, 223837918aaSClaudiu Beznea <GIC_SPI 436 IRQ_TYPE_LEVEL_HIGH>, 224837918aaSClaudiu Beznea <GIC_SPI 437 IRQ_TYPE_LEVEL_HIGH>, 225837918aaSClaudiu Beznea <GIC_SPI 438 IRQ_TYPE_LEVEL_HIGH>, 226837918aaSClaudiu Beznea <GIC_SPI 439 IRQ_TYPE_LEVEL_HIGH>, 227837918aaSClaudiu Beznea <GIC_SPI 440 IRQ_TYPE_LEVEL_HIGH>, 228837918aaSClaudiu Beznea <GIC_SPI 441 IRQ_TYPE_LEVEL_HIGH>, 229837918aaSClaudiu Beznea <GIC_SPI 442 IRQ_TYPE_LEVEL_HIGH>, 230837918aaSClaudiu Beznea <GIC_SPI 443 IRQ_TYPE_LEVEL_HIGH>, 231837918aaSClaudiu Beznea <GIC_SPI 444 IRQ_TYPE_LEVEL_HIGH>, 232837918aaSClaudiu Beznea <GIC_SPI 445 IRQ_TYPE_LEVEL_HIGH>, 233837918aaSClaudiu Beznea <GIC_SPI 446 IRQ_TYPE_LEVEL_HIGH>, 234837918aaSClaudiu Beznea <GIC_SPI 447 IRQ_TYPE_LEVEL_HIGH>, 235837918aaSClaudiu Beznea <GIC_SPI 448 IRQ_TYPE_LEVEL_HIGH>, 236837918aaSClaudiu Beznea <GIC_SPI 449 IRQ_TYPE_LEVEL_HIGH>, 237837918aaSClaudiu Beznea <GIC_SPI 450 IRQ_TYPE_LEVEL_HIGH>, 238837918aaSClaudiu Beznea <GIC_SPI 451 IRQ_TYPE_LEVEL_HIGH>, 239837918aaSClaudiu Beznea <GIC_SPI 452 IRQ_TYPE_LEVEL_HIGH>, 240837918aaSClaudiu Beznea <GIC_SPI 453 IRQ_TYPE_LEVEL_HIGH>, 241837918aaSClaudiu Beznea <GIC_SPI 454 IRQ_TYPE_LEVEL_HIGH>, 242837918aaSClaudiu Beznea <GIC_SPI 455 IRQ_TYPE_LEVEL_HIGH>, 243837918aaSClaudiu Beznea <GIC_SPI 456 IRQ_TYPE_LEVEL_HIGH>, 244837918aaSClaudiu Beznea <GIC_SPI 457 IRQ_TYPE_LEVEL_HIGH>, 245837918aaSClaudiu Beznea <GIC_SPI 458 IRQ_TYPE_LEVEL_HIGH>, 246837918aaSClaudiu Beznea <GIC_SPI 459 IRQ_TYPE_LEVEL_HIGH>, 247837918aaSClaudiu Beznea <GIC_SPI 460 IRQ_TYPE_LEVEL_HIGH>, 248bf7e3771SLad Prabhakar <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, 249bf7e3771SLad Prabhakar <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>, 250bf7e3771SLad Prabhakar <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>, 251bf7e3771SLad Prabhakar <GIC_SPI 33 IRQ_TYPE_LEVEL_HIGH>; 252837918aaSClaudiu Beznea interrupt-names = "nmi", 253837918aaSClaudiu Beznea "irq0", "irq1", "irq2", "irq3", 254837918aaSClaudiu Beznea "irq4", "irq5", "irq6", "irq7", 255837918aaSClaudiu Beznea "tint0", "tint1", "tint2", "tint3", 256837918aaSClaudiu Beznea "tint4", "tint5", "tint6", "tint7", 257837918aaSClaudiu Beznea "tint8", "tint9", "tint10", "tint11", 258837918aaSClaudiu Beznea "tint12", "tint13", "tint14", "tint15", 259837918aaSClaudiu Beznea "tint16", "tint17", "tint18", "tint19", 260837918aaSClaudiu Beznea "tint20", "tint21", "tint22", "tint23", 261837918aaSClaudiu Beznea "tint24", "tint25", "tint26", "tint27", 262837918aaSClaudiu Beznea "tint28", "tint29", "tint30", "tint31", 263bf7e3771SLad Prabhakar "bus-err", "ec7tie1-0", "ec7tie2-0", 264bf7e3771SLad Prabhakar "ec7tiovf-0"; 265837918aaSClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_IA55_CLK>, 266837918aaSClaudiu Beznea <&cpg CPG_MOD R9A08G045_IA55_PCLK>; 267837918aaSClaudiu Beznea clock-names = "clk", "pclk"; 268837918aaSClaudiu Beznea power-domains = <&cpg>; 269837918aaSClaudiu Beznea resets = <&cpg R9A08G045_IA55_RESETN>; 270837918aaSClaudiu Beznea }; 271837918aaSClaudiu Beznea 272054a83a1SClaudiu Beznea dmac: dma-controller@11820000 { 273054a83a1SClaudiu Beznea compatible = "renesas,r9a08g045-dmac", 274054a83a1SClaudiu Beznea "renesas,rz-dmac"; 275054a83a1SClaudiu Beznea reg = <0 0x11820000 0 0x10000>, 276054a83a1SClaudiu Beznea <0 0x11830000 0 0x10000>; 277054a83a1SClaudiu Beznea interrupts = <GIC_SPI 111 IRQ_TYPE_EDGE_RISING>, 278054a83a1SClaudiu Beznea <GIC_SPI 112 IRQ_TYPE_EDGE_RISING>, 279054a83a1SClaudiu Beznea <GIC_SPI 113 IRQ_TYPE_EDGE_RISING>, 280054a83a1SClaudiu Beznea <GIC_SPI 114 IRQ_TYPE_EDGE_RISING>, 281054a83a1SClaudiu Beznea <GIC_SPI 115 IRQ_TYPE_EDGE_RISING>, 282054a83a1SClaudiu Beznea <GIC_SPI 116 IRQ_TYPE_EDGE_RISING>, 283054a83a1SClaudiu Beznea <GIC_SPI 117 IRQ_TYPE_EDGE_RISING>, 284054a83a1SClaudiu Beznea <GIC_SPI 118 IRQ_TYPE_EDGE_RISING>, 285054a83a1SClaudiu Beznea <GIC_SPI 119 IRQ_TYPE_EDGE_RISING>, 286054a83a1SClaudiu Beznea <GIC_SPI 120 IRQ_TYPE_EDGE_RISING>, 287054a83a1SClaudiu Beznea <GIC_SPI 121 IRQ_TYPE_EDGE_RISING>, 288054a83a1SClaudiu Beznea <GIC_SPI 122 IRQ_TYPE_EDGE_RISING>, 289054a83a1SClaudiu Beznea <GIC_SPI 123 IRQ_TYPE_EDGE_RISING>, 290054a83a1SClaudiu Beznea <GIC_SPI 124 IRQ_TYPE_EDGE_RISING>, 291054a83a1SClaudiu Beznea <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>, 292054a83a1SClaudiu Beznea <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>, 293054a83a1SClaudiu Beznea <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>; 294054a83a1SClaudiu Beznea interrupt-names = "error", 295054a83a1SClaudiu Beznea "ch0", "ch1", "ch2", "ch3", 296054a83a1SClaudiu Beznea "ch4", "ch5", "ch6", "ch7", 297054a83a1SClaudiu Beznea "ch8", "ch9", "ch10", "ch11", 298054a83a1SClaudiu Beznea "ch12", "ch13", "ch14", "ch15"; 299054a83a1SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_DMAC_ACLK>, 300054a83a1SClaudiu Beznea <&cpg CPG_MOD R9A08G045_DMAC_PCLK>; 301054a83a1SClaudiu Beznea clock-names = "main", "register"; 302054a83a1SClaudiu Beznea power-domains = <&cpg>; 303054a83a1SClaudiu Beznea resets = <&cpg R9A08G045_DMAC_ARESETN>, 304054a83a1SClaudiu Beznea <&cpg R9A08G045_DMAC_RST_ASYNC>; 305054a83a1SClaudiu Beznea reset-names = "arst", "rst_async"; 306054a83a1SClaudiu Beznea #dma-cells = <1>; 307054a83a1SClaudiu Beznea dma-channels = <16>; 308054a83a1SClaudiu Beznea }; 309054a83a1SClaudiu Beznea 310e20396d6SClaudiu Beznea sdhi0: mmc@11c00000 { 311f6e32aa9SLad Prabhakar compatible = "renesas,sdhi-r9a08g045", "renesas,rzg2l-sdhi"; 312e20396d6SClaudiu Beznea reg = <0x0 0x11c00000 0 0x10000>; 313e20396d6SClaudiu Beznea interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, 314e20396d6SClaudiu Beznea <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 315e20396d6SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_SDHI0_IMCLK>, 316e20396d6SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI0_CLK_HS>, 317e20396d6SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI0_IMCLK2>, 318e20396d6SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI0_ACLK>; 319e20396d6SClaudiu Beznea clock-names = "core", "clkh", "cd", "aclk"; 320e20396d6SClaudiu Beznea resets = <&cpg R9A08G045_SDHI0_IXRST>; 321e20396d6SClaudiu Beznea power-domains = <&cpg>; 322e20396d6SClaudiu Beznea status = "disabled"; 323e20396d6SClaudiu Beznea }; 324e20396d6SClaudiu Beznea 3256a355830SClaudiu Beznea sdhi1: mmc@11c10000 { 326f6e32aa9SLad Prabhakar compatible = "renesas,sdhi-r9a08g045", "renesas,rzg2l-sdhi"; 3276a355830SClaudiu Beznea reg = <0x0 0x11c10000 0 0x10000>; 3286a355830SClaudiu Beznea interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>, 3296a355830SClaudiu Beznea <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 3306a355830SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_SDHI1_IMCLK>, 3316a355830SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI1_CLK_HS>, 3326a355830SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI1_IMCLK2>, 3336a355830SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI1_ACLK>; 3346a355830SClaudiu Beznea clock-names = "core", "clkh", "cd", "aclk"; 3356a355830SClaudiu Beznea resets = <&cpg R9A08G045_SDHI1_IXRST>; 3366a355830SClaudiu Beznea power-domains = <&cpg>; 3376a355830SClaudiu Beznea status = "disabled"; 3386a355830SClaudiu Beznea }; 3396a355830SClaudiu Beznea 3406a355830SClaudiu Beznea sdhi2: mmc@11c20000 { 341f6e32aa9SLad Prabhakar compatible = "renesas,sdhi-r9a08g045", "renesas,rzg2l-sdhi"; 3426a355830SClaudiu Beznea reg = <0x0 0x11c20000 0 0x10000>; 3436a355830SClaudiu Beznea interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>, 3446a355830SClaudiu Beznea <GIC_SPI 93 IRQ_TYPE_LEVEL_HIGH>; 3456a355830SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_SDHI2_IMCLK>, 3466a355830SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI2_CLK_HS>, 3476a355830SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI2_IMCLK2>, 3486a355830SClaudiu Beznea <&cpg CPG_MOD R9A08G045_SDHI2_ACLK>; 3496a355830SClaudiu Beznea clock-names = "core", "clkh", "cd", "aclk"; 3506a355830SClaudiu Beznea resets = <&cpg R9A08G045_SDHI2_IXRST>; 3516a355830SClaudiu Beznea power-domains = <&cpg>; 3526a355830SClaudiu Beznea status = "disabled"; 3536a355830SClaudiu Beznea }; 3546a355830SClaudiu Beznea 355aefd220cSClaudiu Beznea eth0: ethernet@11c30000 { 356aefd220cSClaudiu Beznea compatible = "renesas,r9a08g045-gbeth", "renesas,rzg2l-gbeth"; 357aefd220cSClaudiu Beznea reg = <0 0x11c30000 0 0x10000>; 358aefd220cSClaudiu Beznea interrupts = <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, 359aefd220cSClaudiu Beznea <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, 360aefd220cSClaudiu Beznea <GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>; 361aefd220cSClaudiu Beznea interrupt-names = "mux", "fil", "arp_ns"; 362aefd220cSClaudiu Beznea phy-mode = "rgmii"; 363aefd220cSClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_ETH0_CLK_AXI>, 364aefd220cSClaudiu Beznea <&cpg CPG_MOD R9A08G045_ETH0_CLK_CHI>, 365aefd220cSClaudiu Beznea <&cpg CPG_MOD R9A08G045_ETH0_REFCLK>; 366aefd220cSClaudiu Beznea clock-names = "axi", "chi", "refclk"; 367aefd220cSClaudiu Beznea resets = <&cpg R9A08G045_ETH0_RST_HW_N>; 368aefd220cSClaudiu Beznea power-domains = <&cpg>; 369aefd220cSClaudiu Beznea #address-cells = <1>; 370aefd220cSClaudiu Beznea #size-cells = <0>; 371aefd220cSClaudiu Beznea status = "disabled"; 372aefd220cSClaudiu Beznea }; 373aefd220cSClaudiu Beznea 374aefd220cSClaudiu Beznea eth1: ethernet@11c40000 { 375aefd220cSClaudiu Beznea compatible = "renesas,r9a08g045-gbeth", "renesas,rzg2l-gbeth"; 376aefd220cSClaudiu Beznea reg = <0 0x11c40000 0 0x10000>; 377aefd220cSClaudiu Beznea interrupts = <GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>, 378aefd220cSClaudiu Beznea <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 379aefd220cSClaudiu Beznea <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 380aefd220cSClaudiu Beznea interrupt-names = "mux", "fil", "arp_ns"; 381aefd220cSClaudiu Beznea phy-mode = "rgmii"; 382aefd220cSClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_ETH1_CLK_AXI>, 383aefd220cSClaudiu Beznea <&cpg CPG_MOD R9A08G045_ETH1_CLK_CHI>, 384aefd220cSClaudiu Beznea <&cpg CPG_MOD R9A08G045_ETH1_REFCLK>; 385aefd220cSClaudiu Beznea clock-names = "axi", "chi", "refclk"; 386aefd220cSClaudiu Beznea resets = <&cpg R9A08G045_ETH1_RST_HW_N>; 387aefd220cSClaudiu Beznea power-domains = <&cpg>; 388aefd220cSClaudiu Beznea #address-cells = <1>; 389aefd220cSClaudiu Beznea #size-cells = <0>; 390aefd220cSClaudiu Beznea status = "disabled"; 391aefd220cSClaudiu Beznea }; 392aefd220cSClaudiu Beznea 393e20396d6SClaudiu Beznea gic: interrupt-controller@12400000 { 394e20396d6SClaudiu Beznea compatible = "arm,gic-v3"; 395e20396d6SClaudiu Beznea #interrupt-cells = <3>; 396e20396d6SClaudiu Beznea #address-cells = <0>; 397e20396d6SClaudiu Beznea interrupt-controller; 398ec953262SLad Prabhakar reg = <0x0 0x12400000 0 0x20000>, 399ec953262SLad Prabhakar <0x0 0x12440000 0 0x40000>; 400e20396d6SClaudiu Beznea interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; 401e20396d6SClaudiu Beznea }; 402cee7bef6SClaudiu Beznea 403cee7bef6SClaudiu Beznea wdt0: watchdog@12800800 { 404cee7bef6SClaudiu Beznea compatible = "renesas,r9a08g045-wdt", "renesas,rzg2l-wdt"; 405cee7bef6SClaudiu Beznea reg = <0 0x12800800 0 0x400>; 406cee7bef6SClaudiu Beznea clocks = <&cpg CPG_MOD R9A08G045_WDT0_PCLK>, 407cee7bef6SClaudiu Beznea <&cpg CPG_MOD R9A08G045_WDT0_CLK>; 408cee7bef6SClaudiu Beznea clock-names = "pclk", "oscclk"; 409cee7bef6SClaudiu Beznea interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 410cee7bef6SClaudiu Beznea <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>; 411cee7bef6SClaudiu Beznea interrupt-names = "wdt", "perrout"; 412cee7bef6SClaudiu Beznea resets = <&cpg R9A08G045_WDT0_PRESETN>; 413cee7bef6SClaudiu Beznea power-domains = <&cpg>; 414cee7bef6SClaudiu Beznea status = "disabled"; 415cee7bef6SClaudiu Beznea }; 416e20396d6SClaudiu Beznea }; 417e20396d6SClaudiu Beznea 418e20396d6SClaudiu Beznea timer { 419e20396d6SClaudiu Beznea compatible = "arm,armv8-timer"; 420e20396d6SClaudiu Beznea interrupts-extended = <&gic GIC_PPI 13 IRQ_TYPE_LEVEL_LOW>, 421e20396d6SClaudiu Beznea <&gic GIC_PPI 14 IRQ_TYPE_LEVEL_LOW>, 422e20396d6SClaudiu Beznea <&gic GIC_PPI 11 IRQ_TYPE_LEVEL_LOW>, 42310f9badcSGeert Uytterhoeven <&gic GIC_PPI 10 IRQ_TYPE_LEVEL_LOW>, 42410f9badcSGeert Uytterhoeven <&gic GIC_PPI 12 IRQ_TYPE_LEVEL_LOW>; 42510f9badcSGeert Uytterhoeven interrupt-names = "sec-phys", "phys", "virt", "hyp-phys", 42610f9badcSGeert Uytterhoeven "hyp-virt"; 427e20396d6SClaudiu Beznea }; 428e20396d6SClaudiu Beznea}; 429