1*f126890aSEmmanuel Vadot// SPDX-License-Identifier: GPL-2.0 2*f126890aSEmmanuel Vadot/* 3*f126890aSEmmanuel Vadot * Device Tree Source for the R7S9210 SoC 4*f126890aSEmmanuel Vadot * 5*f126890aSEmmanuel Vadot * Copyright (C) 2018 Renesas Electronics Corporation 6*f126890aSEmmanuel Vadot * 7*f126890aSEmmanuel Vadot */ 8*f126890aSEmmanuel Vadot 9*f126890aSEmmanuel Vadot#include <dt-bindings/interrupt-controller/arm-gic.h> 10*f126890aSEmmanuel Vadot#include <dt-bindings/clock/r7s9210-cpg-mssr.h> 11*f126890aSEmmanuel Vadot 12*f126890aSEmmanuel Vadot/ { 13*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210"; 14*f126890aSEmmanuel Vadot interrupt-parent = <&gic>; 15*f126890aSEmmanuel Vadot #address-cells = <1>; 16*f126890aSEmmanuel Vadot #size-cells = <1>; 17*f126890aSEmmanuel Vadot 18*f126890aSEmmanuel Vadot /* External clocks */ 19*f126890aSEmmanuel Vadot extal_clk: extal { 20*f126890aSEmmanuel Vadot #clock-cells = <0>; 21*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 22*f126890aSEmmanuel Vadot /* Value must be set by board */ 23*f126890aSEmmanuel Vadot clock-frequency = <0>; 24*f126890aSEmmanuel Vadot }; 25*f126890aSEmmanuel Vadot 26*f126890aSEmmanuel Vadot rtc_x1_clk: rtc_x1 { 27*f126890aSEmmanuel Vadot #clock-cells = <0>; 28*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 29*f126890aSEmmanuel Vadot /* If clk present, value (32678) must be set by board */ 30*f126890aSEmmanuel Vadot clock-frequency = <0>; 31*f126890aSEmmanuel Vadot }; 32*f126890aSEmmanuel Vadot 33*f126890aSEmmanuel Vadot usb_x1_clk: usb_x1 { 34*f126890aSEmmanuel Vadot #clock-cells = <0>; 35*f126890aSEmmanuel Vadot compatible = "fixed-clock"; 36*f126890aSEmmanuel Vadot /* If clk present, value (48000000) must be set by board */ 37*f126890aSEmmanuel Vadot clock-frequency = <0>; 38*f126890aSEmmanuel Vadot }; 39*f126890aSEmmanuel Vadot 40*f126890aSEmmanuel Vadot cpus { 41*f126890aSEmmanuel Vadot #address-cells = <1>; 42*f126890aSEmmanuel Vadot #size-cells = <0>; 43*f126890aSEmmanuel Vadot 44*f126890aSEmmanuel Vadot cpu@0 { 45*f126890aSEmmanuel Vadot device_type = "cpu"; 46*f126890aSEmmanuel Vadot compatible = "arm,cortex-a9"; 47*f126890aSEmmanuel Vadot reg = <0>; 48*f126890aSEmmanuel Vadot clock-frequency = <528000000>; 49*f126890aSEmmanuel Vadot next-level-cache = <&L2>; 50*f126890aSEmmanuel Vadot }; 51*f126890aSEmmanuel Vadot }; 52*f126890aSEmmanuel Vadot 53*f126890aSEmmanuel Vadot soc { 54*f126890aSEmmanuel Vadot compatible = "simple-bus"; 55*f126890aSEmmanuel Vadot interrupt-parent = <&gic>; 56*f126890aSEmmanuel Vadot 57*f126890aSEmmanuel Vadot #address-cells = <1>; 58*f126890aSEmmanuel Vadot #size-cells = <1>; 59*f126890aSEmmanuel Vadot ranges; 60*f126890aSEmmanuel Vadot 61*f126890aSEmmanuel Vadot L2: cache-controller@1f003000 { 62*f126890aSEmmanuel Vadot compatible = "arm,pl310-cache"; 63*f126890aSEmmanuel Vadot reg = <0x1f003000 0x1000>; 64*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>; 65*f126890aSEmmanuel Vadot arm,early-bresp-disable; 66*f126890aSEmmanuel Vadot arm,full-line-zero-disable; 67*f126890aSEmmanuel Vadot cache-unified; 68*f126890aSEmmanuel Vadot cache-level = <2>; 69*f126890aSEmmanuel Vadot }; 70*f126890aSEmmanuel Vadot 71*f126890aSEmmanuel Vadot scif0: serial@e8007000 { 72*f126890aSEmmanuel Vadot compatible = "renesas,scif-r7s9210"; 73*f126890aSEmmanuel Vadot reg = <0xe8007000 0x18>; 74*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>, 75*f126890aSEmmanuel Vadot <GIC_SPI 266 IRQ_TYPE_LEVEL_HIGH>, 76*f126890aSEmmanuel Vadot <GIC_SPI 267 IRQ_TYPE_LEVEL_HIGH>, 77*f126890aSEmmanuel Vadot <GIC_SPI 265 IRQ_TYPE_LEVEL_HIGH>, 78*f126890aSEmmanuel Vadot <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>, 79*f126890aSEmmanuel Vadot <GIC_SPI 268 IRQ_TYPE_LEVEL_HIGH>; 80*f126890aSEmmanuel Vadot interrupt-names = "eri", "rxi", "txi", 81*f126890aSEmmanuel Vadot "bri", "dri", "tei"; 82*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 47>; 83*f126890aSEmmanuel Vadot clock-names = "fck"; 84*f126890aSEmmanuel Vadot power-domains = <&cpg>; 85*f126890aSEmmanuel Vadot status = "disabled"; 86*f126890aSEmmanuel Vadot }; 87*f126890aSEmmanuel Vadot 88*f126890aSEmmanuel Vadot scif1: serial@e8007800 { 89*f126890aSEmmanuel Vadot compatible = "renesas,scif-r7s9210"; 90*f126890aSEmmanuel Vadot reg = <0xe8007800 0x18>; 91*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>, 92*f126890aSEmmanuel Vadot <GIC_SPI 272 IRQ_TYPE_LEVEL_HIGH>, 93*f126890aSEmmanuel Vadot <GIC_SPI 273 IRQ_TYPE_LEVEL_HIGH>, 94*f126890aSEmmanuel Vadot <GIC_SPI 271 IRQ_TYPE_LEVEL_HIGH>, 95*f126890aSEmmanuel Vadot <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>, 96*f126890aSEmmanuel Vadot <GIC_SPI 274 IRQ_TYPE_LEVEL_HIGH>; 97*f126890aSEmmanuel Vadot interrupt-names = "eri", "rxi", "txi", 98*f126890aSEmmanuel Vadot "bri", "dri", "tei"; 99*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 46>; 100*f126890aSEmmanuel Vadot clock-names = "fck"; 101*f126890aSEmmanuel Vadot power-domains = <&cpg>; 102*f126890aSEmmanuel Vadot status = "disabled"; 103*f126890aSEmmanuel Vadot }; 104*f126890aSEmmanuel Vadot 105*f126890aSEmmanuel Vadot scif2: serial@e8008000 { 106*f126890aSEmmanuel Vadot compatible = "renesas,scif-r7s9210"; 107*f126890aSEmmanuel Vadot reg = <0xe8008000 0x18>; 108*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>, 109*f126890aSEmmanuel Vadot <GIC_SPI 278 IRQ_TYPE_LEVEL_HIGH>, 110*f126890aSEmmanuel Vadot <GIC_SPI 279 IRQ_TYPE_LEVEL_HIGH>, 111*f126890aSEmmanuel Vadot <GIC_SPI 277 IRQ_TYPE_LEVEL_HIGH>, 112*f126890aSEmmanuel Vadot <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>, 113*f126890aSEmmanuel Vadot <GIC_SPI 280 IRQ_TYPE_LEVEL_HIGH>; 114*f126890aSEmmanuel Vadot interrupt-names = "eri", "rxi", "txi", 115*f126890aSEmmanuel Vadot "bri", "dri", "tei"; 116*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 45>; 117*f126890aSEmmanuel Vadot clock-names = "fck"; 118*f126890aSEmmanuel Vadot power-domains = <&cpg>; 119*f126890aSEmmanuel Vadot status = "disabled"; 120*f126890aSEmmanuel Vadot }; 121*f126890aSEmmanuel Vadot 122*f126890aSEmmanuel Vadot scif3: serial@e8008800 { 123*f126890aSEmmanuel Vadot compatible = "renesas,scif-r7s9210"; 124*f126890aSEmmanuel Vadot reg = <0xe8008800 0x18>; 125*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 126*f126890aSEmmanuel Vadot <GIC_SPI 284 IRQ_TYPE_LEVEL_HIGH>, 127*f126890aSEmmanuel Vadot <GIC_SPI 285 IRQ_TYPE_LEVEL_HIGH>, 128*f126890aSEmmanuel Vadot <GIC_SPI 283 IRQ_TYPE_LEVEL_HIGH>, 129*f126890aSEmmanuel Vadot <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>, 130*f126890aSEmmanuel Vadot <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; 131*f126890aSEmmanuel Vadot interrupt-names = "eri", "rxi", "txi", 132*f126890aSEmmanuel Vadot "bri", "dri", "tei"; 133*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 44>; 134*f126890aSEmmanuel Vadot clock-names = "fck"; 135*f126890aSEmmanuel Vadot power-domains = <&cpg>; 136*f126890aSEmmanuel Vadot status = "disabled"; 137*f126890aSEmmanuel Vadot }; 138*f126890aSEmmanuel Vadot 139*f126890aSEmmanuel Vadot scif4: serial@e8009000 { 140*f126890aSEmmanuel Vadot compatible = "renesas,scif-r7s9210"; 141*f126890aSEmmanuel Vadot reg = <0xe8009000 0x18>; 142*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>, 143*f126890aSEmmanuel Vadot <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>, 144*f126890aSEmmanuel Vadot <GIC_SPI 291 IRQ_TYPE_LEVEL_HIGH>, 145*f126890aSEmmanuel Vadot <GIC_SPI 289 IRQ_TYPE_LEVEL_HIGH>, 146*f126890aSEmmanuel Vadot <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>, 147*f126890aSEmmanuel Vadot <GIC_SPI 292 IRQ_TYPE_LEVEL_HIGH>; 148*f126890aSEmmanuel Vadot interrupt-names = "eri", "rxi", "txi", 149*f126890aSEmmanuel Vadot "bri", "dri", "tei"; 150*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 43>; 151*f126890aSEmmanuel Vadot clock-names = "fck"; 152*f126890aSEmmanuel Vadot power-domains = <&cpg>; 153*f126890aSEmmanuel Vadot status = "disabled"; 154*f126890aSEmmanuel Vadot }; 155*f126890aSEmmanuel Vadot 156*f126890aSEmmanuel Vadot spi0: spi@e800c800 { 157*f126890aSEmmanuel Vadot compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz"; 158*f126890aSEmmanuel Vadot reg = <0xe800c800 0x24>; 159*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH>, 160*f126890aSEmmanuel Vadot <GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH>, 161*f126890aSEmmanuel Vadot <GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH>; 162*f126890aSEmmanuel Vadot interrupt-names = "error", "rx", "tx"; 163*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 97>; 164*f126890aSEmmanuel Vadot power-domains = <&cpg>; 165*f126890aSEmmanuel Vadot num-cs = <1>; 166*f126890aSEmmanuel Vadot #address-cells = <1>; 167*f126890aSEmmanuel Vadot #size-cells = <0>; 168*f126890aSEmmanuel Vadot status = "disabled"; 169*f126890aSEmmanuel Vadot }; 170*f126890aSEmmanuel Vadot 171*f126890aSEmmanuel Vadot spi1: spi@e800d000 { 172*f126890aSEmmanuel Vadot compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz"; 173*f126890aSEmmanuel Vadot reg = <0xe800d000 0x24>; 174*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH>, 175*f126890aSEmmanuel Vadot <GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH>, 176*f126890aSEmmanuel Vadot <GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH>; 177*f126890aSEmmanuel Vadot interrupt-names = "error", "rx", "tx"; 178*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 96>; 179*f126890aSEmmanuel Vadot power-domains = <&cpg>; 180*f126890aSEmmanuel Vadot num-cs = <1>; 181*f126890aSEmmanuel Vadot #address-cells = <1>; 182*f126890aSEmmanuel Vadot #size-cells = <0>; 183*f126890aSEmmanuel Vadot status = "disabled"; 184*f126890aSEmmanuel Vadot }; 185*f126890aSEmmanuel Vadot 186*f126890aSEmmanuel Vadot spi2: spi@e800d800 { 187*f126890aSEmmanuel Vadot compatible = "renesas,rspi-r7s9210", "renesas,rspi-rz"; 188*f126890aSEmmanuel Vadot reg = <0xe800d800 0x24>; 189*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>, 190*f126890aSEmmanuel Vadot <GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>, 191*f126890aSEmmanuel Vadot <GIC_SPI 320 IRQ_TYPE_LEVEL_HIGH>; 192*f126890aSEmmanuel Vadot interrupt-names = "error", "rx", "tx"; 193*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 95>; 194*f126890aSEmmanuel Vadot power-domains = <&cpg>; 195*f126890aSEmmanuel Vadot num-cs = <1>; 196*f126890aSEmmanuel Vadot #address-cells = <1>; 197*f126890aSEmmanuel Vadot #size-cells = <0>; 198*f126890aSEmmanuel Vadot status = "disabled"; 199*f126890aSEmmanuel Vadot }; 200*f126890aSEmmanuel Vadot 201*f126890aSEmmanuel Vadot ether0: ethernet@e8204000 { 202*f126890aSEmmanuel Vadot compatible = "renesas,ether-r7s9210"; 203*f126890aSEmmanuel Vadot reg = <0xe8204000 0x200>; 204*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 341 IRQ_TYPE_LEVEL_HIGH>; 205*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 65>; 206*f126890aSEmmanuel Vadot power-domains = <&cpg>; 207*f126890aSEmmanuel Vadot 208*f126890aSEmmanuel Vadot phy-mode = "rmii"; 209*f126890aSEmmanuel Vadot #address-cells = <1>; 210*f126890aSEmmanuel Vadot #size-cells = <0>; 211*f126890aSEmmanuel Vadot status = "disabled"; 212*f126890aSEmmanuel Vadot }; 213*f126890aSEmmanuel Vadot 214*f126890aSEmmanuel Vadot ether1: ethernet@e8204200 { 215*f126890aSEmmanuel Vadot compatible = "renesas,ether-r7s9210"; 216*f126890aSEmmanuel Vadot reg = <0xe8204200 0x200>; 217*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 342 IRQ_TYPE_LEVEL_HIGH>; 218*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 64>; 219*f126890aSEmmanuel Vadot power-domains = <&cpg>; 220*f126890aSEmmanuel Vadot phy-mode = "rmii"; 221*f126890aSEmmanuel Vadot #address-cells = <1>; 222*f126890aSEmmanuel Vadot #size-cells = <0>; 223*f126890aSEmmanuel Vadot status = "disabled"; 224*f126890aSEmmanuel Vadot }; 225*f126890aSEmmanuel Vadot 226*f126890aSEmmanuel Vadot i2c0: i2c@e803a000 { 227*f126890aSEmmanuel Vadot #address-cells = <1>; 228*f126890aSEmmanuel Vadot #size-cells = <0>; 229*f126890aSEmmanuel Vadot compatible = "renesas,riic-r7s9210", "renesas,riic-rz"; 230*f126890aSEmmanuel Vadot reg = <0xe803a000 0x44>; 231*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 232 IRQ_TYPE_LEVEL_HIGH>, 232*f126890aSEmmanuel Vadot <GIC_SPI 233 IRQ_TYPE_EDGE_RISING>, 233*f126890aSEmmanuel Vadot <GIC_SPI 234 IRQ_TYPE_EDGE_RISING>, 234*f126890aSEmmanuel Vadot <GIC_SPI 235 IRQ_TYPE_LEVEL_HIGH>, 235*f126890aSEmmanuel Vadot <GIC_SPI 236 IRQ_TYPE_LEVEL_HIGH>, 236*f126890aSEmmanuel Vadot <GIC_SPI 237 IRQ_TYPE_LEVEL_HIGH>, 237*f126890aSEmmanuel Vadot <GIC_SPI 238 IRQ_TYPE_LEVEL_HIGH>, 238*f126890aSEmmanuel Vadot <GIC_SPI 239 IRQ_TYPE_LEVEL_HIGH>; 239*f126890aSEmmanuel Vadot interrupt-names = "tei", "ri", "ti", "spi", "sti", 240*f126890aSEmmanuel Vadot "naki", "ali", "tmoi"; 241*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 87>; 242*f126890aSEmmanuel Vadot power-domains = <&cpg>; 243*f126890aSEmmanuel Vadot clock-frequency = <100000>; 244*f126890aSEmmanuel Vadot status = "disabled"; 245*f126890aSEmmanuel Vadot }; 246*f126890aSEmmanuel Vadot 247*f126890aSEmmanuel Vadot i2c1: i2c@e803a400 { 248*f126890aSEmmanuel Vadot #address-cells = <1>; 249*f126890aSEmmanuel Vadot #size-cells = <0>; 250*f126890aSEmmanuel Vadot compatible = "renesas,riic-r7s9210", "renesas,riic-rz"; 251*f126890aSEmmanuel Vadot reg = <0xe803a400 0x44>; 252*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 240 IRQ_TYPE_LEVEL_HIGH>, 253*f126890aSEmmanuel Vadot <GIC_SPI 241 IRQ_TYPE_EDGE_RISING>, 254*f126890aSEmmanuel Vadot <GIC_SPI 242 IRQ_TYPE_EDGE_RISING>, 255*f126890aSEmmanuel Vadot <GIC_SPI 243 IRQ_TYPE_LEVEL_HIGH>, 256*f126890aSEmmanuel Vadot <GIC_SPI 244 IRQ_TYPE_LEVEL_HIGH>, 257*f126890aSEmmanuel Vadot <GIC_SPI 245 IRQ_TYPE_LEVEL_HIGH>, 258*f126890aSEmmanuel Vadot <GIC_SPI 246 IRQ_TYPE_LEVEL_HIGH>, 259*f126890aSEmmanuel Vadot <GIC_SPI 247 IRQ_TYPE_LEVEL_HIGH>; 260*f126890aSEmmanuel Vadot interrupt-names = "tei", "ri", "ti", "spi", "sti", 261*f126890aSEmmanuel Vadot "naki", "ali", "tmoi"; 262*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 86>; 263*f126890aSEmmanuel Vadot power-domains = <&cpg>; 264*f126890aSEmmanuel Vadot clock-frequency = <100000>; 265*f126890aSEmmanuel Vadot status = "disabled"; 266*f126890aSEmmanuel Vadot }; 267*f126890aSEmmanuel Vadot 268*f126890aSEmmanuel Vadot i2c2: i2c@e803a800 { 269*f126890aSEmmanuel Vadot #address-cells = <1>; 270*f126890aSEmmanuel Vadot #size-cells = <0>; 271*f126890aSEmmanuel Vadot compatible = "renesas,riic-r7s9210", "renesas,riic-rz"; 272*f126890aSEmmanuel Vadot reg = <0xe803a800 0x44>; 273*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 248 IRQ_TYPE_LEVEL_HIGH>, 274*f126890aSEmmanuel Vadot <GIC_SPI 249 IRQ_TYPE_EDGE_RISING>, 275*f126890aSEmmanuel Vadot <GIC_SPI 250 IRQ_TYPE_EDGE_RISING>, 276*f126890aSEmmanuel Vadot <GIC_SPI 251 IRQ_TYPE_LEVEL_HIGH>, 277*f126890aSEmmanuel Vadot <GIC_SPI 252 IRQ_TYPE_LEVEL_HIGH>, 278*f126890aSEmmanuel Vadot <GIC_SPI 253 IRQ_TYPE_LEVEL_HIGH>, 279*f126890aSEmmanuel Vadot <GIC_SPI 254 IRQ_TYPE_LEVEL_HIGH>, 280*f126890aSEmmanuel Vadot <GIC_SPI 255 IRQ_TYPE_LEVEL_HIGH>; 281*f126890aSEmmanuel Vadot interrupt-names = "tei", "ri", "ti", "spi", "sti", 282*f126890aSEmmanuel Vadot "naki", "ali", "tmoi"; 283*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 85>; 284*f126890aSEmmanuel Vadot power-domains = <&cpg>; 285*f126890aSEmmanuel Vadot clock-frequency = <100000>; 286*f126890aSEmmanuel Vadot status = "disabled"; 287*f126890aSEmmanuel Vadot }; 288*f126890aSEmmanuel Vadot 289*f126890aSEmmanuel Vadot i2c3: i2c@e803ac00 { 290*f126890aSEmmanuel Vadot #address-cells = <1>; 291*f126890aSEmmanuel Vadot #size-cells = <0>; 292*f126890aSEmmanuel Vadot compatible = "renesas,riic-r7s9210", "renesas,riic-rz"; 293*f126890aSEmmanuel Vadot reg = <0xe803ac00 0x44>; 294*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 256 IRQ_TYPE_LEVEL_HIGH>, 295*f126890aSEmmanuel Vadot <GIC_SPI 257 IRQ_TYPE_EDGE_RISING>, 296*f126890aSEmmanuel Vadot <GIC_SPI 258 IRQ_TYPE_EDGE_RISING>, 297*f126890aSEmmanuel Vadot <GIC_SPI 259 IRQ_TYPE_LEVEL_HIGH>, 298*f126890aSEmmanuel Vadot <GIC_SPI 260 IRQ_TYPE_LEVEL_HIGH>, 299*f126890aSEmmanuel Vadot <GIC_SPI 261 IRQ_TYPE_LEVEL_HIGH>, 300*f126890aSEmmanuel Vadot <GIC_SPI 262 IRQ_TYPE_LEVEL_HIGH>, 301*f126890aSEmmanuel Vadot <GIC_SPI 263 IRQ_TYPE_LEVEL_HIGH>; 302*f126890aSEmmanuel Vadot interrupt-names = "tei", "ri", "ti", "spi", "sti", 303*f126890aSEmmanuel Vadot "naki", "ali", "tmoi"; 304*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 84>; 305*f126890aSEmmanuel Vadot power-domains = <&cpg>; 306*f126890aSEmmanuel Vadot clock-frequency = <100000>; 307*f126890aSEmmanuel Vadot status = "disabled"; 308*f126890aSEmmanuel Vadot }; 309*f126890aSEmmanuel Vadot 310*f126890aSEmmanuel Vadot ostm0: timer@e803b000 { 311*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-ostm", "renesas,ostm"; 312*f126890aSEmmanuel Vadot reg = <0xe803b000 0x30>; 313*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 56 IRQ_TYPE_EDGE_RISING>; 314*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 36>; 315*f126890aSEmmanuel Vadot power-domains = <&cpg>; 316*f126890aSEmmanuel Vadot status = "disabled"; 317*f126890aSEmmanuel Vadot }; 318*f126890aSEmmanuel Vadot 319*f126890aSEmmanuel Vadot ostm1: timer@e803c000 { 320*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-ostm", "renesas,ostm"; 321*f126890aSEmmanuel Vadot reg = <0xe803c000 0x30>; 322*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>; 323*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 35>; 324*f126890aSEmmanuel Vadot power-domains = <&cpg>; 325*f126890aSEmmanuel Vadot status = "disabled"; 326*f126890aSEmmanuel Vadot }; 327*f126890aSEmmanuel Vadot 328*f126890aSEmmanuel Vadot ostm2: timer@e803d000 { 329*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-ostm", "renesas,ostm"; 330*f126890aSEmmanuel Vadot reg = <0xe803d000 0x30>; 331*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 58 IRQ_TYPE_EDGE_RISING>; 332*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 34>; 333*f126890aSEmmanuel Vadot power-domains = <&cpg>; 334*f126890aSEmmanuel Vadot status = "disabled"; 335*f126890aSEmmanuel Vadot }; 336*f126890aSEmmanuel Vadot 337*f126890aSEmmanuel Vadot ohci0: usb@e8218000 { 338*f126890aSEmmanuel Vadot compatible = "generic-ohci"; 339*f126890aSEmmanuel Vadot reg = <0xe8218000 0x100>; 340*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 341*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 61>; 342*f126890aSEmmanuel Vadot phys = <&usb2_phy0>; 343*f126890aSEmmanuel Vadot phy-names = "usb"; 344*f126890aSEmmanuel Vadot power-domains = <&cpg>; 345*f126890aSEmmanuel Vadot status = "disabled"; 346*f126890aSEmmanuel Vadot }; 347*f126890aSEmmanuel Vadot 348*f126890aSEmmanuel Vadot ehci0: usb@e8218100 { 349*f126890aSEmmanuel Vadot compatible = "generic-ehci"; 350*f126890aSEmmanuel Vadot reg = <0xe8218100 0x100>; 351*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 352*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 61>; 353*f126890aSEmmanuel Vadot phys = <&usb2_phy0>; 354*f126890aSEmmanuel Vadot phy-names = "usb"; 355*f126890aSEmmanuel Vadot power-domains = <&cpg>; 356*f126890aSEmmanuel Vadot status = "disabled"; 357*f126890aSEmmanuel Vadot }; 358*f126890aSEmmanuel Vadot 359*f126890aSEmmanuel Vadot usb2_phy0: usb-phy@e8218200 { 360*f126890aSEmmanuel Vadot compatible = "renesas,usb2-phy-r7s9210", "renesas,rcar-gen3-usb2-phy"; 361*f126890aSEmmanuel Vadot reg = <0xe8218200 0x700>; 362*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; 363*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 61>, <&usb_x1_clk>; 364*f126890aSEmmanuel Vadot clock-names = "fck", "usb_x1"; 365*f126890aSEmmanuel Vadot power-domains = <&cpg>; 366*f126890aSEmmanuel Vadot #phy-cells = <0>; 367*f126890aSEmmanuel Vadot status = "disabled"; 368*f126890aSEmmanuel Vadot }; 369*f126890aSEmmanuel Vadot 370*f126890aSEmmanuel Vadot usbhs0: usb@e8219000 { 371*f126890aSEmmanuel Vadot compatible = "renesas,usbhs-r7s9210", "renesas,rza2-usbhs"; 372*f126890aSEmmanuel Vadot reg = <0xe8219000 0x724>; 373*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 32 IRQ_TYPE_LEVEL_HIGH>; 374*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 61>; 375*f126890aSEmmanuel Vadot renesas,buswait = <7>; 376*f126890aSEmmanuel Vadot phys = <&usb2_phy0>; 377*f126890aSEmmanuel Vadot phy-names = "usb"; 378*f126890aSEmmanuel Vadot power-domains = <&cpg>; 379*f126890aSEmmanuel Vadot status = "disabled"; 380*f126890aSEmmanuel Vadot }; 381*f126890aSEmmanuel Vadot 382*f126890aSEmmanuel Vadot ohci1: usb@e821a000 { 383*f126890aSEmmanuel Vadot compatible = "generic-ohci"; 384*f126890aSEmmanuel Vadot reg = <0xe821a000 0x100>; 385*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 386*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 60>; 387*f126890aSEmmanuel Vadot phys = <&usb2_phy1>; 388*f126890aSEmmanuel Vadot phy-names = "usb"; 389*f126890aSEmmanuel Vadot power-domains = <&cpg>; 390*f126890aSEmmanuel Vadot status = "disabled"; 391*f126890aSEmmanuel Vadot }; 392*f126890aSEmmanuel Vadot 393*f126890aSEmmanuel Vadot ehci1: usb@e821a100 { 394*f126890aSEmmanuel Vadot compatible = "generic-ehci"; 395*f126890aSEmmanuel Vadot reg = <0xe821a100 0x100>; 396*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 397*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 60>; 398*f126890aSEmmanuel Vadot phys = <&usb2_phy1>; 399*f126890aSEmmanuel Vadot phy-names = "usb"; 400*f126890aSEmmanuel Vadot power-domains = <&cpg>; 401*f126890aSEmmanuel Vadot status = "disabled"; 402*f126890aSEmmanuel Vadot }; 403*f126890aSEmmanuel Vadot 404*f126890aSEmmanuel Vadot usb2_phy1: usb-phy@e821a200 { 405*f126890aSEmmanuel Vadot compatible = "renesas,usb2-phy-r7s9210", "renesas,rcar-gen3-usb2-phy"; 406*f126890aSEmmanuel Vadot reg = <0xe821a200 0x700>; 407*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 36 IRQ_TYPE_LEVEL_HIGH>; 408*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 60>, <&usb_x1_clk>; 409*f126890aSEmmanuel Vadot clock-names = "fck", "usb_x1"; 410*f126890aSEmmanuel Vadot power-domains = <&cpg>; 411*f126890aSEmmanuel Vadot #phy-cells = <0>; 412*f126890aSEmmanuel Vadot status = "disabled"; 413*f126890aSEmmanuel Vadot }; 414*f126890aSEmmanuel Vadot 415*f126890aSEmmanuel Vadot usbhs1: usb@e821b000 { 416*f126890aSEmmanuel Vadot compatible = "renesas,usbhs-r7s9210", "renesas,rza2-usbhs"; 417*f126890aSEmmanuel Vadot reg = <0xe821b000 0x724>; 418*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>; 419*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 60>; 420*f126890aSEmmanuel Vadot renesas,buswait = <7>; 421*f126890aSEmmanuel Vadot phys = <&usb2_phy1>; 422*f126890aSEmmanuel Vadot phy-names = "usb"; 423*f126890aSEmmanuel Vadot power-domains = <&cpg>; 424*f126890aSEmmanuel Vadot status = "disabled"; 425*f126890aSEmmanuel Vadot }; 426*f126890aSEmmanuel Vadot 427*f126890aSEmmanuel Vadot sdhi0: mmc@e8228000 { 428*f126890aSEmmanuel Vadot compatible = "renesas,sdhi-r7s9210"; 429*f126890aSEmmanuel Vadot reg = <0xe8228000 0x8c0>; 430*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 322 IRQ_TYPE_LEVEL_HIGH>; 431*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 103>, <&cpg CPG_MOD 102>; 432*f126890aSEmmanuel Vadot clock-names = "core", "cd"; 433*f126890aSEmmanuel Vadot power-domains = <&cpg>; 434*f126890aSEmmanuel Vadot cap-sd-highspeed; 435*f126890aSEmmanuel Vadot cap-sdio-irq; 436*f126890aSEmmanuel Vadot status = "disabled"; 437*f126890aSEmmanuel Vadot }; 438*f126890aSEmmanuel Vadot 439*f126890aSEmmanuel Vadot sdhi1: mmc@e822a000 { 440*f126890aSEmmanuel Vadot compatible = "renesas,sdhi-r7s9210"; 441*f126890aSEmmanuel Vadot reg = <0xe822a000 0x8c0>; 442*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 324 IRQ_TYPE_LEVEL_HIGH>; 443*f126890aSEmmanuel Vadot clocks = <&cpg CPG_MOD 101>, <&cpg CPG_MOD 100>; 444*f126890aSEmmanuel Vadot clock-names = "core", "cd"; 445*f126890aSEmmanuel Vadot power-domains = <&cpg>; 446*f126890aSEmmanuel Vadot cap-sd-highspeed; 447*f126890aSEmmanuel Vadot cap-sdio-irq; 448*f126890aSEmmanuel Vadot status = "disabled"; 449*f126890aSEmmanuel Vadot }; 450*f126890aSEmmanuel Vadot 451*f126890aSEmmanuel Vadot gic: interrupt-controller@e8221000 { 452*f126890aSEmmanuel Vadot compatible = "arm,gic-400"; 453*f126890aSEmmanuel Vadot #interrupt-cells = <3>; 454*f126890aSEmmanuel Vadot #address-cells = <0>; 455*f126890aSEmmanuel Vadot interrupt-controller; 456*f126890aSEmmanuel Vadot reg = <0xe8221000 0x1000>, 457*f126890aSEmmanuel Vadot <0xe8222000 0x1000>; 458*f126890aSEmmanuel Vadot }; 459*f126890aSEmmanuel Vadot 460*f126890aSEmmanuel Vadot cpg: clock-controller@fcfe0010 { 461*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-cpg-mssr"; 462*f126890aSEmmanuel Vadot reg = <0xfcfe0010 0x455>; 463*f126890aSEmmanuel Vadot clocks = <&extal_clk>; 464*f126890aSEmmanuel Vadot clock-names = "extal"; 465*f126890aSEmmanuel Vadot #clock-cells = <2>; 466*f126890aSEmmanuel Vadot #power-domain-cells = <0>; 467*f126890aSEmmanuel Vadot }; 468*f126890aSEmmanuel Vadot 469*f126890aSEmmanuel Vadot wdt: watchdog@fcfe7000 { 470*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-wdt", "renesas,rza-wdt"; 471*f126890aSEmmanuel Vadot reg = <0xfcfe7000 0x26>; 472*f126890aSEmmanuel Vadot interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>; 473*f126890aSEmmanuel Vadot clocks = <&cpg CPG_CORE R7S9210_CLK_P0>; 474*f126890aSEmmanuel Vadot }; 475*f126890aSEmmanuel Vadot 476*f126890aSEmmanuel Vadot bsid: chipid@fcfe8004 { 477*f126890aSEmmanuel Vadot compatible = "renesas,bsid"; 478*f126890aSEmmanuel Vadot reg = <0xfcfe8004 4>; 479*f126890aSEmmanuel Vadot }; 480*f126890aSEmmanuel Vadot 481*f126890aSEmmanuel Vadot irqc: interrupt-controller@fcfef800 { 482*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-irqc", 483*f126890aSEmmanuel Vadot "renesas,rza1-irqc"; 484*f126890aSEmmanuel Vadot #interrupt-cells = <2>; 485*f126890aSEmmanuel Vadot #address-cells = <0>; 486*f126890aSEmmanuel Vadot interrupt-controller; 487*f126890aSEmmanuel Vadot reg = <0xfcfef800 0x6>; 488*f126890aSEmmanuel Vadot interrupt-map = 489*f126890aSEmmanuel Vadot <0 0 &gic GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>, 490*f126890aSEmmanuel Vadot <1 0 &gic GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>, 491*f126890aSEmmanuel Vadot <2 0 &gic GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>, 492*f126890aSEmmanuel Vadot <3 0 &gic GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>, 493*f126890aSEmmanuel Vadot <4 0 &gic GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>, 494*f126890aSEmmanuel Vadot <5 0 &gic GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>, 495*f126890aSEmmanuel Vadot <6 0 &gic GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>, 496*f126890aSEmmanuel Vadot <7 0 &gic GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 497*f126890aSEmmanuel Vadot interrupt-map-mask = <7 0>; 498*f126890aSEmmanuel Vadot }; 499*f126890aSEmmanuel Vadot 500*f126890aSEmmanuel Vadot pinctrl: pinctrl@fcffe000 { 501*f126890aSEmmanuel Vadot compatible = "renesas,r7s9210-pinctrl"; 502*f126890aSEmmanuel Vadot reg = <0xfcffe000 0x1000>; 503*f126890aSEmmanuel Vadot 504*f126890aSEmmanuel Vadot gpio-controller; 505*f126890aSEmmanuel Vadot #gpio-cells = <2>; 506*f126890aSEmmanuel Vadot gpio-ranges = <&pinctrl 0 0 176>; 507*f126890aSEmmanuel Vadot }; 508*f126890aSEmmanuel Vadot }; 509*f126890aSEmmanuel Vadot}; 510