1// SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2/* 3 * Device Tree Source for the RZ/G2UL SoC 4 * 5 * Copyright (C) 2022 Renesas Electronics Corp. 6 */ 7 8#include <dt-bindings/interrupt-controller/arm-gic.h> 9#include <dt-bindings/clock/r9a07g043-cpg.h> 10 11/ { 12 compatible = "renesas,r9a07g043"; 13 #address-cells = <2>; 14 #size-cells = <2>; 15 16 audio_clk1: audio-clk1 { 17 compatible = "fixed-clock"; 18 #clock-cells = <0>; 19 /* This value must be overridden by boards that provide it */ 20 clock-frequency = <0>; 21 }; 22 23 audio_clk2: audio-clk2 { 24 compatible = "fixed-clock"; 25 #clock-cells = <0>; 26 /* This value must be overridden by boards that provide it */ 27 clock-frequency = <0>; 28 }; 29 30 /* External CAN clock - to be overridden by boards that provide it */ 31 can_clk: can-clk { 32 compatible = "fixed-clock"; 33 #clock-cells = <0>; 34 clock-frequency = <0>; 35 }; 36 37 /* clock can be either from exclk or crystal oscillator (XIN/XOUT) */ 38 extal_clk: extal-clk { 39 compatible = "fixed-clock"; 40 #clock-cells = <0>; 41 /* This value must be overridden by the board */ 42 clock-frequency = <0>; 43 }; 44 45 cluster0_opp: opp-table-0 { 46 compatible = "operating-points-v2"; 47 opp-shared; 48 49 opp-125000000 { 50 opp-hz = /bits/ 64 <125000000>; 51 opp-microvolt = <1100000>; 52 clock-latency-ns = <300000>; 53 }; 54 opp-250000000 { 55 opp-hz = /bits/ 64 <250000000>; 56 opp-microvolt = <1100000>; 57 clock-latency-ns = <300000>; 58 }; 59 opp-500000000 { 60 opp-hz = /bits/ 64 <500000000>; 61 opp-microvolt = <1100000>; 62 clock-latency-ns = <300000>; 63 }; 64 opp-1000000000 { 65 opp-hz = /bits/ 64 <1000000000>; 66 opp-microvolt = <1100000>; 67 clock-latency-ns = <300000>; 68 opp-suspend; 69 }; 70 }; 71 72 cpus { 73 #address-cells = <1>; 74 #size-cells = <0>; 75 76 cpu0: cpu@0 { 77 compatible = "arm,cortex-a55"; 78 reg = <0>; 79 device_type = "cpu"; 80 #cooling-cells = <2>; 81 next-level-cache = <&L3_CA55>; 82 enable-method = "psci"; 83 clocks = <&cpg CPG_CORE R9A07G043_CLK_I>; 84 operating-points-v2 = <&cluster0_opp>; 85 }; 86 87 L3_CA55: cache-controller-0 { 88 compatible = "cache"; 89 cache-unified; 90 cache-size = <0x40000>; 91 }; 92 }; 93 94 psci { 95 compatible = "arm,psci-1.0", "arm,psci-0.2"; 96 method = "smc"; 97 }; 98 99 soc: soc { 100 compatible = "simple-bus"; 101 interrupt-parent = <&gic>; 102 #address-cells = <2>; 103 #size-cells = <2>; 104 ranges; 105 106 ssi0: ssi@10049c00 { 107 compatible = "renesas,r9a07g043-ssi", 108 "renesas,rz-ssi"; 109 reg = <0 0x10049c00 0 0x400>; 110 interrupts = <GIC_SPI 326 IRQ_TYPE_LEVEL_HIGH>, 111 <GIC_SPI 327 IRQ_TYPE_EDGE_RISING>, 112 <GIC_SPI 328 IRQ_TYPE_EDGE_RISING>, 113 <GIC_SPI 329 IRQ_TYPE_EDGE_RISING>; 114 interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt"; 115 clocks = <&cpg CPG_MOD R9A07G043_SSI0_PCLK2>, 116 <&cpg CPG_MOD R9A07G043_SSI0_PCLK_SFR>, 117 <&audio_clk1>, <&audio_clk2>; 118 clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2"; 119 resets = <&cpg R9A07G043_SSI0_RST_M2_REG>; 120 dmas = <&dmac 0x2655>, <&dmac 0x2656>; 121 dma-names = "tx", "rx"; 122 power-domains = <&cpg>; 123 #sound-dai-cells = <0>; 124 status = "disabled"; 125 }; 126 127 ssi1: ssi@1004a000 { 128 compatible = "renesas,r9a07g043-ssi", 129 "renesas,rz-ssi"; 130 reg = <0 0x1004a000 0 0x400>; 131 interrupts = <GIC_SPI 330 IRQ_TYPE_LEVEL_HIGH>, 132 <GIC_SPI 331 IRQ_TYPE_EDGE_RISING>, 133 <GIC_SPI 332 IRQ_TYPE_EDGE_RISING>, 134 <GIC_SPI 333 IRQ_TYPE_EDGE_RISING>; 135 interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt"; 136 clocks = <&cpg CPG_MOD R9A07G043_SSI1_PCLK2>, 137 <&cpg CPG_MOD R9A07G043_SSI1_PCLK_SFR>, 138 <&audio_clk1>, <&audio_clk2>; 139 clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2"; 140 resets = <&cpg R9A07G043_SSI1_RST_M2_REG>; 141 dmas = <&dmac 0x2659>, <&dmac 0x265a>; 142 dma-names = "tx", "rx"; 143 power-domains = <&cpg>; 144 #sound-dai-cells = <0>; 145 status = "disabled"; 146 }; 147 148 ssi2: ssi@1004a400 { 149 compatible = "renesas,r9a07g043-ssi", 150 "renesas,rz-ssi"; 151 reg = <0 0x1004a400 0 0x400>; 152 interrupts = <GIC_SPI 334 IRQ_TYPE_LEVEL_HIGH>, 153 <GIC_SPI 335 IRQ_TYPE_EDGE_RISING>, 154 <GIC_SPI 336 IRQ_TYPE_EDGE_RISING>, 155 <GIC_SPI 337 IRQ_TYPE_EDGE_RISING>; 156 interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt"; 157 clocks = <&cpg CPG_MOD R9A07G043_SSI2_PCLK2>, 158 <&cpg CPG_MOD R9A07G043_SSI2_PCLK_SFR>, 159 <&audio_clk1>, <&audio_clk2>; 160 clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2"; 161 resets = <&cpg R9A07G043_SSI2_RST_M2_REG>; 162 dmas = <&dmac 0x265f>; 163 dma-names = "rt"; 164 power-domains = <&cpg>; 165 #sound-dai-cells = <0>; 166 status = "disabled"; 167 }; 168 169 ssi3: ssi@1004a800 { 170 compatible = "renesas,r9a07g043-ssi", 171 "renesas,rz-ssi"; 172 reg = <0 0x1004a800 0 0x400>; 173 interrupts = <GIC_SPI 338 IRQ_TYPE_LEVEL_HIGH>, 174 <GIC_SPI 339 IRQ_TYPE_EDGE_RISING>, 175 <GIC_SPI 340 IRQ_TYPE_EDGE_RISING>, 176 <GIC_SPI 341 IRQ_TYPE_EDGE_RISING>; 177 interrupt-names = "int_req", "dma_rx", "dma_tx", "dma_rt"; 178 clocks = <&cpg CPG_MOD R9A07G043_SSI3_PCLK2>, 179 <&cpg CPG_MOD R9A07G043_SSI3_PCLK_SFR>, 180 <&audio_clk1>, <&audio_clk2>; 181 clock-names = "ssi", "ssi_sfr", "audio_clk1", "audio_clk2"; 182 resets = <&cpg R9A07G043_SSI3_RST_M2_REG>; 183 dmas = <&dmac 0x2661>, <&dmac 0x2662>; 184 dma-names = "tx", "rx"; 185 power-domains = <&cpg>; 186 #sound-dai-cells = <0>; 187 status = "disabled"; 188 }; 189 190 spi0: spi@1004ac00 { 191 compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz"; 192 reg = <0 0x1004ac00 0 0x400>; 193 interrupts = <GIC_SPI 415 IRQ_TYPE_LEVEL_HIGH>, 194 <GIC_SPI 413 IRQ_TYPE_LEVEL_HIGH>, 195 <GIC_SPI 414 IRQ_TYPE_LEVEL_HIGH>; 196 interrupt-names = "error", "rx", "tx"; 197 clocks = <&cpg CPG_MOD R9A07G043_RSPI0_CLKB>; 198 resets = <&cpg R9A07G043_RSPI0_RST>; 199 power-domains = <&cpg>; 200 num-cs = <1>; 201 #address-cells = <1>; 202 #size-cells = <0>; 203 status = "disabled"; 204 }; 205 206 spi1: spi@1004b000 { 207 compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz"; 208 reg = <0 0x1004b000 0 0x400>; 209 interrupts = <GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH>, 210 <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH>, 211 <GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH>; 212 interrupt-names = "error", "rx", "tx"; 213 clocks = <&cpg CPG_MOD R9A07G043_RSPI1_CLKB>; 214 resets = <&cpg R9A07G043_RSPI1_RST>; 215 power-domains = <&cpg>; 216 num-cs = <1>; 217 #address-cells = <1>; 218 #size-cells = <0>; 219 status = "disabled"; 220 }; 221 222 spi2: spi@1004b400 { 223 compatible = "renesas,r9a07g043-rspi", "renesas,rspi-rz"; 224 reg = <0 0x1004b400 0 0x400>; 225 interrupts = <GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH>, 226 <GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH>, 227 <GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH>; 228 interrupt-names = "error", "rx", "tx"; 229 clocks = <&cpg CPG_MOD R9A07G043_RSPI2_CLKB>; 230 resets = <&cpg R9A07G043_RSPI2_RST>; 231 power-domains = <&cpg>; 232 num-cs = <1>; 233 #address-cells = <1>; 234 #size-cells = <0>; 235 status = "disabled"; 236 }; 237 238 scif0: serial@1004b800 { 239 compatible = "renesas,scif-r9a07g043", 240 "renesas,scif-r9a07g044"; 241 reg = <0 0x1004b800 0 0x400>; 242 interrupts = <GIC_SPI 380 IRQ_TYPE_LEVEL_HIGH>, 243 <GIC_SPI 382 IRQ_TYPE_LEVEL_HIGH>, 244 <GIC_SPI 383 IRQ_TYPE_LEVEL_HIGH>, 245 <GIC_SPI 381 IRQ_TYPE_LEVEL_HIGH>, 246 <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>, 247 <GIC_SPI 384 IRQ_TYPE_LEVEL_HIGH>; 248 interrupt-names = "eri", "rxi", "txi", 249 "bri", "dri", "tei"; 250 clocks = <&cpg CPG_MOD R9A07G043_SCIF0_CLK_PCK>; 251 clock-names = "fck"; 252 power-domains = <&cpg>; 253 resets = <&cpg R9A07G043_SCIF0_RST_SYSTEM_N>; 254 status = "disabled"; 255 }; 256 257 scif1: serial@1004bc00 { 258 compatible = "renesas,scif-r9a07g043", 259 "renesas,scif-r9a07g044"; 260 reg = <0 0x1004bc00 0 0x400>; 261 interrupts = <GIC_SPI 385 IRQ_TYPE_LEVEL_HIGH>, 262 <GIC_SPI 387 IRQ_TYPE_LEVEL_HIGH>, 263 <GIC_SPI 388 IRQ_TYPE_LEVEL_HIGH>, 264 <GIC_SPI 386 IRQ_TYPE_LEVEL_HIGH>, 265 <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>, 266 <GIC_SPI 389 IRQ_TYPE_LEVEL_HIGH>; 267 interrupt-names = "eri", "rxi", "txi", 268 "bri", "dri", "tei"; 269 clocks = <&cpg CPG_MOD R9A07G043_SCIF1_CLK_PCK>; 270 clock-names = "fck"; 271 power-domains = <&cpg>; 272 resets = <&cpg R9A07G043_SCIF1_RST_SYSTEM_N>; 273 status = "disabled"; 274 }; 275 276 scif2: serial@1004c000 { 277 compatible = "renesas,scif-r9a07g043", 278 "renesas,scif-r9a07g044"; 279 reg = <0 0x1004c000 0 0x400>; 280 interrupts = <GIC_SPI 390 IRQ_TYPE_LEVEL_HIGH>, 281 <GIC_SPI 392 IRQ_TYPE_LEVEL_HIGH>, 282 <GIC_SPI 393 IRQ_TYPE_LEVEL_HIGH>, 283 <GIC_SPI 391 IRQ_TYPE_LEVEL_HIGH>, 284 <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>, 285 <GIC_SPI 394 IRQ_TYPE_LEVEL_HIGH>; 286 interrupt-names = "eri", "rxi", "txi", 287 "bri", "dri", "tei"; 288 clocks = <&cpg CPG_MOD R9A07G043_SCIF2_CLK_PCK>; 289 clock-names = "fck"; 290 power-domains = <&cpg>; 291 resets = <&cpg R9A07G043_SCIF2_RST_SYSTEM_N>; 292 status = "disabled"; 293 }; 294 295 scif3: serial@1004c400 { 296 compatible = "renesas,scif-r9a07g043", 297 "renesas,scif-r9a07g044"; 298 reg = <0 0x1004c400 0 0x400>; 299 interrupts = <GIC_SPI 395 IRQ_TYPE_LEVEL_HIGH>, 300 <GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>, 301 <GIC_SPI 398 IRQ_TYPE_LEVEL_HIGH>, 302 <GIC_SPI 396 IRQ_TYPE_LEVEL_HIGH>, 303 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>, 304 <GIC_SPI 399 IRQ_TYPE_LEVEL_HIGH>; 305 interrupt-names = "eri", "rxi", "txi", 306 "bri", "dri", "tei"; 307 clocks = <&cpg CPG_MOD R9A07G043_SCIF3_CLK_PCK>; 308 clock-names = "fck"; 309 power-domains = <&cpg>; 310 resets = <&cpg R9A07G043_SCIF3_RST_SYSTEM_N>; 311 status = "disabled"; 312 }; 313 314 scif4: serial@1004c800 { 315 compatible = "renesas,scif-r9a07g043", 316 "renesas,scif-r9a07g044"; 317 reg = <0 0x1004c800 0 0x400>; 318 interrupts = <GIC_SPI 400 IRQ_TYPE_LEVEL_HIGH>, 319 <GIC_SPI 402 IRQ_TYPE_LEVEL_HIGH>, 320 <GIC_SPI 403 IRQ_TYPE_LEVEL_HIGH>, 321 <GIC_SPI 401 IRQ_TYPE_LEVEL_HIGH>, 322 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>, 323 <GIC_SPI 404 IRQ_TYPE_LEVEL_HIGH>; 324 interrupt-names = "eri", "rxi", "txi", 325 "bri", "dri", "tei"; 326 clocks = <&cpg CPG_MOD R9A07G043_SCIF4_CLK_PCK>; 327 clock-names = "fck"; 328 power-domains = <&cpg>; 329 resets = <&cpg R9A07G043_SCIF4_RST_SYSTEM_N>; 330 status = "disabled"; 331 }; 332 333 sci0: serial@1004d000 { 334 compatible = "renesas,r9a07g043-sci", "renesas,sci"; 335 reg = <0 0x1004d000 0 0x400>; 336 interrupts = <GIC_SPI 405 IRQ_TYPE_LEVEL_HIGH>, 337 <GIC_SPI 406 IRQ_TYPE_LEVEL_HIGH>, 338 <GIC_SPI 407 IRQ_TYPE_LEVEL_HIGH>, 339 <GIC_SPI 408 IRQ_TYPE_LEVEL_HIGH>; 340 interrupt-names = "eri", "rxi", "txi", "tei"; 341 clocks = <&cpg CPG_MOD R9A07G043_SCI0_CLKP>; 342 clock-names = "fck"; 343 power-domains = <&cpg>; 344 resets = <&cpg R9A07G043_SCI0_RST>; 345 status = "disabled"; 346 }; 347 348 sci1: serial@1004d400 { 349 compatible = "renesas,r9a07g043-sci", "renesas,sci"; 350 reg = <0 0x1004d400 0 0x400>; 351 interrupts = <GIC_SPI 409 IRQ_TYPE_LEVEL_HIGH>, 352 <GIC_SPI 410 IRQ_TYPE_LEVEL_HIGH>, 353 <GIC_SPI 411 IRQ_TYPE_LEVEL_HIGH>, 354 <GIC_SPI 412 IRQ_TYPE_LEVEL_HIGH>; 355 interrupt-names = "eri", "rxi", "txi", "tei"; 356 clocks = <&cpg CPG_MOD R9A07G043_SCI1_CLKP>; 357 clock-names = "fck"; 358 power-domains = <&cpg>; 359 resets = <&cpg R9A07G043_SCI1_RST>; 360 status = "disabled"; 361 }; 362 363 canfd: can@10050000 { 364 compatible = "renesas,r9a07g043-canfd", "renesas,rzg2l-canfd"; 365 reg = <0 0x10050000 0 0x8000>; 366 interrupts = <GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH>, 367 <GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH>, 368 <GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH>, 369 <GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH>, 370 <GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH>, 371 <GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH>, 372 <GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH>, 373 <GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH>; 374 interrupt-names = "g_err", "g_recc", 375 "ch0_err", "ch0_rec", "ch0_trx", 376 "ch1_err", "ch1_rec", "ch1_trx"; 377 clocks = <&cpg CPG_MOD R9A07G043_CANFD_PCLK>, 378 <&cpg CPG_CORE R9A07G043_CLK_P0_DIV2>, 379 <&can_clk>; 380 clock-names = "fck", "canfd", "can_clk"; 381 assigned-clocks = <&cpg CPG_CORE R9A07G043_CLK_P0_DIV2>; 382 assigned-clock-rates = <50000000>; 383 resets = <&cpg R9A07G043_CANFD_RSTP_N>, 384 <&cpg R9A07G043_CANFD_RSTC_N>; 385 reset-names = "rstp_n", "rstc_n"; 386 power-domains = <&cpg>; 387 status = "disabled"; 388 389 channel0 { 390 status = "disabled"; 391 }; 392 channel1 { 393 status = "disabled"; 394 }; 395 }; 396 397 i2c0: i2c@10058000 { 398 #address-cells = <1>; 399 #size-cells = <0>; 400 compatible = "renesas,riic-r9a07g043", "renesas,riic-rz"; 401 reg = <0 0x10058000 0 0x400>; 402 interrupts = <GIC_SPI 350 IRQ_TYPE_LEVEL_HIGH>, 403 <GIC_SPI 348 IRQ_TYPE_EDGE_RISING>, 404 <GIC_SPI 349 IRQ_TYPE_EDGE_RISING>, 405 <GIC_SPI 352 IRQ_TYPE_LEVEL_HIGH>, 406 <GIC_SPI 353 IRQ_TYPE_LEVEL_HIGH>, 407 <GIC_SPI 351 IRQ_TYPE_LEVEL_HIGH>, 408 <GIC_SPI 354 IRQ_TYPE_LEVEL_HIGH>, 409 <GIC_SPI 355 IRQ_TYPE_LEVEL_HIGH>; 410 interrupt-names = "tei", "ri", "ti", "spi", "sti", 411 "naki", "ali", "tmoi"; 412 clocks = <&cpg CPG_MOD R9A07G043_I2C0_PCLK>; 413 clock-frequency = <100000>; 414 resets = <&cpg R9A07G043_I2C0_MRST>; 415 power-domains = <&cpg>; 416 status = "disabled"; 417 }; 418 419 i2c1: i2c@10058400 { 420 #address-cells = <1>; 421 #size-cells = <0>; 422 compatible = "renesas,riic-r9a07g043", "renesas,riic-rz"; 423 reg = <0 0x10058400 0 0x400>; 424 interrupts = <GIC_SPI 358 IRQ_TYPE_LEVEL_HIGH>, 425 <GIC_SPI 356 IRQ_TYPE_EDGE_RISING>, 426 <GIC_SPI 357 IRQ_TYPE_EDGE_RISING>, 427 <GIC_SPI 360 IRQ_TYPE_LEVEL_HIGH>, 428 <GIC_SPI 361 IRQ_TYPE_LEVEL_HIGH>, 429 <GIC_SPI 359 IRQ_TYPE_LEVEL_HIGH>, 430 <GIC_SPI 362 IRQ_TYPE_LEVEL_HIGH>, 431 <GIC_SPI 363 IRQ_TYPE_LEVEL_HIGH>; 432 interrupt-names = "tei", "ri", "ti", "spi", "sti", 433 "naki", "ali", "tmoi"; 434 clocks = <&cpg CPG_MOD R9A07G043_I2C1_PCLK>; 435 clock-frequency = <100000>; 436 resets = <&cpg R9A07G043_I2C1_MRST>; 437 power-domains = <&cpg>; 438 status = "disabled"; 439 }; 440 441 i2c2: i2c@10058800 { 442 #address-cells = <1>; 443 #size-cells = <0>; 444 compatible = "renesas,riic-r9a07g043", "renesas,riic-rz"; 445 reg = <0 0x10058800 0 0x400>; 446 interrupts = <GIC_SPI 366 IRQ_TYPE_LEVEL_HIGH>, 447 <GIC_SPI 364 IRQ_TYPE_EDGE_RISING>, 448 <GIC_SPI 365 IRQ_TYPE_EDGE_RISING>, 449 <GIC_SPI 368 IRQ_TYPE_LEVEL_HIGH>, 450 <GIC_SPI 369 IRQ_TYPE_LEVEL_HIGH>, 451 <GIC_SPI 367 IRQ_TYPE_LEVEL_HIGH>, 452 <GIC_SPI 370 IRQ_TYPE_LEVEL_HIGH>, 453 <GIC_SPI 371 IRQ_TYPE_LEVEL_HIGH>; 454 interrupt-names = "tei", "ri", "ti", "spi", "sti", 455 "naki", "ali", "tmoi"; 456 clocks = <&cpg CPG_MOD R9A07G043_I2C2_PCLK>; 457 clock-frequency = <100000>; 458 resets = <&cpg R9A07G043_I2C2_MRST>; 459 power-domains = <&cpg>; 460 status = "disabled"; 461 }; 462 463 i2c3: i2c@10058c00 { 464 #address-cells = <1>; 465 #size-cells = <0>; 466 compatible = "renesas,riic-r9a07g043", "renesas,riic-rz"; 467 reg = <0 0x10058c00 0 0x400>; 468 interrupts = <GIC_SPI 374 IRQ_TYPE_LEVEL_HIGH>, 469 <GIC_SPI 372 IRQ_TYPE_EDGE_RISING>, 470 <GIC_SPI 373 IRQ_TYPE_EDGE_RISING>, 471 <GIC_SPI 376 IRQ_TYPE_LEVEL_HIGH>, 472 <GIC_SPI 377 IRQ_TYPE_LEVEL_HIGH>, 473 <GIC_SPI 375 IRQ_TYPE_LEVEL_HIGH>, 474 <GIC_SPI 378 IRQ_TYPE_LEVEL_HIGH>, 475 <GIC_SPI 379 IRQ_TYPE_LEVEL_HIGH>; 476 interrupt-names = "tei", "ri", "ti", "spi", "sti", 477 "naki", "ali", "tmoi"; 478 clocks = <&cpg CPG_MOD R9A07G043_I2C3_PCLK>; 479 clock-frequency = <100000>; 480 resets = <&cpg R9A07G043_I2C3_MRST>; 481 power-domains = <&cpg>; 482 status = "disabled"; 483 }; 484 485 adc: adc@10059000 { 486 reg = <0 0x10059000 0 0x400>; 487 /* place holder */ 488 }; 489 490 tsu: thermal@10059400 { 491 compatible = "renesas,r9a07g043-tsu", 492 "renesas,rzg2l-tsu"; 493 reg = <0 0x10059400 0 0x400>; 494 clocks = <&cpg CPG_MOD R9A07G043_TSU_PCLK>; 495 resets = <&cpg R9A07G043_TSU_PRESETN>; 496 power-domains = <&cpg>; 497 #thermal-sensor-cells = <1>; 498 }; 499 500 sbc: spi@10060000 { 501 reg = <0 0x10060000 0 0x10000>, 502 <0 0x20000000 0 0x10000000>, 503 <0 0x10070000 0 0x10000>; 504 #address-cells = <1>; 505 #size-cells = <0>; 506 /* place holder */ 507 }; 508 509 cpg: clock-controller@11010000 { 510 compatible = "renesas,r9a07g043-cpg"; 511 reg = <0 0x11010000 0 0x10000>; 512 clocks = <&extal_clk>; 513 clock-names = "extal"; 514 #clock-cells = <2>; 515 #reset-cells = <1>; 516 #power-domain-cells = <0>; 517 }; 518 519 sysc: system-controller@11020000 { 520 compatible = "renesas,r9a07g043-sysc"; 521 reg = <0 0x11020000 0 0x10000>; 522 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 523 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 524 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 525 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 526 interrupt-names = "lpm_int", "ca55stbydone_int", 527 "cm33stbyr_int", "ca55_deny"; 528 status = "disabled"; 529 }; 530 531 pinctrl: pinctrl@11030000 { 532 compatible = "renesas,r9a07g043-pinctrl"; 533 reg = <0 0x11030000 0 0x10000>; 534 gpio-controller; 535 #gpio-cells = <2>; 536 gpio-ranges = <&pinctrl 0 0 152>; 537 clocks = <&cpg CPG_MOD R9A07G043_GPIO_HCLK>; 538 power-domains = <&cpg>; 539 resets = <&cpg R9A07G043_GPIO_RSTN>, 540 <&cpg R9A07G043_GPIO_PORT_RESETN>, 541 <&cpg R9A07G043_GPIO_SPARE_RESETN>; 542 }; 543 544 dmac: dma-controller@11820000 { 545 compatible = "renesas,r9a07g043-dmac", 546 "renesas,rz-dmac"; 547 reg = <0 0x11820000 0 0x10000>, 548 <0 0x11830000 0 0x10000>; 549 interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>, 550 <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>, 551 <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>, 552 <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>, 553 <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>, 554 <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>, 555 <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>, 556 <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>, 557 <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>, 558 <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>, 559 <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>, 560 <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>, 561 <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>, 562 <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>, 563 <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>, 564 <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>, 565 <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>; 566 interrupt-names = "error", 567 "ch0", "ch1", "ch2", "ch3", 568 "ch4", "ch5", "ch6", "ch7", 569 "ch8", "ch9", "ch10", "ch11", 570 "ch12", "ch13", "ch14", "ch15"; 571 clocks = <&cpg CPG_MOD R9A07G043_DMAC_ACLK>, 572 <&cpg CPG_MOD R9A07G043_DMAC_PCLK>; 573 power-domains = <&cpg>; 574 resets = <&cpg R9A07G043_DMAC_ARESETN>, 575 <&cpg R9A07G043_DMAC_RST_ASYNC>; 576 #dma-cells = <1>; 577 dma-channels = <16>; 578 }; 579 580 gic: interrupt-controller@11900000 { 581 compatible = "arm,gic-v3"; 582 #interrupt-cells = <3>; 583 #address-cells = <0>; 584 interrupt-controller; 585 reg = <0x0 0x11900000 0 0x40000>, 586 <0x0 0x11940000 0 0x60000>; 587 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; 588 }; 589 590 sdhi0: mmc@11c00000 { 591 compatible = "renesas,sdhi-r9a07g043", 592 "renesas,rcar-gen3-sdhi"; 593 reg = <0x0 0x11c00000 0 0x10000>; 594 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 595 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 596 clocks = <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK>, 597 <&cpg CPG_MOD R9A07G043_SDHI0_CLK_HS>, 598 <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK2>, 599 <&cpg CPG_MOD R9A07G043_SDHI0_ACLK>; 600 clock-names = "core", "clkh", "cd", "aclk"; 601 resets = <&cpg R9A07G043_SDHI0_IXRST>; 602 power-domains = <&cpg>; 603 status = "disabled"; 604 }; 605 606 sdhi1: mmc@11c10000 { 607 compatible = "renesas,sdhi-r9a07g043", 608 "renesas,rcar-gen3-sdhi"; 609 reg = <0x0 0x11c10000 0 0x10000>; 610 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 611 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 612 clocks = <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK>, 613 <&cpg CPG_MOD R9A07G043_SDHI1_CLK_HS>, 614 <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK2>, 615 <&cpg CPG_MOD R9A07G043_SDHI1_ACLK>; 616 clock-names = "core", "clkh", "cd", "aclk"; 617 resets = <&cpg R9A07G043_SDHI1_IXRST>; 618 power-domains = <&cpg>; 619 status = "disabled"; 620 }; 621 622 eth0: ethernet@11c20000 { 623 compatible = "renesas,r9a07g043-gbeth", 624 "renesas,rzg2l-gbeth"; 625 reg = <0 0x11c20000 0 0x10000>; 626 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, 627 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, 628 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 629 interrupt-names = "mux", "fil", "arp_ns"; 630 phy-mode = "rgmii"; 631 clocks = <&cpg CPG_MOD R9A07G043_ETH0_CLK_AXI>, 632 <&cpg CPG_MOD R9A07G043_ETH0_CLK_CHI>, 633 <&cpg CPG_CORE R9A07G043_CLK_HP>; 634 clock-names = "axi", "chi", "refclk"; 635 resets = <&cpg R9A07G043_ETH0_RST_HW_N>; 636 power-domains = <&cpg>; 637 #address-cells = <1>; 638 #size-cells = <0>; 639 status = "disabled"; 640 }; 641 642 eth1: ethernet@11c30000 { 643 compatible = "renesas,r9a07g043-gbeth", 644 "renesas,rzg2l-gbeth"; 645 reg = <0 0x11c30000 0 0x10000>; 646 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 647 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, 648 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 649 interrupt-names = "mux", "fil", "arp_ns"; 650 phy-mode = "rgmii"; 651 clocks = <&cpg CPG_MOD R9A07G043_ETH1_CLK_AXI>, 652 <&cpg CPG_MOD R9A07G043_ETH1_CLK_CHI>, 653 <&cpg CPG_CORE R9A07G043_CLK_HP>; 654 clock-names = "axi", "chi", "refclk"; 655 resets = <&cpg R9A07G043_ETH1_RST_HW_N>; 656 power-domains = <&cpg>; 657 #address-cells = <1>; 658 #size-cells = <0>; 659 status = "disabled"; 660 }; 661 662 phyrst: usbphy-ctrl@11c40000 { 663 compatible = "renesas,r9a07g043-usbphy-ctrl", 664 "renesas,rzg2l-usbphy-ctrl"; 665 reg = <0 0x11c40000 0 0x10000>; 666 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>; 667 resets = <&cpg R9A07G043_USB_PRESETN>; 668 power-domains = <&cpg>; 669 #reset-cells = <1>; 670 status = "disabled"; 671 }; 672 673 ohci0: usb@11c50000 { 674 compatible = "generic-ohci"; 675 reg = <0 0x11c50000 0 0x100>; 676 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 677 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 678 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>; 679 resets = <&phyrst 0>, 680 <&cpg R9A07G043_USB_U2H0_HRESETN>; 681 phys = <&usb2_phy0 1>; 682 phy-names = "usb"; 683 power-domains = <&cpg>; 684 status = "disabled"; 685 }; 686 687 ohci1: usb@11c70000 { 688 compatible = "generic-ohci"; 689 reg = <0 0x11c70000 0 0x100>; 690 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 691 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 692 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>; 693 resets = <&phyrst 1>, 694 <&cpg R9A07G043_USB_U2H1_HRESETN>; 695 phys = <&usb2_phy1 1>; 696 phy-names = "usb"; 697 power-domains = <&cpg>; 698 status = "disabled"; 699 }; 700 701 ehci0: usb@11c50100 { 702 compatible = "generic-ehci"; 703 reg = <0 0x11c50100 0 0x100>; 704 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 705 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 706 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>; 707 resets = <&phyrst 0>, 708 <&cpg R9A07G043_USB_U2H0_HRESETN>; 709 phys = <&usb2_phy0 2>; 710 phy-names = "usb"; 711 companion = <&ohci0>; 712 power-domains = <&cpg>; 713 status = "disabled"; 714 }; 715 716 ehci1: usb@11c70100 { 717 compatible = "generic-ehci"; 718 reg = <0 0x11c70100 0 0x100>; 719 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 720 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 721 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>; 722 resets = <&phyrst 1>, 723 <&cpg R9A07G043_USB_U2H1_HRESETN>; 724 phys = <&usb2_phy1 2>; 725 phy-names = "usb"; 726 companion = <&ohci1>; 727 power-domains = <&cpg>; 728 status = "disabled"; 729 }; 730 731 usb2_phy0: usb-phy@11c50200 { 732 compatible = "renesas,usb2-phy-r9a07g043", 733 "renesas,rzg2l-usb2-phy"; 734 reg = <0 0x11c50200 0 0x700>; 735 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 736 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 737 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>; 738 resets = <&phyrst 0>; 739 #phy-cells = <1>; 740 power-domains = <&cpg>; 741 status = "disabled"; 742 }; 743 744 usb2_phy1: usb-phy@11c70200 { 745 compatible = "renesas,usb2-phy-r9a07g043", 746 "renesas,rzg2l-usb2-phy"; 747 reg = <0 0x11c70200 0 0x700>; 748 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 749 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 750 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>; 751 resets = <&phyrst 1>; 752 #phy-cells = <1>; 753 power-domains = <&cpg>; 754 status = "disabled"; 755 }; 756 757 hsusb: usb@11c60000 { 758 compatible = "renesas,usbhs-r9a07g043", 759 "renesas,rza2-usbhs"; 760 reg = <0 0x11c60000 0 0x10000>; 761 interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>, 762 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 763 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 764 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 765 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 766 <&cpg CPG_MOD R9A07G043_USB_U2P_EXR_CPUCLK>; 767 resets = <&phyrst 0>, 768 <&cpg R9A07G043_USB_U2P_EXL_SYSRST>; 769 renesas,buswait = <7>; 770 phys = <&usb2_phy0 3>; 771 phy-names = "usb"; 772 power-domains = <&cpg>; 773 status = "disabled"; 774 }; 775 776 wdt0: watchdog@12800800 { 777 compatible = "renesas,r9a07g043-wdt", 778 "renesas,rzg2l-wdt"; 779 reg = <0 0x12800800 0 0x400>; 780 clocks = <&cpg CPG_MOD R9A07G043_WDT0_PCLK>, 781 <&cpg CPG_MOD R9A07G043_WDT0_CLK>; 782 clock-names = "pclk", "oscclk"; 783 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 784 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 785 interrupt-names = "wdt", "perrout"; 786 resets = <&cpg R9A07G043_WDT0_PRESETN>; 787 power-domains = <&cpg>; 788 status = "disabled"; 789 }; 790 791 wdt2: watchdog@12800400 { 792 compatible = "renesas,r9a07g043-wdt", 793 "renesas,rzg2l-wdt"; 794 reg = <0 0x12800400 0 0x400>; 795 clocks = <&cpg CPG_MOD R9A07G043_WDT2_PCLK>, 796 <&cpg CPG_MOD R9A07G043_WDT2_CLK>; 797 clock-names = "pclk", "oscclk"; 798 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 799 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; 800 interrupt-names = "wdt", "perrout"; 801 resets = <&cpg R9A07G043_WDT2_PRESETN>; 802 power-domains = <&cpg>; 803 status = "disabled"; 804 }; 805 806 ostm0: timer@12801000 { 807 compatible = "renesas,r9a07g043-ostm", 808 "renesas,ostm"; 809 reg = <0x0 0x12801000 0x0 0x400>; 810 interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>; 811 clocks = <&cpg CPG_MOD R9A07G043_OSTM0_PCLK>; 812 resets = <&cpg R9A07G043_OSTM0_PRESETZ>; 813 power-domains = <&cpg>; 814 status = "disabled"; 815 }; 816 817 ostm1: timer@12801400 { 818 compatible = "renesas,r9a07g043-ostm", 819 "renesas,ostm"; 820 reg = <0x0 0x12801400 0x0 0x400>; 821 interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>; 822 clocks = <&cpg CPG_MOD R9A07G043_OSTM1_PCLK>; 823 resets = <&cpg R9A07G043_OSTM1_PRESETZ>; 824 power-domains = <&cpg>; 825 status = "disabled"; 826 }; 827 828 ostm2: timer@12801800 { 829 compatible = "renesas,r9a07g043-ostm", 830 "renesas,ostm"; 831 reg = <0x0 0x12801800 0x0 0x400>; 832 interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>; 833 clocks = <&cpg CPG_MOD R9A07G043_OSTM2_PCLK>; 834 resets = <&cpg R9A07G043_OSTM2_PRESETZ>; 835 power-domains = <&cpg>; 836 status = "disabled"; 837 }; 838 }; 839 840 thermal-zones { 841 cpu-thermal { 842 polling-delay-passive = <250>; 843 polling-delay = <1000>; 844 thermal-sensors = <&tsu 0>; 845 sustainable-power = <717>; 846 847 cooling-maps { 848 map0 { 849 trip = <&target>; 850 cooling-device = <&cpu0 0 2>; 851 contribution = <1024>; 852 }; 853 }; 854 855 trips { 856 sensor_crit: sensor-crit { 857 temperature = <125000>; 858 hysteresis = <1000>; 859 type = "critical"; 860 }; 861 862 target: trip-point { 863 temperature = <100000>; 864 hysteresis = <1000>; 865 type = "passive"; 866 }; 867 }; 868 }; 869 }; 870 871 timer { 872 compatible = "arm,armv8-timer"; 873 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 874 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 875 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 876 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; 877 }; 878}; 879