Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7745 SoC |
| 3 | * |
Sergei Shtylyov | 95b94ed | 2017-04-15 23:18:26 +0300 | [diff] [blame] | 4 | * Copyright (C) 2016-2017 Cogent Embedded Inc. |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 5 | * |
| 6 | * This file is licensed under the terms of the GNU General Public License |
| 7 | * version 2. This program is licensed "as is" without any warranty of any |
| 8 | * kind, whether express or implied. |
| 9 | */ |
| 10 | |
| 11 | #include <dt-bindings/interrupt-controller/irq.h> |
| 12 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 13 | #include <dt-bindings/clock/r8a7745-cpg-mssr.h> |
| 14 | #include <dt-bindings/power/r8a7745-sysc.h> |
| 15 | |
| 16 | / { |
| 17 | compatible = "renesas,r8a7745"; |
| 18 | #address-cells = <2>; |
| 19 | #size-cells = <2>; |
| 20 | |
| 21 | cpus { |
| 22 | #address-cells = <1>; |
| 23 | #size-cells = <0>; |
| 24 | |
| 25 | cpu0: cpu@0 { |
| 26 | device_type = "cpu"; |
| 27 | compatible = "arm,cortex-a7"; |
| 28 | reg = <0>; |
| 29 | clock-frequency = <1000000000>; |
| 30 | clocks = <&cpg CPG_CORE R8A7745_CLK_Z2>; |
| 31 | power-domains = <&sysc R8A7745_PD_CA7_CPU0>; |
| 32 | next-level-cache = <&L2_CA7>; |
| 33 | }; |
| 34 | |
Geert Uytterhoeven | 51c00a9 | 2017-03-06 17:40:38 +0100 | [diff] [blame] | 35 | L2_CA7: cache-controller-0 { |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 36 | compatible = "cache"; |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 37 | cache-unified; |
| 38 | cache-level = <2>; |
| 39 | power-domains = <&sysc R8A7745_PD_CA7_SCU>; |
| 40 | }; |
| 41 | }; |
| 42 | |
| 43 | soc { |
| 44 | compatible = "simple-bus"; |
| 45 | interrupt-parent = <&gic>; |
| 46 | |
| 47 | #address-cells = <2>; |
| 48 | #size-cells = <2>; |
| 49 | ranges; |
| 50 | |
| 51 | gic: interrupt-controller@f1001000 { |
| 52 | compatible = "arm,gic-400"; |
| 53 | #interrupt-cells = <3>; |
| 54 | #address-cells = <0>; |
| 55 | interrupt-controller; |
| 56 | reg = <0 0xf1001000 0 0x1000>, |
Marc Zyngier | 387720c | 2017-01-18 09:27:28 +0000 | [diff] [blame] | 57 | <0 0xf1002000 0 0x2000>, |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 58 | <0 0xf1004000 0 0x2000>, |
| 59 | <0 0xf1006000 0 0x2000>; |
| 60 | interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(2) | |
| 61 | IRQ_TYPE_LEVEL_HIGH)>; |
Geert Uytterhoeven | db017f3 | 2017-01-17 13:49:18 +0100 | [diff] [blame] | 62 | clocks = <&cpg CPG_MOD 408>; |
| 63 | clock-names = "clk"; |
| 64 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 65 | resets = <&cpg 408>; |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 66 | }; |
| 67 | |
Biju Das | 3163c03 | 2017-08-18 15:56:01 +0100 | [diff] [blame^] | 68 | gpio0: gpio@e6050000 { |
| 69 | compatible = "renesas,gpio-r8a7745", |
| 70 | "renesas,rcar-gen2-gpio"; |
| 71 | reg = <0 0xe6050000 0 0x50>; |
| 72 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
| 73 | #gpio-cells = <2>; |
| 74 | gpio-controller; |
| 75 | gpio-ranges = <&pfc 0 0 32>; |
| 76 | #interrupt-cells = <2>; |
| 77 | interrupt-controller; |
| 78 | clocks = <&cpg CPG_MOD 912>; |
| 79 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 80 | resets = <&cpg 912>; |
| 81 | }; |
| 82 | |
| 83 | gpio1: gpio@e6051000 { |
| 84 | compatible = "renesas,gpio-r8a7745", |
| 85 | "renesas,rcar-gen2-gpio"; |
| 86 | reg = <0 0xe6051000 0 0x50>; |
| 87 | interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 88 | #gpio-cells = <2>; |
| 89 | gpio-controller; |
| 90 | gpio-ranges = <&pfc 0 32 26>; |
| 91 | #interrupt-cells = <2>; |
| 92 | interrupt-controller; |
| 93 | clocks = <&cpg CPG_MOD 911>; |
| 94 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 95 | resets = <&cpg 911>; |
| 96 | }; |
| 97 | |
| 98 | gpio2: gpio@e6052000 { |
| 99 | compatible = "renesas,gpio-r8a7745", |
| 100 | "renesas,rcar-gen2-gpio"; |
| 101 | reg = <0 0xe6052000 0 0x50>; |
| 102 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
| 103 | #gpio-cells = <2>; |
| 104 | gpio-controller; |
| 105 | gpio-ranges = <&pfc 0 64 32>; |
| 106 | #interrupt-cells = <2>; |
| 107 | interrupt-controller; |
| 108 | clocks = <&cpg CPG_MOD 910>; |
| 109 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 110 | resets = <&cpg 910>; |
| 111 | }; |
| 112 | |
| 113 | gpio3: gpio@e6053000 { |
| 114 | compatible = "renesas,gpio-r8a7745", |
| 115 | "renesas,rcar-gen2-gpio"; |
| 116 | reg = <0 0xe6053000 0 0x50>; |
| 117 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 118 | #gpio-cells = <2>; |
| 119 | gpio-controller; |
| 120 | gpio-ranges = <&pfc 0 96 32>; |
| 121 | #interrupt-cells = <2>; |
| 122 | interrupt-controller; |
| 123 | clocks = <&cpg CPG_MOD 909>; |
| 124 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 125 | resets = <&cpg 909>; |
| 126 | }; |
| 127 | |
| 128 | gpio4: gpio@e6054000 { |
| 129 | compatible = "renesas,gpio-r8a7745", |
| 130 | "renesas,rcar-gen2-gpio"; |
| 131 | reg = <0 0xe6054000 0 0x50>; |
| 132 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 133 | #gpio-cells = <2>; |
| 134 | gpio-controller; |
| 135 | gpio-ranges = <&pfc 0 128 32>; |
| 136 | #interrupt-cells = <2>; |
| 137 | interrupt-controller; |
| 138 | clocks = <&cpg CPG_MOD 908>; |
| 139 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 140 | resets = <&cpg 908>; |
| 141 | }; |
| 142 | |
| 143 | gpio5: gpio@e6055000 { |
| 144 | compatible = "renesas,gpio-r8a7745", |
| 145 | "renesas,rcar-gen2-gpio"; |
| 146 | reg = <0 0xe6055000 0 0x50>; |
| 147 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 148 | #gpio-cells = <2>; |
| 149 | gpio-controller; |
| 150 | gpio-ranges = <&pfc 0 160 28>; |
| 151 | #interrupt-cells = <2>; |
| 152 | interrupt-controller; |
| 153 | clocks = <&cpg CPG_MOD 907>; |
| 154 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 155 | resets = <&cpg 907>; |
| 156 | }; |
| 157 | |
| 158 | gpio6: gpio@e6055400 { |
| 159 | compatible = "renesas,gpio-r8a7745", |
| 160 | "renesas,rcar-gen2-gpio"; |
| 161 | reg = <0 0xe6055400 0 0x50>; |
| 162 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 163 | #gpio-cells = <2>; |
| 164 | gpio-controller; |
| 165 | gpio-ranges = <&pfc 0 192 26>; |
| 166 | #interrupt-cells = <2>; |
| 167 | interrupt-controller; |
| 168 | clocks = <&cpg CPG_MOD 905>; |
| 169 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
| 170 | resets = <&cpg 905>; |
| 171 | }; |
| 172 | |
Sergei Shtylyov | 28c43fb | 2016-11-05 00:59:37 +0300 | [diff] [blame] | 173 | irqc: interrupt-controller@e61c0000 { |
| 174 | compatible = "renesas,irqc-r8a7745", "renesas,irqc"; |
| 175 | #interrupt-cells = <2>; |
| 176 | interrupt-controller; |
| 177 | reg = <0 0xe61c0000 0 0x200>; |
| 178 | interrupts = <GIC_SPI 0 IRQ_TYPE_LEVEL_HIGH>, |
| 179 | <GIC_SPI 1 IRQ_TYPE_LEVEL_HIGH>, |
| 180 | <GIC_SPI 2 IRQ_TYPE_LEVEL_HIGH>, |
| 181 | <GIC_SPI 3 IRQ_TYPE_LEVEL_HIGH>, |
| 182 | <GIC_SPI 12 IRQ_TYPE_LEVEL_HIGH>, |
| 183 | <GIC_SPI 13 IRQ_TYPE_LEVEL_HIGH>, |
| 184 | <GIC_SPI 14 IRQ_TYPE_LEVEL_HIGH>, |
| 185 | <GIC_SPI 15 IRQ_TYPE_LEVEL_HIGH>, |
| 186 | <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>, |
| 187 | <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 188 | clocks = <&cpg CPG_MOD 407>; |
| 189 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 190 | resets = <&cpg 407>; |
Sergei Shtylyov | 28c43fb | 2016-11-05 00:59:37 +0300 | [diff] [blame] | 191 | }; |
| 192 | |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 193 | timer { |
| 194 | compatible = "arm,armv7-timer"; |
| 195 | interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(2) | |
| 196 | IRQ_TYPE_LEVEL_LOW)>, |
| 197 | <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(2) | |
| 198 | IRQ_TYPE_LEVEL_LOW)>, |
| 199 | <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(2) | |
| 200 | IRQ_TYPE_LEVEL_LOW)>, |
| 201 | <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(2) | |
| 202 | IRQ_TYPE_LEVEL_LOW)>; |
| 203 | }; |
| 204 | |
| 205 | cpg: clock-controller@e6150000 { |
| 206 | compatible = "renesas,r8a7745-cpg-mssr"; |
| 207 | reg = <0 0xe6150000 0 0x1000>; |
| 208 | clocks = <&extal_clk>, <&usb_extal_clk>; |
| 209 | clock-names = "extal", "usb_extal"; |
| 210 | #clock-cells = <2>; |
| 211 | #power-domain-cells = <0>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 212 | #reset-cells = <1>; |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 213 | }; |
| 214 | |
Geert Uytterhoeven | 8916c7b | 2016-11-18 11:37:43 +0100 | [diff] [blame] | 215 | prr: chipid@ff000044 { |
| 216 | compatible = "renesas,prr"; |
| 217 | reg = <0 0xff000044 0 4>; |
| 218 | }; |
| 219 | |
Geert Uytterhoeven | 13ae6ac | 2016-11-18 11:24:23 +0100 | [diff] [blame] | 220 | rst: reset-controller@e6160000 { |
| 221 | compatible = "renesas,r8a7745-rst"; |
| 222 | reg = <0 0xe6160000 0 0x100>; |
| 223 | }; |
| 224 | |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 225 | sysc: system-controller@e6180000 { |
| 226 | compatible = "renesas,r8a7745-sysc"; |
| 227 | reg = <0 0xe6180000 0 0x200>; |
| 228 | #power-domain-cells = <1>; |
| 229 | }; |
| 230 | |
Sergei Shtylyov | 95b94ed | 2017-04-15 23:18:26 +0300 | [diff] [blame] | 231 | pfc: pin-controller@e6060000 { |
| 232 | compatible = "renesas,pfc-r8a7745"; |
| 233 | reg = <0 0xe6060000 0 0x11c>; |
| 234 | }; |
| 235 | |
Sergei Shtylyov | 06a80ba | 2016-11-05 00:54:51 +0300 | [diff] [blame] | 236 | dmac0: dma-controller@e6700000 { |
| 237 | compatible = "renesas,dmac-r8a7745", |
| 238 | "renesas,rcar-dmac"; |
| 239 | reg = <0 0xe6700000 0 0x20000>; |
| 240 | interrupts = <GIC_SPI 197 IRQ_TYPE_LEVEL_HIGH |
| 241 | GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH |
| 242 | GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH |
| 243 | GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH |
| 244 | GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH |
| 245 | GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH |
| 246 | GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH |
| 247 | GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH |
| 248 | GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH |
| 249 | GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH |
| 250 | GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH |
| 251 | GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH |
| 252 | GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH |
| 253 | GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH |
| 254 | GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH |
| 255 | GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>; |
| 256 | interrupt-names = "error", |
| 257 | "ch0", "ch1", "ch2", "ch3", |
| 258 | "ch4", "ch5", "ch6", "ch7", |
| 259 | "ch8", "ch9", "ch10", "ch11", |
| 260 | "ch12", "ch13", "ch14"; |
| 261 | clocks = <&cpg CPG_MOD 219>; |
| 262 | clock-names = "fck"; |
| 263 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 264 | resets = <&cpg 219>; |
Sergei Shtylyov | 06a80ba | 2016-11-05 00:54:51 +0300 | [diff] [blame] | 265 | #dma-cells = <1>; |
| 266 | dma-channels = <15>; |
| 267 | }; |
| 268 | |
| 269 | dmac1: dma-controller@e6720000 { |
| 270 | compatible = "renesas,dmac-r8a7745", |
| 271 | "renesas,rcar-dmac"; |
| 272 | reg = <0 0xe6720000 0 0x20000>; |
| 273 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH |
| 274 | GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH |
| 275 | GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH |
| 276 | GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH |
| 277 | GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH |
| 278 | GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH |
| 279 | GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH |
| 280 | GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH |
| 281 | GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH |
| 282 | GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH |
| 283 | GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH |
| 284 | GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH |
| 285 | GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH |
| 286 | GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH |
| 287 | GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH |
| 288 | GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH>; |
| 289 | interrupt-names = "error", |
| 290 | "ch0", "ch1", "ch2", "ch3", |
| 291 | "ch4", "ch5", "ch6", "ch7", |
| 292 | "ch8", "ch9", "ch10", "ch11", |
| 293 | "ch12", "ch13", "ch14"; |
| 294 | clocks = <&cpg CPG_MOD 218>; |
| 295 | clock-names = "fck"; |
| 296 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 297 | resets = <&cpg 218>; |
Sergei Shtylyov | 06a80ba | 2016-11-05 00:54:51 +0300 | [diff] [blame] | 298 | #dma-cells = <1>; |
| 299 | dma-channels = <15>; |
| 300 | }; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 301 | |
| 302 | scifa0: serial@e6c40000 { |
| 303 | compatible = "renesas,scifa-r8a7745", |
| 304 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 305 | reg = <0 0xe6c40000 0 0x40>; |
| 306 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
| 307 | clocks = <&cpg CPG_MOD 204>; |
| 308 | clock-names = "fck"; |
| 309 | dmas = <&dmac0 0x21>, <&dmac0 0x22>, |
| 310 | <&dmac1 0x21>, <&dmac1 0x22>; |
| 311 | dma-names = "tx", "rx", "tx", "rx"; |
| 312 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 313 | resets = <&cpg 204>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 314 | status = "disabled"; |
| 315 | }; |
| 316 | |
| 317 | scifa1: serial@e6c50000 { |
| 318 | compatible = "renesas,scifa-r8a7745", |
| 319 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 320 | reg = <0 0xe6c50000 0 0x40>; |
| 321 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 322 | clocks = <&cpg CPG_MOD 203>; |
| 323 | clock-names = "fck"; |
| 324 | dmas = <&dmac0 0x25>, <&dmac0 0x26>, |
| 325 | <&dmac1 0x25>, <&dmac1 0x26>; |
| 326 | dma-names = "tx", "rx", "tx", "rx"; |
| 327 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 328 | resets = <&cpg 203>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 329 | status = "disabled"; |
| 330 | }; |
| 331 | |
| 332 | scifa2: serial@e6c60000 { |
| 333 | compatible = "renesas,scifa-r8a7745", |
| 334 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 335 | reg = <0 0xe6c60000 0 0x40>; |
| 336 | interrupts = <GIC_SPI 151 IRQ_TYPE_LEVEL_HIGH>; |
| 337 | clocks = <&cpg CPG_MOD 202>; |
| 338 | clock-names = "fck"; |
| 339 | dmas = <&dmac0 0x27>, <&dmac0 0x28>, |
| 340 | <&dmac1 0x27>, <&dmac1 0x28>; |
| 341 | dma-names = "tx", "rx", "tx", "rx"; |
| 342 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 343 | resets = <&cpg 202>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 344 | status = "disabled"; |
| 345 | }; |
| 346 | |
| 347 | scifa3: serial@e6c70000 { |
| 348 | compatible = "renesas,scifa-r8a7745", |
| 349 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 350 | reg = <0 0xe6c70000 0 0x40>; |
| 351 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>; |
| 352 | clocks = <&cpg CPG_MOD 1106>; |
| 353 | clock-names = "fck"; |
| 354 | dmas = <&dmac0 0x1b>, <&dmac0 0x1c>, |
| 355 | <&dmac1 0x1b>, <&dmac1 0x1c>; |
| 356 | dma-names = "tx", "rx", "tx", "rx"; |
| 357 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 358 | resets = <&cpg 1106>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 359 | status = "disabled"; |
| 360 | }; |
| 361 | |
| 362 | scifa4: serial@e6c78000 { |
| 363 | compatible = "renesas,scifa-r8a7745", |
| 364 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 365 | reg = <0 0xe6c78000 0 0x40>; |
| 366 | interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 367 | clocks = <&cpg CPG_MOD 1107>; |
| 368 | clock-names = "fck"; |
| 369 | dmas = <&dmac0 0x1f>, <&dmac0 0x20>, |
| 370 | <&dmac1 0x1f>, <&dmac1 0x20>; |
| 371 | dma-names = "tx", "rx", "tx", "rx"; |
| 372 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 373 | resets = <&cpg 1107>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 374 | status = "disabled"; |
| 375 | }; |
| 376 | |
| 377 | scifa5: serial@e6c80000 { |
| 378 | compatible = "renesas,scifa-r8a7745", |
| 379 | "renesas,rcar-gen2-scifa", "renesas,scifa"; |
| 380 | reg = <0 0xe6c80000 0 0x40>; |
| 381 | interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>; |
| 382 | clocks = <&cpg CPG_MOD 1108>; |
| 383 | clock-names = "fck"; |
| 384 | dmas = <&dmac0 0x23>, <&dmac0 0x24>, |
| 385 | <&dmac1 0x23>, <&dmac1 0x24>; |
| 386 | dma-names = "tx", "rx", "tx", "rx"; |
| 387 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 388 | resets = <&cpg 1108>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 389 | status = "disabled"; |
| 390 | }; |
| 391 | |
| 392 | scifb0: serial@e6c20000 { |
| 393 | compatible = "renesas,scifb-r8a7745", |
| 394 | "renesas,rcar-gen2-scifb", "renesas,scifb"; |
| 395 | reg = <0 0xe6c20000 0 0x100>; |
| 396 | interrupts = <GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>; |
| 397 | clocks = <&cpg CPG_MOD 206>; |
| 398 | clock-names = "fck"; |
| 399 | dmas = <&dmac0 0x3d>, <&dmac0 0x3e>, |
Geert Uytterhoeven | ad20bb6 | 2017-02-08 19:00:44 +0100 | [diff] [blame] | 400 | <&dmac1 0x3d>, <&dmac1 0x3e>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 401 | dma-names = "tx", "rx", "tx", "rx"; |
| 402 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 403 | resets = <&cpg 206>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 404 | status = "disabled"; |
| 405 | }; |
| 406 | |
| 407 | scifb1: serial@e6c30000 { |
| 408 | compatible = "renesas,scifb-r8a7745", |
| 409 | "renesas,rcar-gen2-scifb", "renesas,scifb"; |
| 410 | reg = <0 0xe6c30000 0 0x100>; |
| 411 | interrupts = <GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>; |
| 412 | clocks = <&cpg CPG_MOD 207>; |
| 413 | clock-names = "fck"; |
| 414 | dmas = <&dmac0 0x19>, <&dmac0 0x1a>, |
| 415 | <&dmac1 0x19>, <&dmac1 0x1a>; |
| 416 | dma-names = "tx", "rx", "tx", "rx"; |
| 417 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 418 | resets = <&cpg 207>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 419 | status = "disabled"; |
| 420 | }; |
| 421 | |
| 422 | scifb2: serial@e6ce0000 { |
| 423 | compatible = "renesas,scifb-r8a7745", |
| 424 | "renesas,rcar-gen2-scifb", "renesas,scifb"; |
| 425 | reg = <0 0xe6ce0000 0 0x100>; |
| 426 | interrupts = <GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>; |
| 427 | clocks = <&cpg CPG_MOD 216>; |
| 428 | clock-names = "fck"; |
| 429 | dmas = <&dmac0 0x1d>, <&dmac0 0x1e>, |
| 430 | <&dmac1 0x1d>, <&dmac1 0x1e>; |
| 431 | dma-names = "tx", "rx", "tx", "rx"; |
| 432 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 433 | resets = <&cpg 216>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 434 | status = "disabled"; |
| 435 | }; |
| 436 | |
| 437 | scif0: serial@e6e60000 { |
| 438 | compatible = "renesas,scif-r8a7745", |
| 439 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 440 | reg = <0 0xe6e60000 0 0x40>; |
| 441 | interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; |
| 442 | clocks = <&cpg CPG_MOD 721>, |
| 443 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 444 | clock-names = "fck", "brg_int", "scif_clk"; |
| 445 | dmas = <&dmac0 0x29>, <&dmac0 0x2a>, |
| 446 | <&dmac1 0x29>, <&dmac1 0x2a>; |
| 447 | dma-names = "tx", "rx", "tx", "rx"; |
| 448 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 449 | resets = <&cpg 721>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 450 | status = "disabled"; |
| 451 | }; |
| 452 | |
| 453 | scif1: serial@e6e68000 { |
| 454 | compatible = "renesas,scif-r8a7745", |
| 455 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 456 | reg = <0 0xe6e68000 0 0x40>; |
| 457 | interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; |
| 458 | clocks = <&cpg CPG_MOD 720>, |
| 459 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 460 | clock-names = "fck", "brg_int", "scif_clk"; |
| 461 | dmas = <&dmac0 0x2d>, <&dmac0 0x2e>, |
| 462 | <&dmac1 0x2d>, <&dmac1 0x2e>; |
| 463 | dma-names = "tx", "rx", "tx", "rx"; |
| 464 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 465 | resets = <&cpg 720>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 466 | status = "disabled"; |
| 467 | }; |
| 468 | |
| 469 | scif2: serial@e6e58000 { |
| 470 | compatible = "renesas,scif-r8a7745", |
| 471 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 472 | reg = <0 0xe6e58000 0 0x40>; |
| 473 | interrupts = <GIC_SPI 22 IRQ_TYPE_LEVEL_HIGH>; |
| 474 | clocks = <&cpg CPG_MOD 719>, |
| 475 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 476 | clock-names = "fck", "brg_int", "scif_clk"; |
| 477 | dmas = <&dmac0 0x2b>, <&dmac0 0x2c>, |
| 478 | <&dmac1 0x2b>, <&dmac1 0x2c>; |
| 479 | dma-names = "tx", "rx", "tx", "rx"; |
| 480 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 481 | resets = <&cpg 719>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 482 | status = "disabled"; |
| 483 | }; |
| 484 | |
| 485 | scif3: serial@e6ea8000 { |
| 486 | compatible = "renesas,scif-r8a7745", |
| 487 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 488 | reg = <0 0xe6ea8000 0 0x40>; |
| 489 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 490 | clocks = <&cpg CPG_MOD 718>, |
| 491 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 492 | clock-names = "fck", "brg_int", "scif_clk"; |
| 493 | dmas = <&dmac0 0x2f>, <&dmac0 0x30>, |
| 494 | <&dmac1 0x2f>, <&dmac1 0x30>; |
| 495 | dma-names = "tx", "rx", "tx", "rx"; |
| 496 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 497 | resets = <&cpg 718>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 498 | status = "disabled"; |
| 499 | }; |
| 500 | |
| 501 | scif4: serial@e6ee0000 { |
| 502 | compatible = "renesas,scif-r8a7745", |
| 503 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 504 | reg = <0 0xe6ee0000 0 0x40>; |
| 505 | interrupts = <GIC_SPI 24 IRQ_TYPE_LEVEL_HIGH>; |
| 506 | clocks = <&cpg CPG_MOD 715>, |
| 507 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 508 | clock-names = "fck", "brg_int", "scif_clk"; |
| 509 | dmas = <&dmac0 0xfb>, <&dmac0 0xfc>, |
| 510 | <&dmac1 0xfb>, <&dmac1 0xfc>; |
| 511 | dma-names = "tx", "rx", "tx", "rx"; |
| 512 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 513 | resets = <&cpg 715>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 514 | status = "disabled"; |
| 515 | }; |
| 516 | |
| 517 | scif5: serial@e6ee8000 { |
| 518 | compatible = "renesas,scif-r8a7745", |
| 519 | "renesas,rcar-gen2-scif", "renesas,scif"; |
| 520 | reg = <0 0xe6ee8000 0 0x40>; |
| 521 | interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>; |
| 522 | clocks = <&cpg CPG_MOD 714>, |
| 523 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 524 | clock-names = "fck", "brg_int", "scif_clk"; |
| 525 | dmas = <&dmac0 0xfd>, <&dmac0 0xfe>, |
| 526 | <&dmac1 0xfd>, <&dmac1 0xfe>; |
| 527 | dma-names = "tx", "rx", "tx", "rx"; |
| 528 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 529 | resets = <&cpg 714>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 530 | status = "disabled"; |
| 531 | }; |
| 532 | |
| 533 | hscif0: serial@e62c0000 { |
| 534 | compatible = "renesas,hscif-r8a7745", |
| 535 | "renesas,rcar-gen2-hscif", "renesas,hscif"; |
| 536 | reg = <0 0xe62c0000 0 0x60>; |
| 537 | interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 538 | clocks = <&cpg CPG_MOD 717>, |
| 539 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 540 | clock-names = "fck", "brg_int", "scif_clk"; |
| 541 | dmas = <&dmac0 0x39>, <&dmac0 0x3a>, |
| 542 | <&dmac1 0x39>, <&dmac1 0x3a>; |
| 543 | dma-names = "tx", "rx", "tx", "rx"; |
| 544 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 545 | resets = <&cpg 717>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 546 | status = "disabled"; |
| 547 | }; |
| 548 | |
| 549 | hscif1: serial@e62c8000 { |
| 550 | compatible = "renesas,hscif-r8a7745", |
| 551 | "renesas,rcar-gen2-hscif", "renesas,hscif"; |
| 552 | reg = <0 0xe62c8000 0 0x60>; |
| 553 | interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; |
| 554 | clocks = <&cpg CPG_MOD 716>, |
| 555 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 556 | clock-names = "fck", "brg_int", "scif_clk"; |
| 557 | dmas = <&dmac0 0x4d>, <&dmac0 0x4e>, |
| 558 | <&dmac1 0x4d>, <&dmac1 0x4e>; |
| 559 | dma-names = "tx", "rx", "tx", "rx"; |
| 560 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 561 | resets = <&cpg 716>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 562 | status = "disabled"; |
| 563 | }; |
| 564 | |
| 565 | hscif2: serial@e62d0000 { |
| 566 | compatible = "renesas,hscif-r8a7745", |
| 567 | "renesas,rcar-gen2-hscif", "renesas,hscif"; |
| 568 | reg = <0 0xe62d0000 0 0x60>; |
| 569 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 570 | clocks = <&cpg CPG_MOD 713>, |
| 571 | <&cpg CPG_CORE R8A7745_CLK_ZS>, <&scif_clk>; |
| 572 | clock-names = "fck", "brg_int", "scif_clk"; |
| 573 | dmas = <&dmac0 0x3b>, <&dmac0 0x3c>, |
| 574 | <&dmac1 0x3b>, <&dmac1 0x3c>; |
| 575 | dma-names = "tx", "rx", "tx", "rx"; |
| 576 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 577 | resets = <&cpg 713>; |
Sergei Shtylyov | e0d2da5 | 2016-11-05 00:55:52 +0300 | [diff] [blame] | 578 | status = "disabled"; |
| 579 | }; |
Sergei Shtylyov | bed98a5 | 2016-11-04 14:57:01 -0700 | [diff] [blame] | 580 | |
Geert Uytterhoeven | 825216b | 2017-07-04 17:23:13 +0200 | [diff] [blame] | 581 | icram2: sram@e6300000 { |
| 582 | compatible = "mmio-sram"; |
| 583 | reg = <0 0xe6300000 0 0x40000>; |
| 584 | }; |
| 585 | |
| 586 | icram0: sram@e63a0000 { |
| 587 | compatible = "mmio-sram"; |
| 588 | reg = <0 0xe63a0000 0 0x12000>; |
| 589 | }; |
| 590 | |
| 591 | icram1: sram@e63c0000 { |
| 592 | compatible = "mmio-sram"; |
| 593 | reg = <0 0xe63c0000 0 0x1000>; |
Geert Uytterhoeven | d2791b1 | 2017-07-04 17:41:38 +0200 | [diff] [blame] | 594 | #address-cells = <1>; |
| 595 | #size-cells = <1>; |
| 596 | ranges = <0 0 0xe63c0000 0x1000>; |
| 597 | |
| 598 | smp-sram@0 { |
| 599 | compatible = "renesas,smp-sram"; |
| 600 | reg = <0 0x10>; |
| 601 | }; |
Geert Uytterhoeven | 825216b | 2017-07-04 17:23:13 +0200 | [diff] [blame] | 602 | }; |
| 603 | |
Sergei Shtylyov | bed98a5 | 2016-11-04 14:57:01 -0700 | [diff] [blame] | 604 | ether: ethernet@ee700000 { |
| 605 | compatible = "renesas,ether-r8a7745"; |
| 606 | reg = <0 0xee700000 0 0x400>; |
| 607 | interrupts = <GIC_SPI 162 IRQ_TYPE_LEVEL_HIGH>; |
| 608 | clocks = <&cpg CPG_MOD 813>; |
| 609 | power-domains = <&sysc R8A7745_PD_ALWAYS_ON>; |
Geert Uytterhoeven | 1efab6e | 2017-03-16 15:07:26 +0100 | [diff] [blame] | 610 | resets = <&cpg 813>; |
Sergei Shtylyov | bed98a5 | 2016-11-04 14:57:01 -0700 | [diff] [blame] | 611 | phy-mode = "rmii"; |
| 612 | #address-cells = <1>; |
| 613 | #size-cells = <0>; |
| 614 | status = "disabled"; |
| 615 | }; |
Sergei Shtylyov | c953602 | 2016-11-05 00:53:38 +0300 | [diff] [blame] | 616 | }; |
| 617 | |
| 618 | /* External root clock */ |
| 619 | extal_clk: extal { |
| 620 | compatible = "fixed-clock"; |
| 621 | #clock-cells = <0>; |
| 622 | /* This value must be overridden by the board. */ |
| 623 | clock-frequency = <0>; |
| 624 | }; |
| 625 | |
| 626 | /* External USB clock - can be overridden by the board */ |
| 627 | usb_extal_clk: usb_extal { |
| 628 | compatible = "fixed-clock"; |
| 629 | #clock-cells = <0>; |
| 630 | clock-frequency = <48000000>; |
| 631 | }; |
| 632 | |
| 633 | /* External SCIF clock */ |
| 634 | scif_clk: scif { |
| 635 | compatible = "fixed-clock"; |
| 636 | #clock-cells = <0>; |
| 637 | /* This value must be overridden by the board. */ |
| 638 | clock-frequency = <0>; |
| 639 | }; |
| 640 | }; |