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 compatible = "renesas,r9a07g043-rpc-if", 502 "renesas,rzg2l-rpc-if"; 503 reg = <0 0x10060000 0 0x10000>, 504 <0 0x20000000 0 0x10000000>, 505 <0 0x10070000 0 0x10000>; 506 reg-names = "regs", "dirmap", "wbuf"; 507 clocks = <&cpg CPG_MOD R9A07G043_SPI_CLK2>, 508 <&cpg CPG_MOD R9A07G043_SPI_CLK>; 509 resets = <&cpg R9A07G043_SPI_RST>; 510 power-domains = <&cpg>; 511 #address-cells = <1>; 512 #size-cells = <0>; 513 status = "disabled"; 514 }; 515 516 cpg: clock-controller@11010000 { 517 compatible = "renesas,r9a07g043-cpg"; 518 reg = <0 0x11010000 0 0x10000>; 519 clocks = <&extal_clk>; 520 clock-names = "extal"; 521 #clock-cells = <2>; 522 #reset-cells = <1>; 523 #power-domain-cells = <0>; 524 }; 525 526 sysc: system-controller@11020000 { 527 compatible = "renesas,r9a07g043-sysc"; 528 reg = <0 0x11020000 0 0x10000>; 529 interrupts = <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, 530 <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, 531 <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, 532 <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>; 533 interrupt-names = "lpm_int", "ca55stbydone_int", 534 "cm33stbyr_int", "ca55_deny"; 535 status = "disabled"; 536 }; 537 538 pinctrl: pinctrl@11030000 { 539 compatible = "renesas,r9a07g043-pinctrl"; 540 reg = <0 0x11030000 0 0x10000>; 541 gpio-controller; 542 #gpio-cells = <2>; 543 gpio-ranges = <&pinctrl 0 0 152>; 544 clocks = <&cpg CPG_MOD R9A07G043_GPIO_HCLK>; 545 power-domains = <&cpg>; 546 resets = <&cpg R9A07G043_GPIO_RSTN>, 547 <&cpg R9A07G043_GPIO_PORT_RESETN>, 548 <&cpg R9A07G043_GPIO_SPARE_RESETN>; 549 }; 550 551 dmac: dma-controller@11820000 { 552 compatible = "renesas,r9a07g043-dmac", 553 "renesas,rz-dmac"; 554 reg = <0 0x11820000 0 0x10000>, 555 <0 0x11830000 0 0x10000>; 556 interrupts = <GIC_SPI 141 IRQ_TYPE_EDGE_RISING>, 557 <GIC_SPI 125 IRQ_TYPE_EDGE_RISING>, 558 <GIC_SPI 126 IRQ_TYPE_EDGE_RISING>, 559 <GIC_SPI 127 IRQ_TYPE_EDGE_RISING>, 560 <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>, 561 <GIC_SPI 129 IRQ_TYPE_EDGE_RISING>, 562 <GIC_SPI 130 IRQ_TYPE_EDGE_RISING>, 563 <GIC_SPI 131 IRQ_TYPE_EDGE_RISING>, 564 <GIC_SPI 132 IRQ_TYPE_EDGE_RISING>, 565 <GIC_SPI 133 IRQ_TYPE_EDGE_RISING>, 566 <GIC_SPI 134 IRQ_TYPE_EDGE_RISING>, 567 <GIC_SPI 135 IRQ_TYPE_EDGE_RISING>, 568 <GIC_SPI 136 IRQ_TYPE_EDGE_RISING>, 569 <GIC_SPI 137 IRQ_TYPE_EDGE_RISING>, 570 <GIC_SPI 138 IRQ_TYPE_EDGE_RISING>, 571 <GIC_SPI 139 IRQ_TYPE_EDGE_RISING>, 572 <GIC_SPI 140 IRQ_TYPE_EDGE_RISING>; 573 interrupt-names = "error", 574 "ch0", "ch1", "ch2", "ch3", 575 "ch4", "ch5", "ch6", "ch7", 576 "ch8", "ch9", "ch10", "ch11", 577 "ch12", "ch13", "ch14", "ch15"; 578 clocks = <&cpg CPG_MOD R9A07G043_DMAC_ACLK>, 579 <&cpg CPG_MOD R9A07G043_DMAC_PCLK>; 580 power-domains = <&cpg>; 581 resets = <&cpg R9A07G043_DMAC_ARESETN>, 582 <&cpg R9A07G043_DMAC_RST_ASYNC>; 583 #dma-cells = <1>; 584 dma-channels = <16>; 585 }; 586 587 gic: interrupt-controller@11900000 { 588 compatible = "arm,gic-v3"; 589 #interrupt-cells = <3>; 590 #address-cells = <0>; 591 interrupt-controller; 592 reg = <0x0 0x11900000 0 0x40000>, 593 <0x0 0x11940000 0 0x60000>; 594 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_LOW>; 595 }; 596 597 sdhi0: mmc@11c00000 { 598 compatible = "renesas,sdhi-r9a07g043", 599 "renesas,rcar-gen3-sdhi"; 600 reg = <0x0 0x11c00000 0 0x10000>; 601 interrupts = <GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, 602 <GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>; 603 clocks = <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK>, 604 <&cpg CPG_MOD R9A07G043_SDHI0_CLK_HS>, 605 <&cpg CPG_MOD R9A07G043_SDHI0_IMCLK2>, 606 <&cpg CPG_MOD R9A07G043_SDHI0_ACLK>; 607 clock-names = "core", "clkh", "cd", "aclk"; 608 resets = <&cpg R9A07G043_SDHI0_IXRST>; 609 power-domains = <&cpg>; 610 status = "disabled"; 611 }; 612 613 sdhi1: mmc@11c10000 { 614 compatible = "renesas,sdhi-r9a07g043", 615 "renesas,rcar-gen3-sdhi"; 616 reg = <0x0 0x11c10000 0 0x10000>; 617 interrupts = <GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, 618 <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; 619 clocks = <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK>, 620 <&cpg CPG_MOD R9A07G043_SDHI1_CLK_HS>, 621 <&cpg CPG_MOD R9A07G043_SDHI1_IMCLK2>, 622 <&cpg CPG_MOD R9A07G043_SDHI1_ACLK>; 623 clock-names = "core", "clkh", "cd", "aclk"; 624 resets = <&cpg R9A07G043_SDHI1_IXRST>; 625 power-domains = <&cpg>; 626 status = "disabled"; 627 }; 628 629 eth0: ethernet@11c20000 { 630 compatible = "renesas,r9a07g043-gbeth", 631 "renesas,rzg2l-gbeth"; 632 reg = <0 0x11c20000 0 0x10000>; 633 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>, 634 <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, 635 <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>; 636 interrupt-names = "mux", "fil", "arp_ns"; 637 phy-mode = "rgmii"; 638 clocks = <&cpg CPG_MOD R9A07G043_ETH0_CLK_AXI>, 639 <&cpg CPG_MOD R9A07G043_ETH0_CLK_CHI>, 640 <&cpg CPG_CORE R9A07G043_CLK_HP>; 641 clock-names = "axi", "chi", "refclk"; 642 resets = <&cpg R9A07G043_ETH0_RST_HW_N>; 643 power-domains = <&cpg>; 644 #address-cells = <1>; 645 #size-cells = <0>; 646 status = "disabled"; 647 }; 648 649 eth1: ethernet@11c30000 { 650 compatible = "renesas,r9a07g043-gbeth", 651 "renesas,rzg2l-gbeth"; 652 reg = <0 0x11c30000 0 0x10000>; 653 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>, 654 <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>, 655 <GIC_SPI 89 IRQ_TYPE_LEVEL_HIGH>; 656 interrupt-names = "mux", "fil", "arp_ns"; 657 phy-mode = "rgmii"; 658 clocks = <&cpg CPG_MOD R9A07G043_ETH1_CLK_AXI>, 659 <&cpg CPG_MOD R9A07G043_ETH1_CLK_CHI>, 660 <&cpg CPG_CORE R9A07G043_CLK_HP>; 661 clock-names = "axi", "chi", "refclk"; 662 resets = <&cpg R9A07G043_ETH1_RST_HW_N>; 663 power-domains = <&cpg>; 664 #address-cells = <1>; 665 #size-cells = <0>; 666 status = "disabled"; 667 }; 668 669 phyrst: usbphy-ctrl@11c40000 { 670 compatible = "renesas,r9a07g043-usbphy-ctrl", 671 "renesas,rzg2l-usbphy-ctrl"; 672 reg = <0 0x11c40000 0 0x10000>; 673 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>; 674 resets = <&cpg R9A07G043_USB_PRESETN>; 675 power-domains = <&cpg>; 676 #reset-cells = <1>; 677 status = "disabled"; 678 }; 679 680 ohci0: usb@11c50000 { 681 compatible = "generic-ohci"; 682 reg = <0 0x11c50000 0 0x100>; 683 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>; 684 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 685 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>; 686 resets = <&phyrst 0>, 687 <&cpg R9A07G043_USB_U2H0_HRESETN>; 688 phys = <&usb2_phy0 1>; 689 phy-names = "usb"; 690 power-domains = <&cpg>; 691 status = "disabled"; 692 }; 693 694 ohci1: usb@11c70000 { 695 compatible = "generic-ohci"; 696 reg = <0 0x11c70000 0 0x100>; 697 interrupts = <GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>; 698 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 699 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>; 700 resets = <&phyrst 1>, 701 <&cpg R9A07G043_USB_U2H1_HRESETN>; 702 phys = <&usb2_phy1 1>; 703 phy-names = "usb"; 704 power-domains = <&cpg>; 705 status = "disabled"; 706 }; 707 708 ehci0: usb@11c50100 { 709 compatible = "generic-ehci"; 710 reg = <0 0x11c50100 0 0x100>; 711 interrupts = <GIC_SPI 92 IRQ_TYPE_LEVEL_HIGH>; 712 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 713 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>; 714 resets = <&phyrst 0>, 715 <&cpg R9A07G043_USB_U2H0_HRESETN>; 716 phys = <&usb2_phy0 2>; 717 phy-names = "usb"; 718 companion = <&ohci0>; 719 power-domains = <&cpg>; 720 status = "disabled"; 721 }; 722 723 ehci1: usb@11c70100 { 724 compatible = "generic-ehci"; 725 reg = <0 0x11c70100 0 0x100>; 726 interrupts = <GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>; 727 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 728 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>; 729 resets = <&phyrst 1>, 730 <&cpg R9A07G043_USB_U2H1_HRESETN>; 731 phys = <&usb2_phy1 2>; 732 phy-names = "usb"; 733 companion = <&ohci1>; 734 power-domains = <&cpg>; 735 status = "disabled"; 736 }; 737 738 usb2_phy0: usb-phy@11c50200 { 739 compatible = "renesas,usb2-phy-r9a07g043", 740 "renesas,rzg2l-usb2-phy"; 741 reg = <0 0x11c50200 0 0x700>; 742 interrupts = <GIC_SPI 94 IRQ_TYPE_LEVEL_HIGH>; 743 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 744 <&cpg CPG_MOD R9A07G043_USB_U2H0_HCLK>; 745 resets = <&phyrst 0>; 746 #phy-cells = <1>; 747 power-domains = <&cpg>; 748 status = "disabled"; 749 }; 750 751 usb2_phy1: usb-phy@11c70200 { 752 compatible = "renesas,usb2-phy-r9a07g043", 753 "renesas,rzg2l-usb2-phy"; 754 reg = <0 0x11c70200 0 0x700>; 755 interrupts = <GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>; 756 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 757 <&cpg CPG_MOD R9A07G043_USB_U2H1_HCLK>; 758 resets = <&phyrst 1>; 759 #phy-cells = <1>; 760 power-domains = <&cpg>; 761 status = "disabled"; 762 }; 763 764 hsusb: usb@11c60000 { 765 compatible = "renesas,usbhs-r9a07g043", 766 "renesas,rza2-usbhs"; 767 reg = <0 0x11c60000 0 0x10000>; 768 interrupts = <GIC_SPI 100 IRQ_TYPE_EDGE_RISING>, 769 <GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, 770 <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, 771 <GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>; 772 clocks = <&cpg CPG_MOD R9A07G043_USB_PCLK>, 773 <&cpg CPG_MOD R9A07G043_USB_U2P_EXR_CPUCLK>; 774 resets = <&phyrst 0>, 775 <&cpg R9A07G043_USB_U2P_EXL_SYSRST>; 776 renesas,buswait = <7>; 777 phys = <&usb2_phy0 3>; 778 phy-names = "usb"; 779 power-domains = <&cpg>; 780 status = "disabled"; 781 }; 782 783 wdt0: watchdog@12800800 { 784 compatible = "renesas,r9a07g043-wdt", 785 "renesas,rzg2l-wdt"; 786 reg = <0 0x12800800 0 0x400>; 787 clocks = <&cpg CPG_MOD R9A07G043_WDT0_PCLK>, 788 <&cpg CPG_MOD R9A07G043_WDT0_CLK>; 789 clock-names = "pclk", "oscclk"; 790 interrupts = <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, 791 <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>; 792 interrupt-names = "wdt", "perrout"; 793 resets = <&cpg R9A07G043_WDT0_PRESETN>; 794 power-domains = <&cpg>; 795 status = "disabled"; 796 }; 797 798 wdt2: watchdog@12800400 { 799 compatible = "renesas,r9a07g043-wdt", 800 "renesas,rzg2l-wdt"; 801 reg = <0 0x12800400 0 0x400>; 802 clocks = <&cpg CPG_MOD R9A07G043_WDT2_PCLK>, 803 <&cpg CPG_MOD R9A07G043_WDT2_CLK>; 804 clock-names = "pclk", "oscclk"; 805 interrupts = <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, 806 <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>; 807 interrupt-names = "wdt", "perrout"; 808 resets = <&cpg R9A07G043_WDT2_PRESETN>; 809 power-domains = <&cpg>; 810 status = "disabled"; 811 }; 812 813 ostm0: timer@12801000 { 814 compatible = "renesas,r9a07g043-ostm", 815 "renesas,ostm"; 816 reg = <0x0 0x12801000 0x0 0x400>; 817 interrupts = <GIC_SPI 46 IRQ_TYPE_EDGE_RISING>; 818 clocks = <&cpg CPG_MOD R9A07G043_OSTM0_PCLK>; 819 resets = <&cpg R9A07G043_OSTM0_PRESETZ>; 820 power-domains = <&cpg>; 821 status = "disabled"; 822 }; 823 824 ostm1: timer@12801400 { 825 compatible = "renesas,r9a07g043-ostm", 826 "renesas,ostm"; 827 reg = <0x0 0x12801400 0x0 0x400>; 828 interrupts = <GIC_SPI 47 IRQ_TYPE_EDGE_RISING>; 829 clocks = <&cpg CPG_MOD R9A07G043_OSTM1_PCLK>; 830 resets = <&cpg R9A07G043_OSTM1_PRESETZ>; 831 power-domains = <&cpg>; 832 status = "disabled"; 833 }; 834 835 ostm2: timer@12801800 { 836 compatible = "renesas,r9a07g043-ostm", 837 "renesas,ostm"; 838 reg = <0x0 0x12801800 0x0 0x400>; 839 interrupts = <GIC_SPI 48 IRQ_TYPE_EDGE_RISING>; 840 clocks = <&cpg CPG_MOD R9A07G043_OSTM2_PCLK>; 841 resets = <&cpg R9A07G043_OSTM2_PRESETZ>; 842 power-domains = <&cpg>; 843 status = "disabled"; 844 }; 845 }; 846 847 thermal-zones { 848 cpu-thermal { 849 polling-delay-passive = <250>; 850 polling-delay = <1000>; 851 thermal-sensors = <&tsu 0>; 852 sustainable-power = <717>; 853 854 cooling-maps { 855 map0 { 856 trip = <&target>; 857 cooling-device = <&cpu0 0 2>; 858 contribution = <1024>; 859 }; 860 }; 861 862 trips { 863 sensor_crit: sensor-crit { 864 temperature = <125000>; 865 hysteresis = <1000>; 866 type = "critical"; 867 }; 868 869 target: trip-point { 870 temperature = <100000>; 871 hysteresis = <1000>; 872 type = "passive"; 873 }; 874 }; 875 }; 876 }; 877 878 timer { 879 compatible = "arm,armv8-timer"; 880 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 881 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 882 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>, 883 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(1) | IRQ_TYPE_LEVEL_LOW)>; 884 }; 885}; 886