Marek Vasut | a8c01e0 | 2018-02-26 10:35:15 +0100 | [diff] [blame] | 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 { |
Marek Vasut | 5f0a800 | 2018-03-01 21:50:56 +0100 | [diff] [blame^] | 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"; |
Marek Vasut | a8c01e0 | 2018-02-26 10:35:15 +0100 | [diff] [blame] | 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 | /* placeholder */ |
| 581 | }; |
| 582 | |
| 583 | usb2_phy0: usb-phy@ee080200 { |
| 584 | /* placeholder */ |
| 585 | }; |
| 586 | |
| 587 | ohci1: usb@ee0a0000 { |
| 588 | /* placeholder */ |
| 589 | }; |
| 590 | |
| 591 | ehci1: usb@ee0a0100 { |
| 592 | /* placeholder */ |
| 593 | }; |
| 594 | |
| 595 | i2c0: i2c@e6500000 { |
| 596 | /* placeholder */ |
| 597 | }; |
| 598 | |
| 599 | i2c1: i2c@e6508000 { |
| 600 | /* placeholder */ |
| 601 | }; |
| 602 | |
| 603 | i2c2: i2c@e6510000 { |
| 604 | /* placeholder */ |
| 605 | }; |
| 606 | |
| 607 | i2c3: i2c@e66d0000 { |
| 608 | /* placeholder */ |
| 609 | }; |
| 610 | |
| 611 | i2c4: i2c@e66d8000 { |
| 612 | /* placeholder */ |
| 613 | }; |
| 614 | |
| 615 | i2c5: i2c@e66e0000 { |
| 616 | /* placeholder */ |
| 617 | }; |
| 618 | |
| 619 | i2c6: i2c@e66e8000 { |
| 620 | /* placeholder */ |
| 621 | }; |
| 622 | |
| 623 | i2c_dvfs: i2c@e60b0000 { |
| 624 | /* placeholder */ |
| 625 | }; |
| 626 | |
| 627 | pwm0: pwm@e6e30000 { |
| 628 | /* placeholder */ |
| 629 | }; |
| 630 | |
| 631 | pwm1: pwm@e6e31000 { |
| 632 | /* placeholder */ |
| 633 | }; |
| 634 | |
| 635 | pwm2: pwm@e6e32000 { |
| 636 | /* placeholder */ |
| 637 | }; |
| 638 | |
| 639 | pwm3: pwm@e6e33000 { |
| 640 | /* placeholder */ |
| 641 | }; |
| 642 | |
| 643 | pwm4: pwm@e6e34000 { |
| 644 | /* placeholder */ |
| 645 | }; |
| 646 | |
| 647 | pwm5: pwm@e6e35000 { |
| 648 | /* placeholder */ |
| 649 | }; |
| 650 | |
| 651 | pwm6: pwm@e6e36000 { |
| 652 | /* placeholder */ |
| 653 | }; |
| 654 | |
| 655 | du: display@feb00000 { |
| 656 | /* placeholder */ |
| 657 | |
| 658 | ports { |
| 659 | port@0 { |
| 660 | reg = <0>; |
| 661 | du_out_rgb: endpoint { |
| 662 | }; |
| 663 | }; |
| 664 | port@1 { |
| 665 | reg = <1>; |
| 666 | du_out_hdmi0: endpoint { |
| 667 | }; |
| 668 | }; |
| 669 | port@2 { |
| 670 | reg = <2>; |
| 671 | du_out_lvds0: endpoint { |
| 672 | }; |
| 673 | }; |
| 674 | }; |
| 675 | }; |
| 676 | |
| 677 | hsusb: usb@e6590000 { |
| 678 | /* placeholder */ |
| 679 | }; |
| 680 | |
| 681 | pciec0: pcie@fe000000 { |
| 682 | /* placeholder */ |
| 683 | }; |
| 684 | |
| 685 | pciec1: pcie@ee800000 { |
| 686 | /* placeholder */ |
| 687 | }; |
| 688 | |
| 689 | rcar_sound: sound@ec500000 { |
| 690 | /* placeholder */ |
| 691 | |
| 692 | rcar_sound,dvc { |
| 693 | dvc0: dvc-0 { |
| 694 | }; |
| 695 | dvc1: dvc-1 { |
| 696 | }; |
| 697 | }; |
| 698 | |
| 699 | rcar_sound,src { |
| 700 | src0: src-0 { |
| 701 | }; |
| 702 | src1: src-1 { |
| 703 | }; |
| 704 | }; |
| 705 | |
| 706 | rcar_sound,ssi { |
| 707 | ssi0: ssi-0 { |
| 708 | }; |
| 709 | ssi1: ssi-1 { |
| 710 | }; |
| 711 | }; |
| 712 | }; |
| 713 | |
| 714 | usb2_phy1: usb-phy@ee0a0200 { |
| 715 | /* placeholder */ |
| 716 | }; |
| 717 | |
| 718 | sdhi0: sd@ee100000 { |
| 719 | /* placeholder */ |
| 720 | }; |
| 721 | |
| 722 | sdhi1: sd@ee120000 { |
| 723 | /* placeholder */ |
| 724 | }; |
| 725 | |
| 726 | sdhi2: sd@ee140000 { |
| 727 | /* placeholder */ |
| 728 | }; |
| 729 | |
| 730 | sdhi3: sd@ee160000 { |
| 731 | /* placeholder */ |
| 732 | }; |
| 733 | |
| 734 | usb3_phy0: usb-phy@e65ee000 { |
| 735 | /* placeholder */ |
| 736 | }; |
| 737 | |
| 738 | usb3_peri0: usb@ee020000 { |
| 739 | /* placeholder */ |
| 740 | }; |
| 741 | |
| 742 | xhci0: usb@ee000000 { |
| 743 | /* placeholder */ |
| 744 | }; |
| 745 | |
| 746 | wdt0: watchdog@e6020000 { |
| 747 | /* placeholder */ |
| 748 | }; |
| 749 | }; |
| 750 | }; |