Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
| 2 | /* |
| 3 | * Device Tree Source for the r8a7744 SoC |
| 4 | * |
| 5 | * Copyright (C) 2018 Renesas Electronics Corp. |
| 6 | */ |
| 7 | |
| 8 | #include <dt-bindings/interrupt-controller/irq.h> |
| 9 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 10 | #include <dt-bindings/clock/r8a7744-cpg-mssr.h> |
| 11 | #include <dt-bindings/power/r8a7744-sysc.h> |
| 12 | |
| 13 | / { |
| 14 | compatible = "renesas,r8a7744"; |
| 15 | #address-cells = <2>; |
| 16 | #size-cells = <2>; |
| 17 | |
| 18 | /* |
| 19 | * The external audio clocks are configured as 0 Hz fixed frequency |
| 20 | * clocks by default. |
| 21 | * Boards that provide audio clocks should override them. |
| 22 | */ |
| 23 | audio_clk_a: audio_clk_a { |
| 24 | compatible = "fixed-clock"; |
| 25 | #clock-cells = <0>; |
| 26 | clock-frequency = <0>; |
| 27 | }; |
| 28 | |
| 29 | audio_clk_b: audio_clk_b { |
| 30 | compatible = "fixed-clock"; |
| 31 | #clock-cells = <0>; |
| 32 | clock-frequency = <0>; |
| 33 | }; |
| 34 | |
| 35 | audio_clk_c: audio_clk_c { |
| 36 | compatible = "fixed-clock"; |
| 37 | #clock-cells = <0>; |
| 38 | clock-frequency = <0>; |
| 39 | }; |
| 40 | |
| 41 | /* External CAN clock */ |
| 42 | can_clk: can { |
| 43 | compatible = "fixed-clock"; |
| 44 | #clock-cells = <0>; |
| 45 | /* This value must be overridden by the board. */ |
| 46 | clock-frequency = <0>; |
| 47 | }; |
| 48 | |
| 49 | cpus { |
| 50 | #address-cells = <1>; |
| 51 | #size-cells = <0>; |
Biju Das | f1546da | 2018-11-30 15:26:21 +0000 | [diff] [blame] | 52 | enable-method = "renesas,apmu"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 53 | |
| 54 | cpu0: cpu@0 { |
| 55 | device_type = "cpu"; |
| 56 | compatible = "arm,cortex-a15"; |
| 57 | reg = <0>; |
| 58 | clock-frequency = <1500000000>; |
| 59 | clocks = <&cpg CPG_CORE R8A7744_CLK_Z>; |
| 60 | clock-latency = <300000>; /* 300 us */ |
| 61 | power-domains = <&sysc R8A7744_PD_CA15_CPU0>; |
| 62 | next-level-cache = <&L2_CA15>; |
| 63 | |
| 64 | /* kHz - uV - OPPs unknown yet */ |
| 65 | operating-points = <1500000 1000000>, |
| 66 | <1312500 1000000>, |
| 67 | <1125000 1000000>, |
| 68 | < 937500 1000000>, |
| 69 | < 750000 1000000>, |
| 70 | < 375000 1000000>; |
| 71 | }; |
| 72 | |
Biju Das | f1546da | 2018-11-30 15:26:21 +0000 | [diff] [blame] | 73 | cpu1: cpu@1 { |
| 74 | device_type = "cpu"; |
| 75 | compatible = "arm,cortex-a15"; |
| 76 | reg = <1>; |
| 77 | clock-frequency = <1500000000>; |
| 78 | clocks = <&cpg CPG_CORE R8A7744_CLK_Z>; |
| 79 | clock-latency = <300000>; /* 300 us */ |
| 80 | power-domains = <&sysc R8A7744_PD_CA15_CPU1>; |
| 81 | next-level-cache = <&L2_CA15>; |
| 82 | |
| 83 | /* kHz - uV - OPPs unknown yet */ |
| 84 | operating-points = <1500000 1000000>, |
| 85 | <1312500 1000000>, |
| 86 | <1125000 1000000>, |
| 87 | < 937500 1000000>, |
| 88 | < 750000 1000000>, |
| 89 | < 375000 1000000>; |
| 90 | }; |
| 91 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 92 | L2_CA15: cache-controller-0 { |
| 93 | compatible = "cache"; |
| 94 | cache-unified; |
| 95 | cache-level = <2>; |
| 96 | power-domains = <&sysc R8A7744_PD_CA15_SCU>; |
| 97 | }; |
| 98 | }; |
| 99 | |
| 100 | /* External root clock */ |
| 101 | extal_clk: extal { |
| 102 | compatible = "fixed-clock"; |
| 103 | #clock-cells = <0>; |
| 104 | /* This value must be overridden by the board. */ |
| 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 | pmu { |
| 116 | compatible = "arm,cortex-a15-pmu"; |
| 117 | interrupts-extended = <&gic GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 118 | <&gic GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
Biju Das | f1546da | 2018-11-30 15:26:21 +0000 | [diff] [blame] | 119 | interrupt-affinity = <&cpu0>, <&cpu1>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 120 | }; |
| 121 | |
| 122 | /* External SCIF clock */ |
| 123 | scif_clk: scif { |
| 124 | compatible = "fixed-clock"; |
| 125 | #clock-cells = <0>; |
| 126 | /* This value must be overridden by the board. */ |
| 127 | clock-frequency = <0>; |
| 128 | }; |
| 129 | |
| 130 | soc { |
| 131 | compatible = "simple-bus"; |
| 132 | interrupt-parent = <&gic>; |
| 133 | |
| 134 | #address-cells = <2>; |
| 135 | #size-cells = <2>; |
| 136 | ranges; |
| 137 | |
Biju Das | 336a425 | 2018-11-30 15:26:30 +0000 | [diff] [blame^] | 138 | rwdt: watchdog@e6020000 { |
| 139 | compatible = "renesas,r8a7744-wdt", |
| 140 | "renesas,rcar-gen2-wdt"; |
| 141 | reg = <0 0xe6020000 0 0x0c>; |
| 142 | clocks = <&cpg CPG_MOD 402>; |
| 143 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 144 | resets = <&cpg 402>; |
| 145 | status = "disabled"; |
| 146 | }; |
| 147 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 148 | gpio0: gpio@e6050000 { |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 149 | compatible = "renesas,gpio-r8a7744", |
| 150 | "renesas,rcar-gen2-gpio"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 151 | reg = <0 0xe6050000 0 0x50>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 152 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 153 | #gpio-cells = <2>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 154 | gpio-controller; |
| 155 | gpio-ranges = <&pfc 0 0 32>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 156 | #interrupt-cells = <2>; |
| 157 | interrupt-controller; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 158 | clocks = <&cpg CPG_MOD 912>; |
| 159 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 160 | resets = <&cpg 912>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 161 | }; |
| 162 | |
| 163 | gpio1: gpio@e6051000 { |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 164 | compatible = "renesas,gpio-r8a7744", |
| 165 | "renesas,rcar-gen2-gpio"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 166 | reg = <0 0xe6051000 0 0x50>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 167 | interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 168 | #gpio-cells = <2>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 169 | gpio-controller; |
| 170 | gpio-ranges = <&pfc 0 32 26>; |
| 171 | #interrupt-cells = <2>; |
| 172 | interrupt-controller; |
| 173 | clocks = <&cpg CPG_MOD 911>; |
| 174 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 175 | resets = <&cpg 911>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 176 | }; |
| 177 | |
| 178 | gpio2: gpio@e6052000 { |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 179 | compatible = "renesas,gpio-r8a7744", |
| 180 | "renesas,rcar-gen2-gpio"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 181 | reg = <0 0xe6052000 0 0x50>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 182 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 183 | #gpio-cells = <2>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 184 | gpio-controller; |
| 185 | gpio-ranges = <&pfc 0 64 32>; |
| 186 | #interrupt-cells = <2>; |
| 187 | interrupt-controller; |
| 188 | clocks = <&cpg CPG_MOD 910>; |
| 189 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 190 | resets = <&cpg 910>; |
| 191 | }; |
| 192 | |
| 193 | gpio3: gpio@e6053000 { |
| 194 | compatible = "renesas,gpio-r8a7744", |
| 195 | "renesas,rcar-gen2-gpio"; |
| 196 | reg = <0 0xe6053000 0 0x50>; |
| 197 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 198 | #gpio-cells = <2>; |
| 199 | gpio-controller; |
| 200 | gpio-ranges = <&pfc 0 96 32>; |
| 201 | #interrupt-cells = <2>; |
| 202 | interrupt-controller; |
| 203 | clocks = <&cpg CPG_MOD 909>; |
| 204 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 205 | resets = <&cpg 909>; |
| 206 | }; |
| 207 | |
| 208 | gpio4: gpio@e6054000 { |
| 209 | compatible = "renesas,gpio-r8a7744", |
| 210 | "renesas,rcar-gen2-gpio"; |
| 211 | reg = <0 0xe6054000 0 0x50>; |
| 212 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 213 | #gpio-cells = <2>; |
| 214 | gpio-controller; |
| 215 | gpio-ranges = <&pfc 0 128 32>; |
| 216 | #interrupt-cells = <2>; |
| 217 | interrupt-controller; |
| 218 | clocks = <&cpg CPG_MOD 908>; |
| 219 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 220 | resets = <&cpg 908>; |
| 221 | }; |
| 222 | |
| 223 | gpio5: gpio@e6055000 { |
| 224 | compatible = "renesas,gpio-r8a7744", |
| 225 | "renesas,rcar-gen2-gpio"; |
| 226 | reg = <0 0xe6055000 0 0x50>; |
| 227 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 228 | #gpio-cells = <2>; |
| 229 | gpio-controller; |
| 230 | gpio-ranges = <&pfc 0 160 32>; |
| 231 | #interrupt-cells = <2>; |
| 232 | interrupt-controller; |
| 233 | clocks = <&cpg CPG_MOD 907>; |
| 234 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 235 | resets = <&cpg 907>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 236 | }; |
| 237 | |
| 238 | gpio6: gpio@e6055400 { |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 239 | compatible = "renesas,gpio-r8a7744", |
| 240 | "renesas,rcar-gen2-gpio"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 241 | reg = <0 0xe6055400 0 0x50>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 242 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 243 | #gpio-cells = <2>; |
Biju Das | 78ce155 | 2018-11-30 15:26:19 +0000 | [diff] [blame] | 244 | gpio-controller; |
| 245 | gpio-ranges = <&pfc 0 192 32>; |
| 246 | #interrupt-cells = <2>; |
| 247 | interrupt-controller; |
| 248 | clocks = <&cpg CPG_MOD 905>; |
| 249 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 250 | resets = <&cpg 905>; |
| 251 | }; |
| 252 | |
| 253 | gpio7: gpio@e6055800 { |
| 254 | compatible = "renesas,gpio-r8a7744", |
| 255 | "renesas,rcar-gen2-gpio"; |
| 256 | reg = <0 0xe6055800 0 0x50>; |
| 257 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 258 | #gpio-cells = <2>; |
| 259 | gpio-controller; |
| 260 | gpio-ranges = <&pfc 0 224 26>; |
| 261 | #interrupt-cells = <2>; |
| 262 | interrupt-controller; |
| 263 | clocks = <&cpg CPG_MOD 904>; |
| 264 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 265 | resets = <&cpg 904>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 266 | }; |
| 267 | |
| 268 | pfc: pin-controller@e6060000 { |
| 269 | compatible = "renesas,pfc-r8a7744"; |
| 270 | reg = <0 0xe6060000 0 0x250>; |
| 271 | }; |
| 272 | |
| 273 | cpg: clock-controller@e6150000 { |
| 274 | compatible = "renesas,r8a7744-cpg-mssr"; |
| 275 | reg = <0 0xe6150000 0 0x1000>; |
| 276 | clocks = <&extal_clk>, <&usb_extal_clk>; |
| 277 | clock-names = "extal", "usb_extal"; |
| 278 | #clock-cells = <2>; |
| 279 | #power-domain-cells = <0>; |
| 280 | #reset-cells = <1>; |
| 281 | }; |
| 282 | |
Biju Das | f1546da | 2018-11-30 15:26:21 +0000 | [diff] [blame] | 283 | apmu@e6152000 { |
| 284 | compatible = "renesas,r8a7744-apmu", "renesas,apmu"; |
| 285 | reg = <0 0xe6152000 0 0x188>; |
| 286 | cpus = <&cpu0 &cpu1>; |
| 287 | }; |
| 288 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 289 | rst: reset-controller@e6160000 { |
| 290 | compatible = "renesas,r8a7744-rst"; |
| 291 | reg = <0 0xe6160000 0 0x100>; |
| 292 | }; |
| 293 | |
| 294 | sysc: system-controller@e6180000 { |
| 295 | compatible = "renesas,r8a7744-sysc"; |
| 296 | reg = <0 0xe6180000 0 0x200>; |
| 297 | #power-domain-cells = <1>; |
| 298 | }; |
| 299 | |
| 300 | icram0: sram@e63a0000 { |
| 301 | compatible = "mmio-sram"; |
| 302 | reg = <0 0xe63a0000 0 0x12000>; |
| 303 | }; |
| 304 | |
| 305 | icram1: sram@e63c0000 { |
| 306 | compatible = "mmio-sram"; |
| 307 | reg = <0 0xe63c0000 0 0x1000>; |
| 308 | #address-cells = <1>; |
| 309 | #size-cells = <1>; |
| 310 | ranges = <0 0 0xe63c0000 0x1000>; |
| 311 | |
| 312 | smp-sram@0 { |
| 313 | compatible = "renesas,smp-sram"; |
| 314 | reg = <0 0x100>; |
| 315 | }; |
| 316 | }; |
| 317 | |
| 318 | icram2: sram@e6300000 { |
| 319 | compatible = "mmio-sram"; |
| 320 | reg = <0 0xe6300000 0 0x40000>; |
| 321 | }; |
| 322 | |
Biju Das | fb64de5 | 2018-11-30 15:26:23 +0000 | [diff] [blame] | 323 | /* The memory map in the User's Manual maps the cores to |
| 324 | * bus numbers |
| 325 | */ |
| 326 | i2c0: i2c@e6508000 { |
| 327 | #address-cells = <1>; |
| 328 | #size-cells = <0>; |
| 329 | compatible = "renesas,i2c-r8a7744", |
| 330 | "renesas,rcar-gen2-i2c"; |
| 331 | reg = <0 0xe6508000 0 0x40>; |
| 332 | interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; |
| 333 | clocks = <&cpg CPG_MOD 931>; |
| 334 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 335 | resets = <&cpg 931>; |
| 336 | i2c-scl-internal-delay-ns = <6>; |
| 337 | status = "disabled"; |
| 338 | }; |
| 339 | |
| 340 | i2c1: i2c@e6518000 { |
| 341 | #address-cells = <1>; |
| 342 | #size-cells = <0>; |
| 343 | compatible = "renesas,i2c-r8a7744", |
| 344 | "renesas,rcar-gen2-i2c"; |
| 345 | reg = <0 0xe6518000 0 0x40>; |
| 346 | interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>; |
| 347 | clocks = <&cpg CPG_MOD 930>; |
| 348 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 349 | resets = <&cpg 930>; |
| 350 | i2c-scl-internal-delay-ns = <6>; |
| 351 | status = "disabled"; |
| 352 | }; |
| 353 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 354 | i2c2: i2c@e6530000 { |
| 355 | #address-cells = <1>; |
| 356 | #size-cells = <0>; |
Biju Das | fb64de5 | 2018-11-30 15:26:23 +0000 | [diff] [blame] | 357 | compatible = "renesas,i2c-r8a7744", |
| 358 | "renesas,rcar-gen2-i2c"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 359 | reg = <0 0xe6530000 0 0x40>; |
Biju Das | fb64de5 | 2018-11-30 15:26:23 +0000 | [diff] [blame] | 360 | interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; |
| 361 | clocks = <&cpg CPG_MOD 929>; |
| 362 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 363 | resets = <&cpg 929>; |
| 364 | i2c-scl-internal-delay-ns = <6>; |
| 365 | status = "disabled"; |
| 366 | }; |
| 367 | |
| 368 | i2c3: i2c@e6540000 { |
| 369 | #address-cells = <1>; |
| 370 | #size-cells = <0>; |
| 371 | compatible = "renesas,i2c-r8a7744", |
| 372 | "renesas,rcar-gen2-i2c"; |
| 373 | reg = <0 0xe6540000 0 0x40>; |
| 374 | interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>; |
| 375 | clocks = <&cpg CPG_MOD 928>; |
| 376 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 377 | resets = <&cpg 928>; |
| 378 | i2c-scl-internal-delay-ns = <6>; |
| 379 | status = "disabled"; |
| 380 | }; |
| 381 | |
| 382 | i2c4: i2c@e6520000 { |
| 383 | #address-cells = <1>; |
| 384 | #size-cells = <0>; |
| 385 | compatible = "renesas,i2c-r8a7744", |
| 386 | "renesas,rcar-gen2-i2c"; |
| 387 | reg = <0 0xe6520000 0 0x40>; |
| 388 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
| 389 | clocks = <&cpg CPG_MOD 927>; |
| 390 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 391 | resets = <&cpg 927>; |
| 392 | i2c-scl-internal-delay-ns = <6>; |
| 393 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 394 | }; |
| 395 | |
| 396 | i2c5: i2c@e6528000 { |
| 397 | /* doesn't need pinmux */ |
| 398 | #address-cells = <1>; |
| 399 | #size-cells = <0>; |
Biju Das | fb64de5 | 2018-11-30 15:26:23 +0000 | [diff] [blame] | 400 | compatible = "renesas,i2c-r8a7744", |
| 401 | "renesas,rcar-gen2-i2c"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 402 | reg = <0 0xe6528000 0 0x40>; |
Biju Das | fb64de5 | 2018-11-30 15:26:23 +0000 | [diff] [blame] | 403 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 404 | clocks = <&cpg CPG_MOD 925>; |
| 405 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 406 | resets = <&cpg 925>; |
| 407 | i2c-scl-internal-delay-ns = <110>; |
| 408 | status = "disabled"; |
| 409 | }; |
| 410 | |
| 411 | iic0: i2c@e6500000 { |
| 412 | #address-cells = <1>; |
| 413 | #size-cells = <0>; |
| 414 | compatible = "renesas,iic-r8a7744", |
| 415 | "renesas,rcar-gen2-iic", |
| 416 | "renesas,rmobile-iic"; |
| 417 | reg = <0 0xe6500000 0 0x425>; |
| 418 | interrupts = <GIC_SPI 174 IRQ_TYPE_LEVEL_HIGH>; |
| 419 | clocks = <&cpg CPG_MOD 318>; |
| 420 | dmas = <&dmac0 0x61>, <&dmac0 0x62>, |
| 421 | <&dmac1 0x61>, <&dmac1 0x62>; |
| 422 | dma-names = "tx", "rx", "tx", "rx"; |
| 423 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 424 | resets = <&cpg 318>; |
| 425 | status = "disabled"; |
| 426 | }; |
| 427 | |
| 428 | iic1: i2c@e6510000 { |
| 429 | #address-cells = <1>; |
| 430 | #size-cells = <0>; |
| 431 | compatible = "renesas,iic-r8a7744", |
| 432 | "renesas,rcar-gen2-iic", |
| 433 | "renesas,rmobile-iic"; |
| 434 | reg = <0 0xe6510000 0 0x425>; |
| 435 | interrupts = <GIC_SPI 175 IRQ_TYPE_LEVEL_HIGH>; |
| 436 | clocks = <&cpg CPG_MOD 323>; |
| 437 | dmas = <&dmac0 0x65>, <&dmac0 0x66>, |
| 438 | <&dmac1 0x65>, <&dmac1 0x66>; |
| 439 | dma-names = "tx", "rx", "tx", "rx"; |
| 440 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 441 | resets = <&cpg 323>; |
| 442 | status = "disabled"; |
| 443 | }; |
| 444 | |
| 445 | iic3: i2c@e60b0000 { |
| 446 | /* doesn't need pinmux */ |
| 447 | #address-cells = <1>; |
| 448 | #size-cells = <0>; |
| 449 | compatible = "renesas,iic-r8a7744"; |
| 450 | reg = <0 0xe60b0000 0 0x425>; |
| 451 | interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; |
| 452 | clocks = <&cpg CPG_MOD 926>; |
| 453 | dmas = <&dmac0 0x77>, <&dmac0 0x78>, |
| 454 | <&dmac1 0x77>, <&dmac1 0x78>; |
| 455 | dma-names = "tx", "rx", "tx", "rx"; |
| 456 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 457 | resets = <&cpg 926>; |
| 458 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 459 | }; |
| 460 | |
| 461 | hsusb: usb@e6590000 { |
Biju Das | a5d5693 | 2018-11-30 15:26:29 +0000 | [diff] [blame] | 462 | compatible = "renesas,usbhs-r8a7744", |
| 463 | "renesas,rcar-gen2-usbhs"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 464 | reg = <0 0xe6590000 0 0x100>; |
Biju Das | a5d5693 | 2018-11-30 15:26:29 +0000 | [diff] [blame] | 465 | interrupts = <GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>; |
| 466 | clocks = <&cpg CPG_MOD 704>; |
| 467 | dmas = <&usb_dmac0 0>, <&usb_dmac0 1>, |
| 468 | <&usb_dmac1 0>, <&usb_dmac1 1>; |
| 469 | dma-names = "ch0", "ch1", "ch2", "ch3"; |
| 470 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 471 | resets = <&cpg 704>; |
| 472 | renesas,buswait = <4>; |
| 473 | phys = <&usb0 1>; |
| 474 | phy-names = "usb"; |
| 475 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 476 | }; |
| 477 | |
| 478 | usbphy: usb-phy@e6590100 { |
Biju Das | ce28396 | 2018-11-30 15:26:28 +0000 | [diff] [blame] | 479 | compatible = "renesas,usb-phy-r8a7744", |
| 480 | "renesas,rcar-gen2-usb-phy"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 481 | reg = <0 0xe6590100 0 0x100>; |
Biju Das | ce28396 | 2018-11-30 15:26:28 +0000 | [diff] [blame] | 482 | #address-cells = <1>; |
| 483 | #size-cells = <0>; |
| 484 | clocks = <&cpg CPG_MOD 704>; |
| 485 | clock-names = "usbhs"; |
| 486 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 487 | resets = <&cpg 704>; |
| 488 | status = "disabled"; |
| 489 | |
| 490 | usb0: usb-channel@0 { |
| 491 | reg = <0>; |
| 492 | #phy-cells = <1>; |
| 493 | }; |
| 494 | usb2: usb-channel@2 { |
| 495 | reg = <2>; |
| 496 | #phy-cells = <1>; |
| 497 | }; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 498 | }; |
| 499 | |
Biju Das | a5d5693 | 2018-11-30 15:26:29 +0000 | [diff] [blame] | 500 | usb_dmac0: dma-controller@e65a0000 { |
| 501 | compatible = "renesas,r8a7744-usb-dmac", |
| 502 | "renesas,usb-dmac"; |
| 503 | reg = <0 0xe65a0000 0 0x100>; |
| 504 | interrupts = <GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH |
| 505 | GIC_SPI 109 IRQ_TYPE_LEVEL_HIGH>; |
| 506 | interrupt-names = "ch0", "ch1"; |
| 507 | clocks = <&cpg CPG_MOD 330>; |
| 508 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 509 | resets = <&cpg 330>; |
| 510 | #dma-cells = <1>; |
| 511 | dma-channels = <2>; |
| 512 | }; |
| 513 | |
| 514 | usb_dmac1: dma-controller@e65b0000 { |
| 515 | compatible = "renesas,r8a7744-usb-dmac", |
| 516 | "renesas,usb-dmac"; |
| 517 | reg = <0 0xe65b0000 0 0x100>; |
| 518 | interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH |
| 519 | GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; |
| 520 | interrupt-names = "ch0", "ch1"; |
| 521 | clocks = <&cpg CPG_MOD 331>; |
| 522 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 523 | resets = <&cpg 331>; |
| 524 | #dma-cells = <1>; |
| 525 | dma-channels = <2>; |
| 526 | }; |
| 527 | |
Biju Das | 484775a | 2018-11-30 15:26:18 +0000 | [diff] [blame] | 528 | dmac0: dma-controller@e6700000 { |
| 529 | compatible = "renesas,dmac-r8a7744", |
| 530 | "renesas,rcar-dmac"; |
| 531 | reg = <0 0xe6700000 0 0x20000>; |
| 532 | interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH |
| 533 | GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH |
| 534 | GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH |
| 535 | GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH |
| 536 | GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH |
| 537 | GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH |
| 538 | GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH |
| 539 | GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH |
| 540 | GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH |
| 541 | GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH |
| 542 | GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH |
| 543 | GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH |
| 544 | GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH |
| 545 | GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH |
| 546 | GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH |
| 547 | GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>; |
| 548 | interrupt-names = "error", |
| 549 | "ch0", "ch1", "ch2", "ch3", |
| 550 | "ch4", "ch5", "ch6", "ch7", |
| 551 | "ch8", "ch9", "ch10", "ch11", |
| 552 | "ch12", "ch13", "ch14"; |
| 553 | clocks = <&cpg CPG_MOD 219>; |
| 554 | clock-names = "fck"; |
| 555 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 556 | resets = <&cpg 219>; |
| 557 | #dma-cells = <1>; |
| 558 | dma-channels = <15>; |
| 559 | }; |
| 560 | |
| 561 | dmac1: dma-controller@e6720000 { |
| 562 | compatible = "renesas,dmac-r8a7744", |
| 563 | "renesas,rcar-dmac"; |
| 564 | reg = <0 0xe6720000 0 0x20000>; |
| 565 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH |
| 566 | GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH |
| 567 | GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH |
| 568 | GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH |
| 569 | GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH |
| 570 | GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH |
| 571 | GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH |
| 572 | GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH |
| 573 | GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH |
| 574 | GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH |
| 575 | GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH |
| 576 | GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH |
| 577 | GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH |
| 578 | GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH |
| 579 | GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH |
| 580 | GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>; |
| 581 | interrupt-names = "error", |
| 582 | "ch0", "ch1", "ch2", "ch3", |
| 583 | "ch4", "ch5", "ch6", "ch7", |
| 584 | "ch8", "ch9", "ch10", "ch11", |
| 585 | "ch12", "ch13", "ch14"; |
| 586 | clocks = <&cpg CPG_MOD 218>; |
| 587 | clock-names = "fck"; |
| 588 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 589 | resets = <&cpg 218>; |
| 590 | #dma-cells = <1>; |
| 591 | dma-channels = <15>; |
| 592 | }; |
| 593 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 594 | avb: ethernet@e6800000 { |
Biju Das | d94369f | 2018-11-30 15:26:20 +0000 | [diff] [blame] | 595 | compatible = "renesas,etheravb-r8a7744", |
| 596 | "renesas,etheravb-rcar-gen2"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 597 | reg = <0 0xe6800000 0 0x800>, <0 0xee0e8000 0 0x4000>; |
Biju Das | d94369f | 2018-11-30 15:26:20 +0000 | [diff] [blame] | 598 | interrupts = <GIC_SPI 163 IRQ_TYPE_LEVEL_HIGH>; |
| 599 | clocks = <&cpg CPG_MOD 812>; |
| 600 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 601 | resets = <&cpg 812>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 602 | #address-cells = <1>; |
| 603 | #size-cells = <0>; |
Biju Das | d94369f | 2018-11-30 15:26:20 +0000 | [diff] [blame] | 604 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 605 | }; |
| 606 | |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 607 | scifa0: serial@e6c40000 { |
| 608 | compatible = "renesas,scifa-r8a7744", |
| 609 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 610 | reg = <0 0xe6c40000 0 0x40>; |
| 611 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
| 612 | clocks = <&cpg CPG_MOD 204>; |
| 613 | clock-names = "fck"; |
| 614 | dmas = <&dmac0 0x21>, <&dmac0 0x22>, |
| 615 | <&dmac1 0x21>, <&dmac1 0x22>; |
| 616 | dma-names = "tx", "rx", "tx", "rx"; |
| 617 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 618 | resets = <&cpg 204>; |
| 619 | status = "disabled"; |
| 620 | }; |
| 621 | |
| 622 | scifa1: serial@e6c50000 { |
| 623 | compatible = "renesas,scifa-r8a7744", |
| 624 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 625 | reg = <0 0xe6c50000 0 0x40>; |
| 626 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 627 | clocks = <&cpg CPG_MOD 203>; |
| 628 | clock-names = "fck"; |
| 629 | dmas = <&dmac0 0x25>, <&dmac0 0x26>, |
| 630 | <&dmac1 0x25>, <&dmac1 0x26>; |
| 631 | dma-names = "tx", "rx", "tx", "rx"; |
| 632 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 633 | resets = <&cpg 203>; |
| 634 | status = "disabled"; |
| 635 | }; |
| 636 | |
| 637 | scifa2: serial@e6c60000 { |
| 638 | compatible = "renesas,scifa-r8a7744", |
| 639 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 640 | reg = <0 0xe6c60000 0 0x40>; |
| 641 | interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; |
| 642 | clocks = <&cpg CPG_MOD 202>; |
| 643 | clock-names = "fck"; |
| 644 | dmas = <&dmac0 0x27>, <&dmac0 0x28>, |
| 645 | <&dmac1 0x27>, <&dmac1 0x28>; |
| 646 | dma-names = "tx", "rx", "tx", "rx"; |
| 647 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 648 | resets = <&cpg 202>; |
| 649 | status = "disabled"; |
| 650 | }; |
| 651 | |
| 652 | scifa3: serial@e6c70000 { |
| 653 | compatible = "renesas,scifa-r8a7744", |
| 654 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 655 | reg = <0 0xe6c70000 0 0x40>; |
| 656 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 657 | clocks = <&cpg CPG_MOD 1106>; |
| 658 | clock-names = "fck"; |
| 659 | dmas = <&dmac0 0x1b>, <&dmac0 0x1c>, |
| 660 | <&dmac1 0x1b>, <&dmac1 0x1c>; |
| 661 | dma-names = "tx", "rx", "tx", "rx"; |
| 662 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 663 | resets = <&cpg 1106>; |
| 664 | status = "disabled"; |
| 665 | }; |
| 666 | |
| 667 | scifa4: serial@e6c78000 { |
| 668 | compatible = "renesas,scifa-r8a7744", |
| 669 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 670 | reg = <0 0xe6c78000 0 0x40>; |
| 671 | interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 672 | clocks = <&cpg CPG_MOD 1107>; |
| 673 | clock-names = "fck"; |
| 674 | dmas = <&dmac0 0x1f>, <&dmac0 0x20>, |
| 675 | <&dmac1 0x1f>, <&dmac1 0x20>; |
| 676 | dma-names = "tx", "rx", "tx", "rx"; |
| 677 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 678 | resets = <&cpg 1107>; |
| 679 | status = "disabled"; |
| 680 | }; |
| 681 | |
| 682 | scifa5: serial@e6c80000 { |
| 683 | compatible = "renesas,scifa-r8a7744", |
| 684 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 685 | reg = <0 0xe6c80000 0 0x40>; |
| 686 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 687 | clocks = <&cpg CPG_MOD 1108>; |
| 688 | clock-names = "fck"; |
| 689 | dmas = <&dmac0 0x23>, <&dmac0 0x24>, |
| 690 | <&dmac1 0x23>, <&dmac1 0x24>; |
| 691 | dma-names = "tx", "rx", "tx", "rx"; |
| 692 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 693 | resets = <&cpg 1108>; |
| 694 | status = "disabled"; |
| 695 | }; |
| 696 | |
| 697 | scifb0: serial@e6c20000 { |
| 698 | compatible = "renesas,scifb-r8a7744", |
| 699 | "renesas,rcar-gen2-scifb", "renesas,scifb"; |
| 700 | reg = <0 0xe6c20000 0 0x100>; |
| 701 | interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; |
| 702 | clocks = <&cpg CPG_MOD 206>; |
| 703 | clock-names = "fck"; |
| 704 | dmas = <&dmac0 0x3d>, <&dmac0 0x3e>, |
| 705 | <&dmac1 0x3d>, <&dmac1 0x3e>; |
| 706 | dma-names = "tx", "rx", "tx", "rx"; |
| 707 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 708 | resets = <&cpg 206>; |
| 709 | status = "disabled"; |
| 710 | }; |
| 711 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 712 | scifb1: serial@e6c30000 { |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 713 | compatible = "renesas,scifb-r8a7744", |
| 714 | "renesas,rcar-gen2-scifb", "renesas,scifb"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 715 | reg = <0 0xe6c30000 0 0x100>; |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 716 | interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>; |
| 717 | clocks = <&cpg CPG_MOD 207>; |
| 718 | clock-names = "fck"; |
| 719 | dmas = <&dmac0 0x19>, <&dmac0 0x1a>, |
| 720 | <&dmac1 0x19>, <&dmac1 0x1a>; |
| 721 | dma-names = "tx", "rx", "tx", "rx"; |
| 722 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 723 | resets = <&cpg 207>; |
| 724 | status = "disabled"; |
| 725 | }; |
| 726 | |
| 727 | scifb2: serial@e6ce0000 { |
| 728 | compatible = "renesas,scifb-r8a7744", |
| 729 | "renesas,rcar-gen2-scifb", "renesas,scifb"; |
| 730 | reg = <0 0xe6ce0000 0 0x100>; |
| 731 | interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; |
| 732 | clocks = <&cpg CPG_MOD 216>; |
| 733 | clock-names = "fck"; |
| 734 | dmas = <&dmac0 0x1d>, <&dmac0 0x1e>, |
| 735 | <&dmac1 0x1d>, <&dmac1 0x1e>; |
| 736 | dma-names = "tx", "rx", "tx", "rx"; |
| 737 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 738 | resets = <&cpg 216>; |
| 739 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 740 | }; |
| 741 | |
| 742 | scif0: serial@e6e60000 { |
| 743 | compatible = "renesas,scif-r8a7744", |
| 744 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 745 | reg = <0 0xe6e60000 0 0x40>; |
| 746 | interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; |
| 747 | clocks = <&cpg CPG_MOD 721>, |
| 748 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 749 | clock-names = "fck", "brg_int", "scif_clk"; |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 750 | dmas = <&dmac0 0x29>, <&dmac0 0x2a>, |
| 751 | <&dmac1 0x29>, <&dmac1 0x2a>; |
| 752 | dma-names = "tx", "rx", "tx", "rx"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 753 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 754 | resets = <&cpg 721>; |
| 755 | status = "disabled"; |
| 756 | }; |
| 757 | |
| 758 | scif1: serial@e6e68000 { |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 759 | compatible = "renesas,scif-r8a7744", |
| 760 | "renesas,rcar-gen2-scif", "renesas,scif"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 761 | reg = <0 0xe6e68000 0 0x40>; |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 762 | interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; |
| 763 | clocks = <&cpg CPG_MOD 720>, |
| 764 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 765 | clock-names = "fck", "brg_int", "scif_clk"; |
| 766 | dmas = <&dmac0 0x2d>, <&dmac0 0x2e>, |
| 767 | <&dmac1 0x2d>, <&dmac1 0x2e>; |
| 768 | dma-names = "tx", "rx", "tx", "rx"; |
| 769 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 770 | resets = <&cpg 720>; |
| 771 | status = "disabled"; |
| 772 | }; |
| 773 | |
| 774 | scif2: serial@e6e58000 { |
| 775 | compatible = "renesas,scif-r8a7744", |
| 776 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 777 | reg = <0 0xe6e58000 0 0x40>; |
| 778 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 779 | clocks = <&cpg CPG_MOD 719>, |
| 780 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 781 | clock-names = "fck", "brg_int", "scif_clk"; |
| 782 | dmas = <&dmac0 0x2b>, <&dmac0 0x2c>, |
| 783 | <&dmac1 0x2b>, <&dmac1 0x2c>; |
| 784 | dma-names = "tx", "rx", "tx", "rx"; |
| 785 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 786 | resets = <&cpg 719>; |
| 787 | status = "disabled"; |
| 788 | }; |
| 789 | |
| 790 | scif3: serial@e6ea8000 { |
| 791 | compatible = "renesas,scif-r8a7744", |
| 792 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 793 | reg = <0 0xe6ea8000 0 0x40>; |
| 794 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 795 | clocks = <&cpg CPG_MOD 718>, |
| 796 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 797 | clock-names = "fck", "brg_int", "scif_clk"; |
| 798 | dmas = <&dmac0 0x2f>, <&dmac0 0x30>, |
| 799 | <&dmac1 0x2f>, <&dmac1 0x30>; |
| 800 | dma-names = "tx", "rx", "tx", "rx"; |
| 801 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 802 | resets = <&cpg 718>; |
| 803 | status = "disabled"; |
| 804 | }; |
| 805 | |
| 806 | scif4: serial@e6ee0000 { |
| 807 | compatible = "renesas,scif-r8a7744", |
| 808 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 809 | reg = <0 0xe6ee0000 0 0x40>; |
| 810 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| 811 | clocks = <&cpg CPG_MOD 715>, |
| 812 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 813 | clock-names = "fck", "brg_int", "scif_clk"; |
| 814 | dmas = <&dmac0 0xfb>, <&dmac0 0xfc>, |
| 815 | <&dmac1 0xfb>, <&dmac1 0xfc>; |
| 816 | dma-names = "tx", "rx", "tx", "rx"; |
| 817 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 818 | resets = <&cpg 715>; |
| 819 | status = "disabled"; |
| 820 | }; |
| 821 | |
| 822 | scif5: serial@e6ee8000 { |
| 823 | compatible = "renesas,scif-r8a7744", |
| 824 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 825 | reg = <0 0xe6ee8000 0 0x40>; |
| 826 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 827 | clocks = <&cpg CPG_MOD 714>, |
| 828 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 829 | clock-names = "fck", "brg_int", "scif_clk"; |
| 830 | dmas = <&dmac0 0xfd>, <&dmac0 0xfe>, |
| 831 | <&dmac1 0xfd>, <&dmac1 0xfe>; |
| 832 | dma-names = "tx", "rx", "tx", "rx"; |
| 833 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 834 | resets = <&cpg 714>; |
| 835 | status = "disabled"; |
| 836 | }; |
| 837 | |
| 838 | hscif0: serial@e62c0000 { |
| 839 | compatible = "renesas,hscif-r8a7744", |
| 840 | "renesas,rcar-gen2-hscif", "renesas,hscif"; |
| 841 | reg = <0 0xe62c0000 0 0x60>; |
| 842 | interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 843 | clocks = <&cpg CPG_MOD 717>, |
| 844 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 845 | clock-names = "fck", "brg_int", "scif_clk"; |
| 846 | dmas = <&dmac0 0x39>, <&dmac0 0x3a>, |
| 847 | <&dmac1 0x39>, <&dmac1 0x3a>; |
| 848 | dma-names = "tx", "rx", "tx", "rx"; |
| 849 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 850 | resets = <&cpg 717>; |
| 851 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 852 | }; |
| 853 | |
| 854 | hscif1: serial@e62c8000 { |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 855 | compatible = "renesas,hscif-r8a7744", |
| 856 | "renesas,rcar-gen2-hscif", "renesas,hscif"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 857 | reg = <0 0xe62c8000 0 0x60>; |
Biju Das | 28c0cf7 | 2018-11-30 15:26:22 +0000 | [diff] [blame] | 858 | interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; |
| 859 | clocks = <&cpg CPG_MOD 716>, |
| 860 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 861 | clock-names = "fck", "brg_int", "scif_clk"; |
| 862 | dmas = <&dmac0 0x4d>, <&dmac0 0x4e>, |
| 863 | <&dmac1 0x4d>, <&dmac1 0x4e>; |
| 864 | dma-names = "tx", "rx", "tx", "rx"; |
| 865 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 866 | resets = <&cpg 716>; |
| 867 | status = "disabled"; |
| 868 | }; |
| 869 | |
| 870 | hscif2: serial@e62d0000 { |
| 871 | compatible = "renesas,hscif-r8a7744", |
| 872 | "renesas,rcar-gen2-hscif", "renesas,hscif"; |
| 873 | reg = <0 0xe62d0000 0 0x60>; |
| 874 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 875 | clocks = <&cpg CPG_MOD 713>, |
| 876 | <&cpg CPG_CORE R8A7744_CLK_ZS>, <&scif_clk>; |
| 877 | clock-names = "fck", "brg_int", "scif_clk"; |
| 878 | dmas = <&dmac0 0x3b>, <&dmac0 0x3c>, |
| 879 | <&dmac1 0x3b>, <&dmac1 0x3c>; |
| 880 | dma-names = "tx", "rx", "tx", "rx"; |
| 881 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 882 | resets = <&cpg 713>; |
| 883 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 884 | }; |
| 885 | |
| 886 | can0: can@e6e80000 { |
| 887 | reg = <0 0xe6e80000 0 0x1000>; |
| 888 | /* placeholder */ |
| 889 | }; |
| 890 | |
| 891 | can1: can@e6e88000 { |
| 892 | reg = <0 0xe6e88000 0 0x1000>; |
| 893 | /* placeholder */ |
| 894 | }; |
| 895 | |
| 896 | rcar_sound: sound@ec500000 { |
| 897 | reg = <0 0xec500000 0 0x1000>; |
| 898 | |
| 899 | rcar_sound,dvc { |
| 900 | dvc0: dvc-0 {}; |
| 901 | dvc1: dvc-1 {}; |
| 902 | }; |
| 903 | |
| 904 | rcar_sound,src { |
| 905 | src2: src-2 {}; |
| 906 | src3: src-3 {}; |
| 907 | }; |
| 908 | |
| 909 | rcar_sound,ssi { |
| 910 | ssi0: ssi-0 {}; |
| 911 | ssi1: ssi-1 {}; |
| 912 | }; |
| 913 | /* placeholder */ |
| 914 | }; |
| 915 | |
| 916 | pci0: pci@ee090000 { |
Biju Das | ce28396 | 2018-11-30 15:26:28 +0000 | [diff] [blame] | 917 | compatible = "renesas,pci-r8a7744", |
| 918 | "renesas,pci-rcar-gen2"; |
| 919 | device_type = "pci"; |
| 920 | reg = <0 0xee090000 0 0xc00>, |
| 921 | <0 0xee080000 0 0x1100>; |
| 922 | interrupts = <GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
| 923 | clocks = <&cpg CPG_MOD 703>; |
| 924 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 925 | resets = <&cpg 703>; |
| 926 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 927 | |
| 928 | bus-range = <0 0>; |
| 929 | #address-cells = <3>; |
| 930 | #size-cells = <2>; |
| 931 | #interrupt-cells = <1>; |
Biju Das | ce28396 | 2018-11-30 15:26:28 +0000 | [diff] [blame] | 932 | ranges = <0x02000000 0 0xee080000 0 0xee080000 0 0x00010000>; |
| 933 | interrupt-map-mask = <0xff00 0 0 0x7>; |
| 934 | interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH |
| 935 | 0x0800 0 0 1 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH |
| 936 | 0x1000 0 0 2 &gic GIC_SPI 108 IRQ_TYPE_LEVEL_HIGH>; |
| 937 | |
| 938 | usb@1,0 { |
| 939 | reg = <0x800 0 0 0 0>; |
| 940 | phys = <&usb0 0>; |
| 941 | phy-names = "usb"; |
| 942 | }; |
| 943 | |
| 944 | usb@2,0 { |
| 945 | reg = <0x1000 0 0 0 0>; |
| 946 | phys = <&usb0 0>; |
| 947 | phy-names = "usb"; |
| 948 | }; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 949 | }; |
| 950 | |
| 951 | pci1: pci@ee0d0000 { |
Biju Das | ce28396 | 2018-11-30 15:26:28 +0000 | [diff] [blame] | 952 | compatible = "renesas,pci-r8a7744", |
| 953 | "renesas,pci-rcar-gen2"; |
| 954 | device_type = "pci"; |
| 955 | reg = <0 0xee0d0000 0 0xc00>, |
| 956 | <0 0xee0c0000 0 0x1100>; |
| 957 | interrupts = <GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
| 958 | clocks = <&cpg CPG_MOD 703>; |
| 959 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 960 | resets = <&cpg 703>; |
| 961 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 962 | |
| 963 | bus-range = <1 1>; |
| 964 | #address-cells = <3>; |
| 965 | #size-cells = <2>; |
| 966 | #interrupt-cells = <1>; |
Biju Das | ce28396 | 2018-11-30 15:26:28 +0000 | [diff] [blame] | 967 | ranges = <0x02000000 0 0xee0c0000 0 0xee0c0000 0 0x00010000>; |
| 968 | interrupt-map-mask = <0xff00 0 0 0x7>; |
| 969 | interrupt-map = <0x0000 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH |
| 970 | 0x0800 0 0 1 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH |
| 971 | 0x1000 0 0 2 &gic GIC_SPI 113 IRQ_TYPE_LEVEL_HIGH>; |
| 972 | |
| 973 | usb@1,0 { |
| 974 | reg = <0x10800 0 0 0 0>; |
| 975 | phys = <&usb2 0>; |
| 976 | phy-names = "usb"; |
| 977 | }; |
| 978 | |
| 979 | usb@2,0 { |
| 980 | reg = <0x11000 0 0 0 0>; |
| 981 | phys = <&usb2 0>; |
| 982 | phy-names = "usb"; |
| 983 | }; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 984 | }; |
| 985 | |
Biju Das | b591e32 | 2018-11-30 15:26:24 +0000 | [diff] [blame] | 986 | sdhi0: sd@ee100000 { |
| 987 | compatible = "renesas,sdhi-r8a7744", |
| 988 | "renesas,rcar-gen2-sdhi"; |
| 989 | reg = <0 0xee100000 0 0x328>; |
| 990 | interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; |
| 991 | clocks = <&cpg CPG_MOD 314>; |
| 992 | dmas = <&dmac0 0xcd>, <&dmac0 0xce>, |
| 993 | <&dmac1 0xcd>, <&dmac1 0xce>; |
| 994 | dma-names = "tx", "rx", "tx", "rx"; |
| 995 | max-frequency = <195000000>; |
| 996 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 997 | resets = <&cpg 314>; |
| 998 | status = "disabled"; |
| 999 | }; |
| 1000 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1001 | sdhi1: sd@ee140000 { |
Biju Das | b591e32 | 2018-11-30 15:26:24 +0000 | [diff] [blame] | 1002 | compatible = "renesas,sdhi-r8a7744", |
| 1003 | "renesas,rcar-gen2-sdhi"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1004 | reg = <0 0xee140000 0 0x100>; |
Biju Das | b591e32 | 2018-11-30 15:26:24 +0000 | [diff] [blame] | 1005 | interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; |
| 1006 | clocks = <&cpg CPG_MOD 312>; |
| 1007 | dmas = <&dmac0 0xc1>, <&dmac0 0xc2>, |
| 1008 | <&dmac1 0xc1>, <&dmac1 0xc2>; |
| 1009 | dma-names = "tx", "rx", "tx", "rx"; |
| 1010 | max-frequency = <97500000>; |
| 1011 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 1012 | resets = <&cpg 312>; |
| 1013 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1014 | }; |
| 1015 | |
| 1016 | sdhi2: sd@ee160000 { |
Biju Das | b591e32 | 2018-11-30 15:26:24 +0000 | [diff] [blame] | 1017 | compatible = "renesas,sdhi-r8a7744", |
| 1018 | "renesas,rcar-gen2-sdhi"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1019 | reg = <0 0xee160000 0 0x100>; |
Biju Das | b591e32 | 2018-11-30 15:26:24 +0000 | [diff] [blame] | 1020 | interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; |
| 1021 | clocks = <&cpg CPG_MOD 311>; |
| 1022 | dmas = <&dmac0 0xd3>, <&dmac0 0xd4>, |
| 1023 | <&dmac1 0xd3>, <&dmac1 0xd4>; |
| 1024 | dma-names = "tx", "rx", "tx", "rx"; |
| 1025 | max-frequency = <97500000>; |
| 1026 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 1027 | resets = <&cpg 311>; |
| 1028 | status = "disabled"; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1029 | }; |
| 1030 | |
Biju Das | d9e7922 | 2018-11-30 15:26:25 +0000 | [diff] [blame] | 1031 | mmcif0: mmc@ee200000 { |
| 1032 | compatible = "renesas,mmcif-r8a7744", |
| 1033 | "renesas,sh-mmcif"; |
| 1034 | reg = <0 0xee200000 0 0x80>; |
| 1035 | interrupts = <GIC_SPI 169 IRQ_TYPE_LEVEL_HIGH>; |
| 1036 | clocks = <&cpg CPG_MOD 315>; |
| 1037 | dmas = <&dmac0 0xd1>, <&dmac0 0xd2>, |
| 1038 | <&dmac1 0xd1>, <&dmac1 0xd2>; |
| 1039 | dma-names = "tx", "rx", "tx", "rx"; |
| 1040 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 1041 | resets = <&cpg 315>; |
| 1042 | reg-io-width = <4>; |
| 1043 | max-frequency = <97500000>; |
| 1044 | status = "disabled"; |
| 1045 | }; |
| 1046 | |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1047 | gic: interrupt-controller@f1001000 { |
| 1048 | compatible = "arm,gic-400"; |
| 1049 | #interrupt-cells = <3>; |
| 1050 | #address-cells = <0>; |
| 1051 | interrupt-controller; |
| 1052 | reg = <0 0xf1001000 0 0x1000>, <0 0xf1002000 0 0x2000>, |
| 1053 | <0 0xf1004000 0 0x2000>, <0 0xf1006000 0 0x2000>; |
Biju Das | f1546da | 2018-11-30 15:26:21 +0000 | [diff] [blame] | 1054 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_HIGH)>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1055 | clocks = <&cpg CPG_MOD 408>; |
| 1056 | clock-names = "clk"; |
| 1057 | power-domains = <&sysc R8A7744_PD_ALWAYS_ON>; |
| 1058 | resets = <&cpg 408>; |
| 1059 | }; |
| 1060 | |
| 1061 | du: display@feb00000 { |
| 1062 | reg = <0 0xfeb00000 0 0x40000>, |
| 1063 | <0 0xfeb90000 0 0x1c>; |
| 1064 | |
| 1065 | ports { |
| 1066 | #address-cells = <1>; |
| 1067 | #size-cells = <0>; |
| 1068 | |
| 1069 | port@0 { |
| 1070 | reg = <0>; |
| 1071 | du_out_rgb: endpoint { |
| 1072 | }; |
| 1073 | }; |
| 1074 | port@1 { |
| 1075 | reg = <1>; |
| 1076 | du_out_lvds0: endpoint { |
| 1077 | }; |
| 1078 | }; |
| 1079 | }; |
| 1080 | /* placeholder */ |
| 1081 | }; |
| 1082 | |
| 1083 | prr: chipid@ff000044 { |
| 1084 | compatible = "renesas,prr"; |
| 1085 | reg = <0 0xff000044 0 4>; |
| 1086 | }; |
| 1087 | }; |
| 1088 | |
| 1089 | timer { |
| 1090 | compatible = "arm,armv7-timer"; |
Biju Das | f1546da | 2018-11-30 15:26:21 +0000 | [diff] [blame] | 1091 | interrupts-extended = <&gic GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 1092 | <&gic GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 1093 | <&gic GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>, |
| 1094 | <&gic GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | IRQ_TYPE_LEVEL_LOW)>; |
Biju Das | d83010f | 2018-11-30 15:26:16 +0000 | [diff] [blame] | 1095 | }; |
| 1096 | |
| 1097 | /* External USB clock - can be overridden by the board */ |
| 1098 | usb_extal_clk: usb_extal { |
| 1099 | compatible = "fixed-clock"; |
| 1100 | #clock-cells = <0>; |
| 1101 | clock-frequency = <48000000>; |
| 1102 | }; |
| 1103 | }; |