1// SPDX-License-Identifier: GPL-2.0 2/* 3 * Device Tree Source for the r8a77965 SoC 4 * 5 * Copyright (C) 2018 Jacopo Mondi <jacopo+renesas@jmondi.org> 6 * 7 * Based on r8a7796.dtsi 8 * Copyright (C) 2016 Renesas Electronics Corp. 9 */ 10 11#include <dt-bindings/clock/renesas-cpg-mssr.h> 12#include <dt-bindings/interrupt-controller/arm-gic.h> 13 14#define CPG_AUDIO_CLK_I 10 15 16/ { 17 compatible = "renesas,r8a77965"; 18 #address-cells = <2>; 19 #size-cells = <2>; 20 21 psci { 22 compatible = "arm,psci-1.0", "arm,psci-0.2"; 23 method = "smc"; 24 }; 25 26 cpus { 27 #address-cells = <1>; 28 #size-cells = <0>; 29 30 a57_0: cpu@0 { 31 compatible = "arm,cortex-a57", "arm,armv8"; 32 reg = <0x0>; 33 device_type = "cpu"; 34 power-domains = <&sysc 0>; 35 next-level-cache = <&L2_CA57>; 36 enable-method = "psci"; 37 }; 38 39 a57_1: cpu@1 { 40 compatible = "arm,cortex-a57","arm,armv8"; 41 reg = <0x1>; 42 device_type = "cpu"; 43 power-domains = <&sysc 1>; 44 next-level-cache = <&L2_CA57>; 45 enable-method = "psci"; 46 }; 47 48 L2_CA57: cache-controller-0 { 49 compatible = "cache"; 50 reg = <0>; 51 power-domains = <&sysc 12>; 52 cache-unified; 53 cache-level = <2>; 54 }; 55 }; 56 57 extal_clk: extal { 58 compatible = "fixed-clock"; 59 #clock-cells = <0>; 60 /* This value must be overridden by the board */ 61 clock-frequency = <0>; 62 }; 63 64 extalr_clk: extalr { 65 compatible = "fixed-clock"; 66 #clock-cells = <0>; 67 /* This value must be overridden by the board */ 68 clock-frequency = <0>; 69 }; 70 71 /* 72 * The external audio clocks are configured as 0 Hz fixed frequency 73 * clocks by default. 74 * Boards that provide audio clocks should override them. 75 */ 76 audio_clk_a: audio_clk_a { 77 compatible = "fixed-clock"; 78 #clock-cells = <0>; 79 clock-frequency = <0>; 80 }; 81 82 audio_clk_b: audio_clk_b { 83 compatible = "fixed-clock"; 84 #clock-cells = <0>; 85 clock-frequency = <0>; 86 }; 87 88 audio_clk_c: audio_clk_c { 89 compatible = "fixed-clock"; 90 #clock-cells = <0>; 91 clock-frequency = <0>; 92 }; 93 94 /* External CAN clock - to be overridden by boards that provide it */ 95 can_clk: can { 96 compatible = "fixed-clock"; 97 #clock-cells = <0>; 98 clock-frequency = <0>; 99 }; 100 101 /* External SCIF clock - to be overridden by boards that provide it */ 102 scif_clk: scif { 103 compatible = "fixed-clock"; 104 #clock-cells = <0>; 105 clock-frequency = <0>; 106 }; 107 108 /* External PCIe clock - can be overridden by the board */ 109 pcie_bus_clk: pcie_bus { 110 compatible = "fixed-clock"; 111 #clock-cells = <0>; 112 clock-frequency = <0>; 113 }; 114 115 /* External USB clocks - can be overridden by the board */ 116 usb3s0_clk: usb3s0 { 117 compatible = "fixed-clock"; 118 #clock-cells = <0>; 119 clock-frequency = <0>; 120 }; 121 122 usb_extal_clk: usb_extal { 123 compatible = "fixed-clock"; 124 #clock-cells = <0>; 125 clock-frequency = <0>; 126 }; 127 128 timer { 129 compatible = "arm,armv8-timer"; 130 interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 131 <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 132 <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, 133 <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; 134 }; 135 136 pmu_a57 { 137 compatible = "arm,cortex-a57-pmu"; 138 interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, 139 <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; 140 interrupt-affinity = <&a57_0>, 141 <&a57_1>; 142 }; 143 144 soc { 145 compatible = "simple-bus"; 146 interrupt-parent = <&gic>; 147 #address-cells = <2>; 148 #size-cells = <2>; 149 ranges; 150 151 gic: interrupt-controller@f1010000 { 152 compatible = "arm,gic-400"; 153 #interrupt-cells = <3>; 154 #address-cells = <0>; 155 interrupt-controller; 156 reg = <0x0 0xf1010000 0 0x1000>, 157 <0x0 0xf1020000 0 0x20000>, 158 <0x0 0xf1040000 0 0x20000>, 159 <0x0 0xf1060000 0 0x20000>; 160 interrupts = <GIC_PPI 9 161 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; 162 clocks = <&cpg CPG_MOD 408>; 163 clock-names = "clk"; 164 power-domains = <&sysc 32>; 165 resets = <&cpg 408>; 166 }; 167 168 pfc: pin-controller@e6060000 { 169 compatible = "renesas,pfc-r8a77965"; 170 reg = <0 0xe6060000 0 0x50c>; 171 }; 172 173 cpg: clock-controller@e6150000 { 174 compatible = "renesas,r8a77965-cpg-mssr"; 175 reg = <0 0xe6150000 0 0x1000>; 176 clocks = <&extal_clk>, <&extalr_clk>; 177 clock-names = "extal", "extalr"; 178 #clock-cells = <2>; 179 #power-domain-cells = <0>; 180 #reset-cells = <1>; 181 }; 182 183 rst: reset-controller@e6160000 { 184 compatible = "renesas,r8a77965-rst"; 185 reg = <0 0xe6160000 0 0x0200>; 186 }; 187 188 prr: chipid@fff00044 { 189 compatible = "renesas,prr"; 190 reg = <0 0xfff00044 0 4>; 191 }; 192 193 sysc: system-controller@e6180000 { 194 compatible = "renesas,r8a77965-sysc"; 195 reg = <0 0xe6180000 0 0x0400>; 196 #power-domain-cells = <1>; 197 }; 198 199 gpio0: gpio@e6050000 { 200 compatible = "renesas,gpio-r8a77965", 201 "renesas,rcar-gen3-gpio"; 202 reg = <0 0xe6050000 0 0x50>; 203 interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; 204 #gpio-cells = <2>; 205 gpio-controller; 206 gpio-ranges = <&pfc 0 0 16>; 207 #interrupt-cells = <2>; 208 interrupt-controller; 209 clocks = <&cpg CPG_MOD 912>; 210 power-domains = <&sysc 32>; 211 resets = <&cpg 912>; 212 }; 213 214 gpio1: gpio@e6051000 { 215 compatible = "renesas,gpio-r8a77965", 216 "renesas,rcar-gen3-gpio"; 217 reg = <0 0xe6051000 0 0x50>; 218 interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; 219 #gpio-cells = <2>; 220 gpio-controller; 221 gpio-ranges = <&pfc 0 32 29>; 222 #interrupt-cells = <2>; 223 interrupt-controller; 224 clocks = <&cpg CPG_MOD 911>; 225 power-domains = <&sysc 32>; 226 resets = <&cpg 911>; 227 }; 228 229 gpio2: gpio@e6052000 { 230 compatible = "renesas,gpio-r8a77965", 231 "renesas,rcar-gen3-gpio"; 232 reg = <0 0xe6052000 0 0x50>; 233 interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; 234 #gpio-cells = <2>; 235 gpio-controller; 236 gpio-ranges = <&pfc 0 64 15>; 237 #interrupt-cells = <2>; 238 interrupt-controller; 239 clocks = <&cpg CPG_MOD 910>; 240 power-domains = <&sysc 32>; 241 resets = <&cpg 910>; 242 }; 243 244 gpio3: gpio@e6053000 { 245 compatible = "renesas,gpio-r8a77965", 246 "renesas,rcar-gen3-gpio"; 247 reg = <0 0xe6053000 0 0x50>; 248 interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; 249 #gpio-cells = <2>; 250 gpio-controller; 251 gpio-ranges = <&pfc 0 96 16>; 252 #interrupt-cells = <2>; 253 interrupt-controller; 254 clocks = <&cpg CPG_MOD 909>; 255 power-domains = <&sysc 32>; 256 resets = <&cpg 909>; 257 }; 258 259 gpio4: gpio@e6054000 { 260 compatible = "renesas,gpio-r8a77965", 261 "renesas,rcar-gen3-gpio"; 262 reg = <0 0xe6054000 0 0x50>; 263 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; 264 #gpio-cells = <2>; 265 gpio-controller; 266 gpio-ranges = <&pfc 0 128 18>; 267 #interrupt-cells = <2>; 268 interrupt-controller; 269 clocks = <&cpg CPG_MOD 908>; 270 power-domains = <&sysc 32>; 271 resets = <&cpg 908>; 272 }; 273 274 gpio5: gpio@e6055000 { 275 compatible = "renesas,gpio-r8a77965", 276 "renesas,rcar-gen3-gpio"; 277 reg = <0 0xe6055000 0 0x50>; 278 interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; 279 #gpio-cells = <2>; 280 gpio-controller; 281 gpio-ranges = <&pfc 0 160 26>; 282 #interrupt-cells = <2>; 283 interrupt-controller; 284 clocks = <&cpg CPG_MOD 907>; 285 power-domains = <&sysc 32>; 286 resets = <&cpg 907>; 287 }; 288 289 gpio6: gpio@e6055400 { 290 compatible = "renesas,gpio-r8a77965", 291 "renesas,rcar-gen3-gpio"; 292 reg = <0 0xe6055400 0 0x50>; 293 interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; 294 #gpio-cells = <2>; 295 gpio-controller; 296 gpio-ranges = <&pfc 0 192 32>; 297 #interrupt-cells = <2>; 298 interrupt-controller; 299 clocks = <&cpg CPG_MOD 906>; 300 power-domains = <&sysc 32>; 301 resets = <&cpg 906>; 302 }; 303 304 gpio7: gpio@e6055800 { 305 compatible = "renesas,gpio-r8a77965", 306 "renesas,rcar-gen3-gpio"; 307 reg = <0 0xe6055800 0 0x50>; 308 interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; 309 #gpio-cells = <2>; 310 gpio-controller; 311 gpio-ranges = <&pfc 0 224 4>; 312 #interrupt-cells = <2>; 313 interrupt-controller; 314 clocks = <&cpg CPG_MOD 905>; 315 power-domains = <&sysc 32>; 316 resets = <&cpg 905>; 317 }; 318 319 intc_ex: interrupt-controller@e61c0000 { 320 /* placeholder */ 321 }; 322 323 dmac0: dma-controller@e6700000 { 324 compatible = "renesas,dmac-r8a77965", 325 "renesas,rcar-dmac"; 326 reg = <0 0xe6700000 0 0x10000>; 327 interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH 328 GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH 329 GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH 330 GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH 331 GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH 332 GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH 333 GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH 334 GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH 335 GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH 336 GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH 337 GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH 338 GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH 339 GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH 340 GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH 341 GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH 342 GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH 343 GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>; 344 interrupt-names = "error", 345 "ch0", "ch1", "ch2", "ch3", 346 "ch4", "ch5", "ch6", "ch7", 347 "ch8", "ch9", "ch10", "ch11", 348 "ch12", "ch13", "ch14", "ch15"; 349 clocks = <&cpg CPG_MOD 219>; 350 clock-names = "fck"; 351 power-domains = <&sysc 32>; 352 resets = <&cpg 219>; 353 #dma-cells = <1>; 354 dma-channels = <16>; 355 }; 356 357 dmac1: dma-controller@e7300000 { 358 compatible = "renesas,dmac-r8a77965", 359 "renesas,rcar-dmac"; 360 reg = <0 0xe7300000 0 0x10000>; 361 interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH 362 GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH 363 GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH 364 GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH 365 GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH 366 GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH 367 GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH 368 GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH 369 GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH 370 GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH 371 GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH 372 GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH 373 GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH 374 GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH 375 GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH 376 GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH 377 GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>; 378 interrupt-names = "error", 379 "ch0", "ch1", "ch2", "ch3", 380 "ch4", "ch5", "ch6", "ch7", 381 "ch8", "ch9", "ch10", "ch11", 382 "ch12", "ch13", "ch14", "ch15"; 383 clocks = <&cpg CPG_MOD 218>; 384 clock-names = "fck"; 385 power-domains = <&sysc 32>; 386 resets = <&cpg 218>; 387 #dma-cells = <1>; 388 dma-channels = <16>; 389 }; 390 391 dmac2: dma-controller@e7310000 { 392 compatible = "renesas,dmac-r8a77965", 393 "renesas,rcar-dmac"; 394 reg = <0 0xe7310000 0 0x10000>; 395 interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH 396 GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH 397 GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH 398 GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH 399 GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH 400 GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH 401 GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH 402 GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH 403 GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH 404 GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH 405 GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH 406 GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH 407 GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH 408 GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH 409 GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH 410 GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH 411 GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>; 412 interrupt-names = "error", 413 "ch0", "ch1", "ch2", "ch3", 414 "ch4", "ch5", "ch6", "ch7", 415 "ch8", "ch9", "ch10", "ch11", 416 "ch12", "ch13", "ch14", "ch15"; 417 clocks = <&cpg CPG_MOD 217>; 418 clock-names = "fck"; 419 power-domains = <&sysc 32>; 420 resets = <&cpg 217>; 421 #dma-cells = <1>; 422 dma-channels = <16>; 423 }; 424 425 scif0: serial@e6e60000 { 426 compatible = "renesas,scif-r8a77965", 427 "renesas,rcar-gen3-scif", "renesas,scif"; 428 reg = <0 0xe6e60000 0 64>; 429 interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; 430 clocks = <&cpg CPG_MOD 207>, 431 <&cpg CPG_CORE 20>, 432 <&scif_clk>; 433 clock-names = "fck", "brg_int", "scif_clk"; 434 dmas = <&dmac1 0x51>, <&dmac1 0x50>, 435 <&dmac2 0x51>, <&dmac2 0x50>; 436 dma-names = "tx", "rx", "tx", "rx"; 437 power-domains = <&sysc 32>; 438 resets = <&cpg 207>; 439 status = "disabled"; 440 }; 441 442 scif1: serial@e6e68000 { 443 compatible = "renesas,scif-r8a77965", 444 "renesas,rcar-gen3-scif", "renesas,scif"; 445 reg = <0 0xe6e68000 0 64>; 446 interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; 447 clocks = <&cpg CPG_MOD 206>, 448 <&cpg CPG_CORE 20>, 449 <&scif_clk>; 450 clock-names = "fck", "brg_int", "scif_clk"; 451 dmas = <&dmac1 0x53>, <&dmac1 0x52>, 452 <&dmac2 0x53>, <&dmac2 0x52>; 453 dma-names = "tx", "rx", "tx", "rx"; 454 power-domains = <&sysc 32>; 455 resets = <&cpg 206>; 456 status = "disabled"; 457 }; 458 459 scif2: serial@e6e88000 { 460 compatible = "renesas,scif-r8a77965", 461 "renesas,rcar-gen3-scif", "renesas,scif"; 462 reg = <0 0xe6e88000 0 64>; 463 interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; 464 clocks = <&cpg CPG_MOD 310>, 465 <&cpg CPG_CORE 20>, 466 <&scif_clk>; 467 clock-names = "fck", "brg_int", "scif_clk"; 468 power-domains = <&sysc 32>; 469 resets = <&cpg 310>; 470 status = "disabled"; 471 }; 472 473 scif3: serial@e6c50000 { 474 compatible = "renesas,scif-r8a77965", 475 "renesas,rcar-gen3-scif", "renesas,scif"; 476 reg = <0 0xe6c50000 0 64>; 477 interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; 478 clocks = <&cpg CPG_MOD 204>, 479 <&cpg CPG_CORE 20>, 480 <&scif_clk>; 481 clock-names = "fck", "brg_int", "scif_clk"; 482 dmas = <&dmac0 0x57>, <&dmac0 0x56>; 483 dma-names = "tx", "rx"; 484 power-domains = <&sysc 32>; 485 resets = <&cpg 204>; 486 status = "disabled"; 487 }; 488 489 scif4: serial@e6c40000 { 490 compatible = "renesas,scif-r8a77965", 491 "renesas,rcar-gen3-scif", "renesas,scif"; 492 reg = <0 0xe6c40000 0 64>; 493 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; 494 clocks = <&cpg CPG_MOD 203>, 495 <&cpg CPG_CORE 20>, 496 <&scif_clk>; 497 clock-names = "fck", "brg_int", "scif_clk"; 498 dmas = <&dmac0 0x59>, <&dmac0 0x58>; 499 dma-names = "tx", "rx"; 500 power-domains = <&sysc 32>; 501 resets = <&cpg 203>; 502 status = "disabled"; 503 }; 504 505 scif5: serial@e6f30000 { 506 compatible = "renesas,scif-r8a77965", 507 "renesas,rcar-gen3-scif", "renesas,scif"; 508 reg = <0 0xe6f30000 0 64>; 509 interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; 510 clocks = <&cpg CPG_MOD 202>, 511 <&cpg CPG_CORE 20>, 512 <&scif_clk>; 513 clock-names = "fck", "brg_int", "scif_clk"; 514 dmas = <&dmac1 0x5b>, <&dmac1 0x5a>, 515 <&dmac2 0x5b>, <&dmac2 0x5a>; 516 dma-names = "tx", "rx", "tx", "rx"; 517 power-domains = <&sysc 32>; 518 resets = <&cpg 202>; 519 status = "disabled"; 520 }; 521 522 avb: ethernet@e6800000 { 523 compatible = "renesas,etheravb-r8a77965", 524 "renesas,etheravb-rcar-gen3"; 525 reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; 526 clocks = <&cpg CPG_MOD 812>; 527 power-domains = <&sysc 32>; 528 resets = <&cpg 812>; 529 phy-mode = "rgmii-txid"; 530 #address-cells = <1>; 531 #size-cells = <0>; 532 status = "disabled"; 533 }; 534 535 csi20: csi2@fea80000 { 536 /* placeholder */ 537 }; 538 539 csi40: csi2@feaa0000 { 540 /* placeholder */ 541 }; 542 543 vin0: video@e6ef0000 { 544 /* placeholder */ 545 }; 546 547 vin1: video@e6ef1000 { 548 /* placeholder */ 549 }; 550 551 vin2: video@e6ef2000 { 552 /* placeholder */ 553 }; 554 555 vin3: video@e6ef3000 { 556 /* placeholder */ 557 }; 558 559 vin4: video@e6ef4000 { 560 /* placeholder */ 561 }; 562 563 vin5: video@e6ef5000 { 564 /* placeholder */ 565 }; 566 567 vin6: video@e6ef6000 { 568 /* placeholder */ 569 }; 570 571 vin7: video@e6ef7000 { 572 /* placeholder */ 573 }; 574 575 ohci0: usb@ee080000 { 576 /* placeholder */ 577 }; 578 579 ehci0: usb@ee080100 { 580 compatible = "generic-ehci"; 581 reg = <0 0xee080100 0 0x100>; 582 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 583 clocks = <&cpg CPG_MOD 703>; 584 phys = <&usb2_phy0>; 585 phy-names = "usb"; 586 companion= <&ohci0>; 587 power-domains = <&sysc 32>; 588 resets = <&cpg 703>; 589 status = "disabled"; 590 }; 591 592 usb2_phy0: usb-phy@ee080200 { 593 compatible = "renesas,usb2-phy-r8a77965", 594 "renesas,rcar-gen3-usb2-phy"; 595 reg = <0 0xee080200 0 0x700>; 596 interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; 597 clocks = <&cpg CPG_MOD 703>; 598 power-domains = <&sysc 32>; 599 resets = <&cpg 703>; 600 #phy-cells = <0>; 601 status = "disabled"; 602 }; 603 604 ohci1: usb@ee0a0000 { 605 /* placeholder */ 606 }; 607 608 ehci1: usb@ee0a0100 { 609 compatible = "generic-ehci"; 610 reg = <0 0xee0a0100 0 0x100>; 611 interrupts = <GIC_SPI 112 IRQ_TYPE_LEVEL_HIGH>; 612 clocks = <&cpg CPG_MOD 702>; 613 phys = <&usb2_phy1>; 614 phy-names = "usb"; 615 companion= <&ohci1>; 616 power-domains = <&sysc 32>; 617 resets = <&cpg 702>; 618 status = "disabled"; 619 }; 620 621 i2c0: i2c@e6500000 { 622 /* placeholder */ 623 }; 624 625 i2c1: i2c@e6508000 { 626 /* placeholder */ 627 }; 628 629 i2c2: i2c@e6510000 { 630 /* placeholder */ 631 }; 632 633 i2c3: i2c@e66d0000 { 634 /* placeholder */ 635 }; 636 637 i2c4: i2c@e66d8000 { 638 /* placeholder */ 639 }; 640 641 i2c5: i2c@e66e0000 { 642 /* placeholder */ 643 }; 644 645 i2c6: i2c@e66e8000 { 646 /* placeholder */ 647 }; 648 649 i2c_dvfs: i2c@e60b0000 { 650 /* placeholder */ 651 }; 652 653 pwm0: pwm@e6e30000 { 654 /* placeholder */ 655 }; 656 657 pwm1: pwm@e6e31000 { 658 /* placeholder */ 659 }; 660 661 pwm2: pwm@e6e32000 { 662 /* placeholder */ 663 }; 664 665 pwm3: pwm@e6e33000 { 666 /* placeholder */ 667 }; 668 669 pwm4: pwm@e6e34000 { 670 /* placeholder */ 671 }; 672 673 pwm5: pwm@e6e35000 { 674 /* placeholder */ 675 }; 676 677 pwm6: pwm@e6e36000 { 678 /* placeholder */ 679 }; 680 681 du: display@feb00000 { 682 /* placeholder */ 683 684 ports { 685 port@0 { 686 reg = <0>; 687 du_out_rgb: endpoint { 688 }; 689 }; 690 port@1 { 691 reg = <1>; 692 du_out_hdmi0: endpoint { 693 }; 694 }; 695 port@2 { 696 reg = <2>; 697 du_out_lvds0: endpoint { 698 }; 699 }; 700 }; 701 }; 702 703 hsusb: usb@e6590000 { 704 /* placeholder */ 705 }; 706 707 pciec0: pcie@fe000000 { 708 /* placeholder */ 709 }; 710 711 pciec1: pcie@ee800000 { 712 /* placeholder */ 713 }; 714 715 rcar_sound: sound@ec500000 { 716 /* placeholder */ 717 718 rcar_sound,dvc { 719 dvc0: dvc-0 { 720 }; 721 dvc1: dvc-1 { 722 }; 723 }; 724 725 rcar_sound,src { 726 src0: src-0 { 727 }; 728 src1: src-1 { 729 }; 730 }; 731 732 rcar_sound,ssi { 733 ssi0: ssi-0 { 734 }; 735 ssi1: ssi-1 { 736 }; 737 }; 738 }; 739 740 usb2_phy1: usb-phy@ee0a0200 { 741 compatible = "renesas,usb2-phy-r8a77965", 742 "renesas,rcar-gen3-usb2-phy"; 743 reg = <0 0xee0a0200 0 0x700>; 744 clocks = <&cpg CPG_MOD 702>; 745 power-domains = <&sysc 32>; 746 resets = <&cpg 702>; 747 #phy-cells = <0>; 748 status = "disabled"; 749 }; 750 751 rpc: rpc@0xee200000 { 752 compatible = "renesas,rpc-r8a77965", "renesas,rpc"; 753 reg = <0 0xee200000 0 0x100>, <0 0x08000000 0 0>; 754 clocks = <&cpg CPG_MOD 917>; 755 bank-width = <2>; 756 status = "disabled"; 757 }; 758 759 sdhi0: sd@ee100000 { 760 compatible = "renesas,sdhi-r8a77965"; 761 reg = <0 0xee100000 0 0x2000>; 762 interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; 763 clocks = <&cpg CPG_MOD 314>; 764 max-frequency = <200000000>; 765 power-domains = <&sysc 32>; 766 resets = <&cpg 314>; 767 status = "disabled"; 768 }; 769 770 sdhi1: sd@ee120000 { 771 compatible = "renesas,sdhi-r8a77965"; 772 reg = <0 0xee120000 0 0x2000>; 773 interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; 774 clocks = <&cpg CPG_MOD 313>; 775 max-frequency = <200000000>; 776 power-domains = <&sysc 32>; 777 resets = <&cpg 313>; 778 status = "disabled"; 779 }; 780 781 sdhi2: sd@ee140000 { 782 compatible = "renesas,sdhi-r8a77965"; 783 reg = <0 0xee140000 0 0x2000>; 784 interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; 785 clocks = <&cpg CPG_MOD 312>; 786 max-frequency = <200000000>; 787 power-domains = <&sysc 32>; 788 resets = <&cpg 312>; 789 status = "disabled"; 790 }; 791 792 sdhi3: sd@ee160000 { 793 compatible = "renesas,sdhi-r8a77965"; 794 reg = <0 0xee160000 0 0x2000>; 795 interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; 796 clocks = <&cpg CPG_MOD 311>; 797 max-frequency = <200000000>; 798 power-domains = <&sysc 32>; 799 resets = <&cpg 311>; 800 status = "disabled"; 801 }; 802 803 usb3_phy0: usb-phy@e65ee000 { 804 /* placeholder */ 805 }; 806 807 usb3_peri0: usb@ee020000 { 808 /* placeholder */ 809 }; 810 811 xhci0: usb@ee000000 { 812 compatible = "renesas,xhci-r8a77965", 813 "renesas,rcar-gen3-xhci"; 814 reg = <0 0xee000000 0 0xc00>; 815 interrupts = <GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>; 816 clocks = <&cpg CPG_MOD 328>; 817 power-domains = <&sysc 32>; 818 resets = <&cpg 328>; 819 status = "disabled"; 820 }; 821 822 wdt0: watchdog@e6020000 { 823 /* placeholder */ 824 }; 825 }; 826}; 827