Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7796 SoC |
| 3 | * |
| 4 | * Copyright (C) 2016 Renesas Electronics Corp. |
| 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/clock/r8a7796-cpg-mssr.h> |
| 12 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
Geert Uytterhoeven | 56aebae | 2016-05-31 11:08:44 +0200 | [diff] [blame] | 13 | #include <dt-bindings/power/r8a7796-sysc.h> |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 14 | |
| 15 | / { |
| 16 | compatible = "renesas,r8a7796"; |
| 17 | #address-cells = <2>; |
| 18 | #size-cells = <2>; |
| 19 | |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 20 | aliases { |
| 21 | i2c0 = &i2c0; |
| 22 | i2c1 = &i2c1; |
| 23 | i2c2 = &i2c2; |
| 24 | i2c3 = &i2c3; |
| 25 | i2c4 = &i2c4; |
| 26 | i2c5 = &i2c5; |
| 27 | i2c6 = &i2c6; |
Dien Pham | 0fb1fd2 | 2017-01-26 09:52:27 +0100 | [diff] [blame] | 28 | i2c7 = &i2c_dvfs; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 29 | }; |
| 30 | |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 31 | psci { |
Khiem Nguyen | b3f2691 | 2017-02-24 14:49:14 +0100 | [diff] [blame] | 32 | compatible = "arm,psci-1.0", "arm,psci-0.2"; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 33 | method = "smc"; |
| 34 | }; |
| 35 | |
| 36 | cpus { |
| 37 | #address-cells = <1>; |
| 38 | #size-cells = <0>; |
| 39 | |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 40 | a57_0: cpu@0 { |
| 41 | compatible = "arm,cortex-a57", "arm,armv8"; |
| 42 | reg = <0x0>; |
| 43 | device_type = "cpu"; |
Geert Uytterhoeven | 56aebae | 2016-05-31 11:08:44 +0200 | [diff] [blame] | 44 | power-domains = <&sysc R8A7796_PD_CA57_CPU0>; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 45 | next-level-cache = <&L2_CA57>; |
| 46 | enable-method = "psci"; |
| 47 | }; |
| 48 | |
Takeshi Kihara | 7328be4 | 2017-03-07 19:03:22 +0100 | [diff] [blame] | 49 | a57_1: cpu@1 { |
| 50 | compatible = "arm,cortex-a57","arm,armv8"; |
| 51 | reg = <0x1>; |
| 52 | device_type = "cpu"; |
| 53 | power-domains = <&sysc R8A7796_PD_CA57_CPU1>; |
| 54 | next-level-cache = <&L2_CA57>; |
| 55 | enable-method = "psci"; |
| 56 | }; |
| 57 | |
Geert Uytterhoeven | b4dc3b4 | 2017-03-07 19:03:25 +0100 | [diff] [blame^] | 58 | a53_0: cpu@100 { |
| 59 | compatible = "arm,cortex-a53", "arm,armv8"; |
| 60 | reg = <0x100>; |
| 61 | device_type = "cpu"; |
| 62 | power-domains = <&sysc R8A7796_PD_CA53_CPU0>; |
| 63 | next-level-cache = <&L2_CA53>; |
| 64 | enable-method = "psci"; |
| 65 | }; |
| 66 | |
| 67 | a53_1: cpu@101 { |
| 68 | compatible = "arm,cortex-a53","arm,armv8"; |
| 69 | reg = <0x101>; |
| 70 | device_type = "cpu"; |
| 71 | power-domains = <&sysc R8A7796_PD_CA53_CPU1>; |
| 72 | next-level-cache = <&L2_CA53>; |
| 73 | enable-method = "psci"; |
| 74 | }; |
| 75 | |
| 76 | a53_2: cpu@102 { |
| 77 | compatible = "arm,cortex-a53","arm,armv8"; |
| 78 | reg = <0x102>; |
| 79 | device_type = "cpu"; |
| 80 | power-domains = <&sysc R8A7796_PD_CA53_CPU2>; |
| 81 | next-level-cache = <&L2_CA53>; |
| 82 | enable-method = "psci"; |
| 83 | }; |
| 84 | |
| 85 | a53_3: cpu@103 { |
| 86 | compatible = "arm,cortex-a53","arm,armv8"; |
| 87 | reg = <0x103>; |
| 88 | device_type = "cpu"; |
| 89 | power-domains = <&sysc R8A7796_PD_CA53_CPU3>; |
| 90 | next-level-cache = <&L2_CA53>; |
| 91 | enable-method = "psci"; |
| 92 | }; |
| 93 | |
Geert Uytterhoeven | 57a4fd4 | 2017-03-03 14:18:17 +0100 | [diff] [blame] | 94 | L2_CA57: cache-controller-0 { |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 95 | compatible = "cache"; |
Geert Uytterhoeven | 56aebae | 2016-05-31 11:08:44 +0200 | [diff] [blame] | 96 | power-domains = <&sysc R8A7796_PD_CA57_SCU>; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 97 | cache-unified; |
| 98 | cache-level = <2>; |
| 99 | }; |
Geert Uytterhoeven | a681e6d | 2017-03-07 19:03:24 +0100 | [diff] [blame] | 100 | |
| 101 | L2_CA53: cache-controller-1 { |
| 102 | compatible = "cache"; |
| 103 | power-domains = <&sysc R8A7796_PD_CA53_SCU>; |
| 104 | cache-unified; |
| 105 | cache-level = <2>; |
| 106 | }; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 107 | }; |
| 108 | |
| 109 | extal_clk: extal { |
| 110 | compatible = "fixed-clock"; |
| 111 | #clock-cells = <0>; |
| 112 | /* This value must be overridden by the board */ |
| 113 | clock-frequency = <0>; |
| 114 | }; |
| 115 | |
| 116 | extalr_clk: extalr { |
| 117 | compatible = "fixed-clock"; |
| 118 | #clock-cells = <0>; |
| 119 | /* This value must be overridden by the board */ |
| 120 | clock-frequency = <0>; |
| 121 | }; |
| 122 | |
Chris Paterson | 8a6de04 | 2016-11-24 16:13:39 +0000 | [diff] [blame] | 123 | /* External CAN clock - to be overridden by boards that provide it */ |
| 124 | can_clk: can { |
| 125 | compatible = "fixed-clock"; |
| 126 | #clock-cells = <0>; |
| 127 | clock-frequency = <0>; |
| 128 | }; |
| 129 | |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 130 | /* External SCIF clock - to be overridden by boards that provide it */ |
| 131 | scif_clk: scif { |
| 132 | compatible = "fixed-clock"; |
| 133 | #clock-cells = <0>; |
| 134 | clock-frequency = <0>; |
| 135 | }; |
| 136 | |
| 137 | soc { |
| 138 | compatible = "simple-bus"; |
| 139 | interrupt-parent = <&gic>; |
| 140 | #address-cells = <2>; |
| 141 | #size-cells = <2>; |
| 142 | ranges; |
| 143 | |
| 144 | gic: interrupt-controller@f1010000 { |
| 145 | compatible = "arm,gic-400"; |
| 146 | #interrupt-cells = <3>; |
| 147 | #address-cells = <0>; |
| 148 | interrupt-controller; |
| 149 | reg = <0x0 0xf1010000 0 0x1000>, |
| 150 | <0x0 0xf1020000 0 0x20000>, |
| 151 | <0x0 0xf1040000 0 0x20000>, |
| 152 | <0x0 0xf1060000 0 0x20000>; |
| 153 | interrupts = <GIC_PPI 9 |
Geert Uytterhoeven | b4dc3b4 | 2017-03-07 19:03:25 +0100 | [diff] [blame^] | 154 | (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_HIGH)>; |
Geert Uytterhoeven | 0bacdbc | 2017-01-17 13:49:20 +0100 | [diff] [blame] | 155 | clocks = <&cpg CPG_MOD 408>; |
| 156 | clock-names = "clk"; |
| 157 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 158 | }; |
| 159 | |
| 160 | timer { |
| 161 | compatible = "arm,armv8-timer"; |
| 162 | interrupts = <GIC_PPI 13 |
Geert Uytterhoeven | b4dc3b4 | 2017-03-07 19:03:25 +0100 | [diff] [blame^] | 163 | (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 164 | <GIC_PPI 14 |
Geert Uytterhoeven | b4dc3b4 | 2017-03-07 19:03:25 +0100 | [diff] [blame^] | 165 | (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 166 | <GIC_PPI 11 |
Geert Uytterhoeven | b4dc3b4 | 2017-03-07 19:03:25 +0100 | [diff] [blame^] | 167 | (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>, |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 168 | <GIC_PPI 10 |
Geert Uytterhoeven | b4dc3b4 | 2017-03-07 19:03:25 +0100 | [diff] [blame^] | 169 | (GIC_CPU_MASK_SIMPLE(6) | IRQ_TYPE_LEVEL_LOW)>; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 170 | }; |
| 171 | |
Geert Uytterhoeven | c8ce800 | 2016-06-27 19:50:46 +0200 | [diff] [blame] | 172 | wdt0: watchdog@e6020000 { |
| 173 | compatible = "renesas,r8a7796-wdt", |
| 174 | "renesas,rcar-gen3-wdt"; |
| 175 | reg = <0 0xe6020000 0 0x0c>; |
| 176 | clocks = <&cpg CPG_MOD 402>; |
| 177 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 178 | status = "disabled"; |
| 179 | }; |
| 180 | |
Takeshi Kihara | fa765e5 | 2016-08-17 11:13:51 +0200 | [diff] [blame] | 181 | gpio0: gpio@e6050000 { |
| 182 | compatible = "renesas,gpio-r8a7796", |
| 183 | "renesas,gpio-rcar"; |
| 184 | reg = <0 0xe6050000 0 0x50>; |
| 185 | interrupts = <GIC_SPI 4 IRQ_TYPE_LEVEL_HIGH>; |
| 186 | #gpio-cells = <2>; |
| 187 | gpio-controller; |
| 188 | gpio-ranges = <&pfc 0 0 16>; |
| 189 | #interrupt-cells = <2>; |
| 190 | interrupt-controller; |
| 191 | clocks = <&cpg CPG_MOD 912>; |
| 192 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 193 | }; |
| 194 | |
| 195 | gpio1: gpio@e6051000 { |
| 196 | compatible = "renesas,gpio-r8a7796", |
| 197 | "renesas,gpio-rcar"; |
| 198 | reg = <0 0xe6051000 0 0x50>; |
| 199 | interrupts = <GIC_SPI 5 IRQ_TYPE_LEVEL_HIGH>; |
| 200 | #gpio-cells = <2>; |
| 201 | gpio-controller; |
| 202 | gpio-ranges = <&pfc 0 32 29>; |
| 203 | #interrupt-cells = <2>; |
| 204 | interrupt-controller; |
| 205 | clocks = <&cpg CPG_MOD 911>; |
| 206 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 207 | }; |
| 208 | |
| 209 | gpio2: gpio@e6052000 { |
| 210 | compatible = "renesas,gpio-r8a7796", |
| 211 | "renesas,gpio-rcar"; |
| 212 | reg = <0 0xe6052000 0 0x50>; |
| 213 | interrupts = <GIC_SPI 6 IRQ_TYPE_LEVEL_HIGH>; |
| 214 | #gpio-cells = <2>; |
| 215 | gpio-controller; |
| 216 | gpio-ranges = <&pfc 0 64 15>; |
| 217 | #interrupt-cells = <2>; |
| 218 | interrupt-controller; |
| 219 | clocks = <&cpg CPG_MOD 910>; |
| 220 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 221 | }; |
| 222 | |
| 223 | gpio3: gpio@e6053000 { |
| 224 | compatible = "renesas,gpio-r8a7796", |
| 225 | "renesas,gpio-rcar"; |
| 226 | reg = <0 0xe6053000 0 0x50>; |
| 227 | interrupts = <GIC_SPI 7 IRQ_TYPE_LEVEL_HIGH>; |
| 228 | #gpio-cells = <2>; |
| 229 | gpio-controller; |
| 230 | gpio-ranges = <&pfc 0 96 16>; |
| 231 | #interrupt-cells = <2>; |
| 232 | interrupt-controller; |
| 233 | clocks = <&cpg CPG_MOD 909>; |
| 234 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 235 | }; |
| 236 | |
| 237 | gpio4: gpio@e6054000 { |
| 238 | compatible = "renesas,gpio-r8a7796", |
| 239 | "renesas,gpio-rcar"; |
| 240 | reg = <0 0xe6054000 0 0x50>; |
| 241 | interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>; |
| 242 | #gpio-cells = <2>; |
| 243 | gpio-controller; |
| 244 | gpio-ranges = <&pfc 0 128 18>; |
| 245 | #interrupt-cells = <2>; |
| 246 | interrupt-controller; |
| 247 | clocks = <&cpg CPG_MOD 908>; |
| 248 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 249 | }; |
| 250 | |
| 251 | gpio5: gpio@e6055000 { |
| 252 | compatible = "renesas,gpio-r8a7796", |
| 253 | "renesas,gpio-rcar"; |
| 254 | reg = <0 0xe6055000 0 0x50>; |
| 255 | interrupts = <GIC_SPI 9 IRQ_TYPE_LEVEL_HIGH>; |
| 256 | #gpio-cells = <2>; |
| 257 | gpio-controller; |
| 258 | gpio-ranges = <&pfc 0 160 26>; |
| 259 | #interrupt-cells = <2>; |
| 260 | interrupt-controller; |
| 261 | clocks = <&cpg CPG_MOD 907>; |
| 262 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 263 | }; |
| 264 | |
| 265 | gpio6: gpio@e6055400 { |
| 266 | compatible = "renesas,gpio-r8a7796", |
| 267 | "renesas,gpio-rcar"; |
| 268 | reg = <0 0xe6055400 0 0x50>; |
| 269 | interrupts = <GIC_SPI 10 IRQ_TYPE_LEVEL_HIGH>; |
| 270 | #gpio-cells = <2>; |
| 271 | gpio-controller; |
| 272 | gpio-ranges = <&pfc 0 192 32>; |
| 273 | #interrupt-cells = <2>; |
| 274 | interrupt-controller; |
| 275 | clocks = <&cpg CPG_MOD 906>; |
| 276 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 277 | }; |
| 278 | |
| 279 | gpio7: gpio@e6055800 { |
| 280 | compatible = "renesas,gpio-r8a7796", |
| 281 | "renesas,gpio-rcar"; |
| 282 | reg = <0 0xe6055800 0 0x50>; |
| 283 | interrupts = <GIC_SPI 11 IRQ_TYPE_LEVEL_HIGH>; |
| 284 | #gpio-cells = <2>; |
| 285 | gpio-controller; |
| 286 | gpio-ranges = <&pfc 0 224 4>; |
| 287 | #interrupt-cells = <2>; |
| 288 | interrupt-controller; |
| 289 | clocks = <&cpg CPG_MOD 905>; |
| 290 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 291 | }; |
| 292 | |
Takeshi Kihara | 5080947 | 2016-08-18 15:12:34 +0200 | [diff] [blame] | 293 | pfc: pin-controller@e6060000 { |
| 294 | compatible = "renesas,pfc-r8a7796"; |
| 295 | reg = <0 0xe6060000 0 0x50c>; |
| 296 | }; |
| 297 | |
Takeshi Kihara | 9fccf4d | 2017-03-07 19:03:23 +0100 | [diff] [blame] | 298 | pmu_a57 { |
| 299 | compatible = "arm,cortex-a57-pmu"; |
| 300 | interrupts = <GIC_SPI 72 IRQ_TYPE_LEVEL_HIGH>, |
| 301 | <GIC_SPI 73 IRQ_TYPE_LEVEL_HIGH>; |
| 302 | interrupt-affinity = <&a57_0>, |
| 303 | <&a57_1>; |
| 304 | }; |
| 305 | |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 306 | cpg: clock-controller@e6150000 { |
| 307 | compatible = "renesas,r8a7796-cpg-mssr"; |
| 308 | reg = <0 0xe6150000 0 0x1000>; |
| 309 | clocks = <&extal_clk>, <&extalr_clk>; |
| 310 | clock-names = "extal", "extalr"; |
| 311 | #clock-cells = <2>; |
| 312 | #power-domain-cells = <0>; |
| 313 | }; |
| 314 | |
Geert Uytterhoeven | 65f922c | 2016-05-27 11:55:26 +0200 | [diff] [blame] | 315 | rst: reset-controller@e6160000 { |
| 316 | compatible = "renesas,r8a7796-rst"; |
| 317 | reg = <0 0xe6160000 0 0x0200>; |
| 318 | }; |
| 319 | |
Geert Uytterhoeven | 5de6896 | 2016-11-14 19:37:17 +0100 | [diff] [blame] | 320 | prr: chipid@fff00044 { |
| 321 | compatible = "renesas,prr"; |
| 322 | reg = <0 0xfff00044 0 4>; |
| 323 | }; |
| 324 | |
Geert Uytterhoeven | 56aebae | 2016-05-31 11:08:44 +0200 | [diff] [blame] | 325 | sysc: system-controller@e6180000 { |
| 326 | compatible = "renesas,r8a7796-sysc"; |
| 327 | reg = <0 0xe6180000 0 0x0400>; |
| 328 | #power-domain-cells = <1>; |
| 329 | }; |
| 330 | |
Dien Pham | 0fb1fd2 | 2017-01-26 09:52:27 +0100 | [diff] [blame] | 331 | i2c_dvfs: i2c@e60b0000 { |
| 332 | #address-cells = <1>; |
| 333 | #size-cells = <0>; |
| 334 | compatible = "renesas,iic-r8a7796", |
| 335 | "renesas,rcar-gen3-iic", |
| 336 | "renesas,rmobile-iic"; |
| 337 | reg = <0 0xe60b0000 0 0x425>; |
| 338 | interrupts = <GIC_SPI 173 IRQ_TYPE_LEVEL_HIGH>; |
| 339 | clocks = <&cpg CPG_MOD 926>; |
| 340 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 341 | status = "disabled"; |
| 342 | }; |
| 343 | |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 344 | i2c0: i2c@e6500000 { |
| 345 | #address-cells = <1>; |
| 346 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 347 | compatible = "renesas,i2c-r8a7796", |
| 348 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 349 | reg = <0 0xe6500000 0 0x40>; |
| 350 | interrupts = <GIC_SPI 287 IRQ_TYPE_LEVEL_HIGH>; |
| 351 | clocks = <&cpg CPG_MOD 931>; |
| 352 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 353 | dmas = <&dmac1 0x91>, <&dmac1 0x90>, |
| 354 | <&dmac2 0x91>, <&dmac2 0x90>; |
| 355 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 356 | i2c-scl-internal-delay-ns = <110>; |
| 357 | status = "disabled"; |
| 358 | }; |
| 359 | |
| 360 | i2c1: i2c@e6508000 { |
| 361 | #address-cells = <1>; |
| 362 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 363 | compatible = "renesas,i2c-r8a7796", |
| 364 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 365 | reg = <0 0xe6508000 0 0x40>; |
| 366 | interrupts = <GIC_SPI 288 IRQ_TYPE_LEVEL_HIGH>; |
| 367 | clocks = <&cpg CPG_MOD 930>; |
| 368 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 369 | dmas = <&dmac1 0x93>, <&dmac1 0x92>, |
| 370 | <&dmac2 0x93>, <&dmac2 0x92>; |
| 371 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 372 | i2c-scl-internal-delay-ns = <6>; |
| 373 | status = "disabled"; |
| 374 | }; |
| 375 | |
| 376 | i2c2: i2c@e6510000 { |
| 377 | #address-cells = <1>; |
| 378 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 379 | compatible = "renesas,i2c-r8a7796", |
| 380 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 381 | reg = <0 0xe6510000 0 0x40>; |
| 382 | interrupts = <GIC_SPI 286 IRQ_TYPE_LEVEL_HIGH>; |
| 383 | clocks = <&cpg CPG_MOD 929>; |
| 384 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 385 | dmas = <&dmac1 0x95>, <&dmac1 0x94>, |
| 386 | <&dmac2 0x95>, <&dmac2 0x94>; |
| 387 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 388 | i2c-scl-internal-delay-ns = <6>; |
| 389 | status = "disabled"; |
| 390 | }; |
| 391 | |
| 392 | i2c3: i2c@e66d0000 { |
| 393 | #address-cells = <1>; |
| 394 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 395 | compatible = "renesas,i2c-r8a7796", |
| 396 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 397 | reg = <0 0xe66d0000 0 0x40>; |
| 398 | interrupts = <GIC_SPI 290 IRQ_TYPE_LEVEL_HIGH>; |
| 399 | clocks = <&cpg CPG_MOD 928>; |
| 400 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 401 | dmas = <&dmac0 0x97>, <&dmac0 0x96>; |
| 402 | dma-names = "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 403 | i2c-scl-internal-delay-ns = <110>; |
| 404 | status = "disabled"; |
| 405 | }; |
| 406 | |
| 407 | i2c4: i2c@e66d8000 { |
| 408 | #address-cells = <1>; |
| 409 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 410 | compatible = "renesas,i2c-r8a7796", |
| 411 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 412 | reg = <0 0xe66d8000 0 0x40>; |
| 413 | interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>; |
| 414 | clocks = <&cpg CPG_MOD 927>; |
| 415 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 416 | dmas = <&dmac0 0x99>, <&dmac0 0x98>; |
| 417 | dma-names = "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 418 | i2c-scl-internal-delay-ns = <110>; |
| 419 | status = "disabled"; |
| 420 | }; |
| 421 | |
| 422 | i2c5: i2c@e66e0000 { |
| 423 | #address-cells = <1>; |
| 424 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 425 | compatible = "renesas,i2c-r8a7796", |
| 426 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 427 | reg = <0 0xe66e0000 0 0x40>; |
| 428 | interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>; |
| 429 | clocks = <&cpg CPG_MOD 919>; |
| 430 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 431 | dmas = <&dmac0 0x9b>, <&dmac0 0x9a>; |
| 432 | dma-names = "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 433 | i2c-scl-internal-delay-ns = <110>; |
| 434 | status = "disabled"; |
| 435 | }; |
| 436 | |
| 437 | i2c6: i2c@e66e8000 { |
| 438 | #address-cells = <1>; |
| 439 | #size-cells = <0>; |
Simon Horman | 5553e21 | 2016-12-13 12:45:55 +0100 | [diff] [blame] | 440 | compatible = "renesas,i2c-r8a7796", |
| 441 | "renesas,rcar-gen3-i2c"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 442 | reg = <0 0xe66e8000 0 0x40>; |
| 443 | interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>; |
| 444 | clocks = <&cpg CPG_MOD 918>; |
| 445 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Ulrich Hecht | c758f4e | 2016-10-26 16:14:08 +0200 | [diff] [blame] | 446 | dmas = <&dmac0 0x9d>, <&dmac0 0x9c>; |
| 447 | dma-names = "tx", "rx"; |
Ulrich Hecht | fcb008a | 2016-10-26 16:14:07 +0200 | [diff] [blame] | 448 | i2c-scl-internal-delay-ns = <6>; |
| 449 | status = "disabled"; |
| 450 | }; |
| 451 | |
Chris Paterson | 909c162 | 2016-11-24 16:13:40 +0000 | [diff] [blame] | 452 | can0: can@e6c30000 { |
| 453 | compatible = "renesas,can-r8a7796", |
| 454 | "renesas,rcar-gen3-can"; |
| 455 | reg = <0 0xe6c30000 0 0x1000>; |
| 456 | interrupts = <GIC_SPI 186 IRQ_TYPE_LEVEL_HIGH>; |
| 457 | clocks = <&cpg CPG_MOD 916>, |
| 458 | <&cpg CPG_CORE R8A7796_CLK_CANFD>, |
| 459 | <&can_clk>; |
| 460 | clock-names = "clkp1", "clkp2", "can_clk"; |
| 461 | assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>; |
| 462 | assigned-clock-rates = <40000000>; |
| 463 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 464 | status = "disabled"; |
| 465 | }; |
| 466 | |
| 467 | can1: can@e6c38000 { |
| 468 | compatible = "renesas,can-r8a7796", |
| 469 | "renesas,rcar-gen3-can"; |
| 470 | reg = <0 0xe6c38000 0 0x1000>; |
| 471 | interrupts = <GIC_SPI 187 IRQ_TYPE_LEVEL_HIGH>; |
| 472 | clocks = <&cpg CPG_MOD 915>, |
| 473 | <&cpg CPG_CORE R8A7796_CLK_CANFD>, |
| 474 | <&can_clk>; |
| 475 | clock-names = "clkp1", "clkp2", "can_clk"; |
| 476 | assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>; |
| 477 | assigned-clock-rates = <40000000>; |
| 478 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 479 | status = "disabled"; |
| 480 | }; |
| 481 | |
Chris Paterson | f4176d7c | 2016-11-24 16:13:41 +0000 | [diff] [blame] | 482 | canfd: can@e66c0000 { |
| 483 | compatible = "renesas,r8a7796-canfd", |
| 484 | "renesas,rcar-gen3-canfd"; |
| 485 | reg = <0 0xe66c0000 0 0x8000>; |
| 486 | interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>, |
| 487 | <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>; |
| 488 | clocks = <&cpg CPG_MOD 914>, |
| 489 | <&cpg CPG_CORE R8A7796_CLK_CANFD>, |
| 490 | <&can_clk>; |
| 491 | clock-names = "fck", "canfd", "can_clk"; |
| 492 | assigned-clocks = <&cpg CPG_CORE R8A7796_CLK_CANFD>; |
| 493 | assigned-clock-rates = <40000000>; |
| 494 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 495 | status = "disabled"; |
| 496 | |
| 497 | channel0 { |
| 498 | status = "disabled"; |
| 499 | }; |
| 500 | |
| 501 | channel1 { |
| 502 | status = "disabled"; |
| 503 | }; |
| 504 | }; |
| 505 | |
Laurent Pinchart | 8e8b9ea | 2016-09-06 11:25:51 +0300 | [diff] [blame] | 506 | avb: ethernet@e6800000 { |
| 507 | compatible = "renesas,etheravb-r8a7796", |
| 508 | "renesas,etheravb-rcar-gen3"; |
| 509 | reg = <0 0xe6800000 0 0x800>, <0 0xe6a00000 0 0x10000>; |
| 510 | interrupts = <GIC_SPI 39 IRQ_TYPE_LEVEL_HIGH>, |
| 511 | <GIC_SPI 40 IRQ_TYPE_LEVEL_HIGH>, |
| 512 | <GIC_SPI 41 IRQ_TYPE_LEVEL_HIGH>, |
| 513 | <GIC_SPI 42 IRQ_TYPE_LEVEL_HIGH>, |
| 514 | <GIC_SPI 43 IRQ_TYPE_LEVEL_HIGH>, |
| 515 | <GIC_SPI 44 IRQ_TYPE_LEVEL_HIGH>, |
| 516 | <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>, |
| 517 | <GIC_SPI 46 IRQ_TYPE_LEVEL_HIGH>, |
| 518 | <GIC_SPI 47 IRQ_TYPE_LEVEL_HIGH>, |
| 519 | <GIC_SPI 48 IRQ_TYPE_LEVEL_HIGH>, |
| 520 | <GIC_SPI 49 IRQ_TYPE_LEVEL_HIGH>, |
| 521 | <GIC_SPI 50 IRQ_TYPE_LEVEL_HIGH>, |
| 522 | <GIC_SPI 51 IRQ_TYPE_LEVEL_HIGH>, |
| 523 | <GIC_SPI 52 IRQ_TYPE_LEVEL_HIGH>, |
| 524 | <GIC_SPI 53 IRQ_TYPE_LEVEL_HIGH>, |
| 525 | <GIC_SPI 54 IRQ_TYPE_LEVEL_HIGH>, |
| 526 | <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>, |
| 527 | <GIC_SPI 56 IRQ_TYPE_LEVEL_HIGH>, |
| 528 | <GIC_SPI 57 IRQ_TYPE_LEVEL_HIGH>, |
| 529 | <GIC_SPI 58 IRQ_TYPE_LEVEL_HIGH>, |
| 530 | <GIC_SPI 59 IRQ_TYPE_LEVEL_HIGH>, |
| 531 | <GIC_SPI 60 IRQ_TYPE_LEVEL_HIGH>, |
| 532 | <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>, |
| 533 | <GIC_SPI 62 IRQ_TYPE_LEVEL_HIGH>, |
| 534 | <GIC_SPI 63 IRQ_TYPE_LEVEL_HIGH>; |
| 535 | interrupt-names = "ch0", "ch1", "ch2", "ch3", |
| 536 | "ch4", "ch5", "ch6", "ch7", |
| 537 | "ch8", "ch9", "ch10", "ch11", |
| 538 | "ch12", "ch13", "ch14", "ch15", |
| 539 | "ch16", "ch17", "ch18", "ch19", |
| 540 | "ch20", "ch21", "ch22", "ch23", |
| 541 | "ch24"; |
| 542 | clocks = <&cpg CPG_MOD 812>; |
| 543 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Kazuya Mizuguchi | 325f390 | 2017-02-01 09:42:03 +0100 | [diff] [blame] | 544 | phy-mode = "rgmii-txid"; |
Laurent Pinchart | 8e8b9ea | 2016-09-06 11:25:51 +0300 | [diff] [blame] | 545 | #address-cells = <1>; |
| 546 | #size-cells = <0>; |
Geert Uytterhoeven | 7e1c23b | 2017-01-25 14:19:31 +0100 | [diff] [blame] | 547 | status = "disabled"; |
Laurent Pinchart | 8e8b9ea | 2016-09-06 11:25:51 +0300 | [diff] [blame] | 548 | }; |
| 549 | |
Ulrich Hecht | 68cd161 | 2016-12-07 17:44:47 +0100 | [diff] [blame] | 550 | hscif0: serial@e6540000 { |
| 551 | compatible = "renesas,hscif-r8a7796", |
| 552 | "renesas,rcar-gen3-hscif", |
| 553 | "renesas,hscif"; |
| 554 | reg = <0 0xe6540000 0 0x60>; |
| 555 | interrupts = <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>; |
| 556 | clocks = <&cpg CPG_MOD 520>, |
| 557 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 558 | <&scif_clk>; |
| 559 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | 6d50bb8 | 2016-12-07 17:44:48 +0100 | [diff] [blame] | 560 | dmas = <&dmac1 0x31>, <&dmac1 0x30>, |
| 561 | <&dmac2 0x31>, <&dmac2 0x30>; |
| 562 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | 68cd161 | 2016-12-07 17:44:47 +0100 | [diff] [blame] | 563 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 564 | status = "disabled"; |
| 565 | }; |
| 566 | |
| 567 | hscif1: serial@e6550000 { |
| 568 | compatible = "renesas,hscif-r8a7796", |
| 569 | "renesas,rcar-gen3-hscif", |
| 570 | "renesas,hscif"; |
| 571 | reg = <0 0xe6550000 0 0x60>; |
| 572 | interrupts = <GIC_SPI 155 IRQ_TYPE_LEVEL_HIGH>; |
| 573 | clocks = <&cpg CPG_MOD 519>, |
| 574 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 575 | <&scif_clk>; |
| 576 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | 6d50bb8 | 2016-12-07 17:44:48 +0100 | [diff] [blame] | 577 | dmas = <&dmac1 0x33>, <&dmac1 0x32>, |
| 578 | <&dmac2 0x33>, <&dmac2 0x32>; |
| 579 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | 68cd161 | 2016-12-07 17:44:47 +0100 | [diff] [blame] | 580 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 581 | status = "disabled"; |
| 582 | }; |
| 583 | |
| 584 | hscif2: serial@e6560000 { |
| 585 | compatible = "renesas,hscif-r8a7796", |
| 586 | "renesas,rcar-gen3-hscif", |
| 587 | "renesas,hscif"; |
| 588 | reg = <0 0xe6560000 0 0x60>; |
| 589 | interrupts = <GIC_SPI 144 IRQ_TYPE_LEVEL_HIGH>; |
| 590 | clocks = <&cpg CPG_MOD 518>, |
| 591 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 592 | <&scif_clk>; |
| 593 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | 6d50bb8 | 2016-12-07 17:44:48 +0100 | [diff] [blame] | 594 | dmas = <&dmac1 0x35>, <&dmac1 0x34>, |
| 595 | <&dmac2 0x35>, <&dmac2 0x34>; |
| 596 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | 68cd161 | 2016-12-07 17:44:47 +0100 | [diff] [blame] | 597 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 598 | status = "disabled"; |
| 599 | }; |
| 600 | |
| 601 | hscif3: serial@e66a0000 { |
| 602 | compatible = "renesas,hscif-r8a7796", |
| 603 | "renesas,rcar-gen3-hscif", |
| 604 | "renesas,hscif"; |
| 605 | reg = <0 0xe66a0000 0 0x60>; |
| 606 | interrupts = <GIC_SPI 145 IRQ_TYPE_LEVEL_HIGH>; |
| 607 | clocks = <&cpg CPG_MOD 517>, |
| 608 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 609 | <&scif_clk>; |
| 610 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | 6d50bb8 | 2016-12-07 17:44:48 +0100 | [diff] [blame] | 611 | dmas = <&dmac0 0x37>, <&dmac0 0x36>; |
| 612 | dma-names = "tx", "rx"; |
Ulrich Hecht | 68cd161 | 2016-12-07 17:44:47 +0100 | [diff] [blame] | 613 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 614 | status = "disabled"; |
| 615 | }; |
| 616 | |
| 617 | hscif4: serial@e66b0000 { |
| 618 | compatible = "renesas,hscif-r8a7796", |
| 619 | "renesas,rcar-gen3-hscif", |
| 620 | "renesas,hscif"; |
| 621 | reg = <0 0xe66b0000 0 0x60>; |
| 622 | interrupts = <GIC_SPI 146 IRQ_TYPE_LEVEL_HIGH>; |
| 623 | clocks = <&cpg CPG_MOD 516>, |
| 624 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 625 | <&scif_clk>; |
| 626 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | 6d50bb8 | 2016-12-07 17:44:48 +0100 | [diff] [blame] | 627 | dmas = <&dmac0 0x39>, <&dmac0 0x38>; |
| 628 | dma-names = "tx", "rx"; |
Ulrich Hecht | 68cd161 | 2016-12-07 17:44:47 +0100 | [diff] [blame] | 629 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 630 | status = "disabled"; |
| 631 | }; |
| 632 | |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 633 | scif0: serial@e6e60000 { |
| 634 | compatible = "renesas,scif-r8a7796", |
| 635 | "renesas,rcar-gen3-scif", "renesas,scif"; |
| 636 | reg = <0 0xe6e60000 0 64>; |
| 637 | interrupts = <GIC_SPI 152 IRQ_TYPE_LEVEL_HIGH>; |
| 638 | clocks = <&cpg CPG_MOD 207>, |
| 639 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 640 | <&scif_clk>; |
| 641 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | dbcae5e | 2016-12-07 17:44:27 +0100 | [diff] [blame] | 642 | dmas = <&dmac1 0x51>, <&dmac1 0x50>, |
| 643 | <&dmac2 0x51>, <&dmac2 0x50>; |
| 644 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 645 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 646 | status = "disabled"; |
| 647 | }; |
| 648 | |
| 649 | scif1: serial@e6e68000 { |
| 650 | compatible = "renesas,scif-r8a7796", |
| 651 | "renesas,rcar-gen3-scif", "renesas,scif"; |
| 652 | reg = <0 0xe6e68000 0 64>; |
| 653 | interrupts = <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>; |
| 654 | clocks = <&cpg CPG_MOD 206>, |
| 655 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 656 | <&scif_clk>; |
| 657 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | dbcae5e | 2016-12-07 17:44:27 +0100 | [diff] [blame] | 658 | dmas = <&dmac1 0x53>, <&dmac1 0x52>, |
| 659 | <&dmac2 0x53>, <&dmac2 0x52>; |
| 660 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 661 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 662 | status = "disabled"; |
| 663 | }; |
| 664 | |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 665 | scif2: serial@e6e88000 { |
| 666 | compatible = "renesas,scif-r8a7796", |
| 667 | "renesas,rcar-gen3-scif", "renesas,scif"; |
| 668 | reg = <0 0xe6e88000 0 64>; |
| 669 | interrupts = <GIC_SPI 164 IRQ_TYPE_LEVEL_HIGH>; |
| 670 | clocks = <&cpg CPG_MOD 310>, |
| 671 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 672 | <&scif_clk>; |
| 673 | clock-names = "fck", "brg_int", "scif_clk"; |
Geert Uytterhoeven | a900318 | 2016-05-31 11:08:45 +0200 | [diff] [blame] | 674 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 675 | status = "disabled"; |
| 676 | }; |
Simon Horman | a513cf1 | 2016-08-17 10:08:05 +0200 | [diff] [blame] | 677 | |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 678 | scif3: serial@e6c50000 { |
| 679 | compatible = "renesas,scif-r8a7796", |
| 680 | "renesas,rcar-gen3-scif", "renesas,scif"; |
| 681 | reg = <0 0xe6c50000 0 64>; |
| 682 | interrupts = <GIC_SPI 23 IRQ_TYPE_LEVEL_HIGH>; |
| 683 | clocks = <&cpg CPG_MOD 204>, |
| 684 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 685 | <&scif_clk>; |
| 686 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | dbcae5e | 2016-12-07 17:44:27 +0100 | [diff] [blame] | 687 | dmas = <&dmac0 0x57>, <&dmac0 0x56>; |
| 688 | dma-names = "tx", "rx"; |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 689 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 690 | status = "disabled"; |
| 691 | }; |
| 692 | |
| 693 | scif4: serial@e6c40000 { |
| 694 | compatible = "renesas,scif-r8a7796", |
| 695 | "renesas,rcar-gen3-scif", "renesas,scif"; |
| 696 | reg = <0 0xe6c40000 0 64>; |
| 697 | interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>; |
| 698 | clocks = <&cpg CPG_MOD 203>, |
| 699 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 700 | <&scif_clk>; |
| 701 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | dbcae5e | 2016-12-07 17:44:27 +0100 | [diff] [blame] | 702 | dmas = <&dmac0 0x59>, <&dmac0 0x58>; |
| 703 | dma-names = "tx", "rx"; |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 704 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 705 | status = "disabled"; |
| 706 | }; |
| 707 | |
| 708 | scif5: serial@e6f30000 { |
| 709 | compatible = "renesas,scif-r8a7796", |
| 710 | "renesas,rcar-gen3-scif", "renesas,scif"; |
| 711 | reg = <0 0xe6f30000 0 64>; |
| 712 | interrupts = <GIC_SPI 17 IRQ_TYPE_LEVEL_HIGH>; |
| 713 | clocks = <&cpg CPG_MOD 202>, |
| 714 | <&cpg CPG_CORE R8A7796_CLK_S3D1>, |
| 715 | <&scif_clk>; |
| 716 | clock-names = "fck", "brg_int", "scif_clk"; |
Ulrich Hecht | dbcae5e | 2016-12-07 17:44:27 +0100 | [diff] [blame] | 717 | dmas = <&dmac1 0x5b>, <&dmac1 0x5a>, |
| 718 | <&dmac2 0x5b>, <&dmac2 0x5a>; |
| 719 | dma-names = "tx", "rx", "tx", "rx"; |
Ulrich Hecht | 19d76f3 | 2016-12-07 17:44:26 +0100 | [diff] [blame] | 720 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 721 | status = "disabled"; |
| 722 | }; |
| 723 | |
Geert Uytterhoeven | 80fab06 | 2016-11-21 18:26:53 +0100 | [diff] [blame] | 724 | msiof0: spi@e6e90000 { |
Simon Horman | 8b51f97 | 2016-12-20 11:32:36 +0100 | [diff] [blame] | 725 | compatible = "renesas,msiof-r8a7796", |
| 726 | "renesas,rcar-gen3-msiof"; |
Geert Uytterhoeven | 80fab06 | 2016-11-21 18:26:53 +0100 | [diff] [blame] | 727 | reg = <0 0xe6e90000 0 0x0064>; |
| 728 | interrupts = <GIC_SPI 156 IRQ_TYPE_LEVEL_HIGH>; |
| 729 | clocks = <&cpg CPG_MOD 211>; |
| 730 | dmas = <&dmac1 0x41>, <&dmac1 0x40>, |
| 731 | <&dmac2 0x41>, <&dmac2 0x40>; |
| 732 | dma-names = "tx", "rx"; |
| 733 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 734 | #address-cells = <1>; |
| 735 | #size-cells = <0>; |
| 736 | status = "disabled"; |
| 737 | }; |
| 738 | |
| 739 | msiof1: spi@e6ea0000 { |
Simon Horman | 8b51f97 | 2016-12-20 11:32:36 +0100 | [diff] [blame] | 740 | compatible = "renesas,msiof-r8a7796", |
| 741 | "renesas,rcar-gen3-msiof"; |
Geert Uytterhoeven | 80fab06 | 2016-11-21 18:26:53 +0100 | [diff] [blame] | 742 | reg = <0 0xe6ea0000 0 0x0064>; |
| 743 | interrupts = <GIC_SPI 157 IRQ_TYPE_LEVEL_HIGH>; |
| 744 | clocks = <&cpg CPG_MOD 210>; |
| 745 | dmas = <&dmac1 0x43>, <&dmac1 0x42>, |
| 746 | <&dmac2 0x43>, <&dmac2 0x42>; |
| 747 | dma-names = "tx", "rx"; |
| 748 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 749 | #address-cells = <1>; |
| 750 | #size-cells = <0>; |
| 751 | status = "disabled"; |
| 752 | }; |
| 753 | |
| 754 | msiof2: spi@e6c00000 { |
Simon Horman | 8b51f97 | 2016-12-20 11:32:36 +0100 | [diff] [blame] | 755 | compatible = "renesas,msiof-r8a7796", |
| 756 | "renesas,rcar-gen3-msiof"; |
Geert Uytterhoeven | 80fab06 | 2016-11-21 18:26:53 +0100 | [diff] [blame] | 757 | reg = <0 0xe6c00000 0 0x0064>; |
| 758 | interrupts = <GIC_SPI 158 IRQ_TYPE_LEVEL_HIGH>; |
| 759 | clocks = <&cpg CPG_MOD 209>; |
| 760 | dmas = <&dmac0 0x45>, <&dmac0 0x44>; |
| 761 | dma-names = "tx", "rx"; |
| 762 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 763 | #address-cells = <1>; |
| 764 | #size-cells = <0>; |
| 765 | status = "disabled"; |
| 766 | }; |
| 767 | |
| 768 | msiof3: spi@e6c10000 { |
Simon Horman | 8b51f97 | 2016-12-20 11:32:36 +0100 | [diff] [blame] | 769 | compatible = "renesas,msiof-r8a7796", |
| 770 | "renesas,rcar-gen3-msiof"; |
Geert Uytterhoeven | 80fab06 | 2016-11-21 18:26:53 +0100 | [diff] [blame] | 771 | reg = <0 0xe6c10000 0 0x0064>; |
| 772 | interrupts = <GIC_SPI 159 IRQ_TYPE_LEVEL_HIGH>; |
| 773 | clocks = <&cpg CPG_MOD 208>; |
| 774 | dmas = <&dmac0 0x47>, <&dmac0 0x46>; |
| 775 | dma-names = "tx", "rx"; |
| 776 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 777 | #address-cells = <1>; |
| 778 | #size-cells = <0>; |
| 779 | status = "disabled"; |
| 780 | }; |
| 781 | |
Ulrich Hecht | 9350852 | 2016-09-14 18:45:48 +0200 | [diff] [blame] | 782 | dmac0: dma-controller@e6700000 { |
| 783 | compatible = "renesas,dmac-r8a7796", |
| 784 | "renesas,rcar-dmac"; |
| 785 | reg = <0 0xe6700000 0 0x10000>; |
| 786 | interrupts = <GIC_SPI 199 IRQ_TYPE_LEVEL_HIGH |
| 787 | GIC_SPI 200 IRQ_TYPE_LEVEL_HIGH |
| 788 | GIC_SPI 201 IRQ_TYPE_LEVEL_HIGH |
| 789 | GIC_SPI 202 IRQ_TYPE_LEVEL_HIGH |
| 790 | GIC_SPI 203 IRQ_TYPE_LEVEL_HIGH |
| 791 | GIC_SPI 204 IRQ_TYPE_LEVEL_HIGH |
| 792 | GIC_SPI 205 IRQ_TYPE_LEVEL_HIGH |
| 793 | GIC_SPI 206 IRQ_TYPE_LEVEL_HIGH |
| 794 | GIC_SPI 207 IRQ_TYPE_LEVEL_HIGH |
| 795 | GIC_SPI 208 IRQ_TYPE_LEVEL_HIGH |
| 796 | GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH |
| 797 | GIC_SPI 210 IRQ_TYPE_LEVEL_HIGH |
| 798 | GIC_SPI 211 IRQ_TYPE_LEVEL_HIGH |
| 799 | GIC_SPI 212 IRQ_TYPE_LEVEL_HIGH |
| 800 | GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH |
| 801 | GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH |
| 802 | GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>; |
| 803 | interrupt-names = "error", |
| 804 | "ch0", "ch1", "ch2", "ch3", |
| 805 | "ch4", "ch5", "ch6", "ch7", |
| 806 | "ch8", "ch9", "ch10", "ch11", |
| 807 | "ch12", "ch13", "ch14", "ch15"; |
| 808 | clocks = <&cpg CPG_MOD 219>; |
| 809 | clock-names = "fck"; |
| 810 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 811 | #dma-cells = <1>; |
| 812 | dma-channels = <16>; |
| 813 | }; |
| 814 | |
| 815 | dmac1: dma-controller@e7300000 { |
| 816 | compatible = "renesas,dmac-r8a7796", |
| 817 | "renesas,rcar-dmac"; |
| 818 | reg = <0 0xe7300000 0 0x10000>; |
| 819 | interrupts = <GIC_SPI 220 IRQ_TYPE_LEVEL_HIGH |
| 820 | GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH |
| 821 | GIC_SPI 217 IRQ_TYPE_LEVEL_HIGH |
| 822 | GIC_SPI 218 IRQ_TYPE_LEVEL_HIGH |
| 823 | GIC_SPI 219 IRQ_TYPE_LEVEL_HIGH |
| 824 | GIC_SPI 308 IRQ_TYPE_LEVEL_HIGH |
| 825 | GIC_SPI 309 IRQ_TYPE_LEVEL_HIGH |
| 826 | GIC_SPI 310 IRQ_TYPE_LEVEL_HIGH |
| 827 | GIC_SPI 311 IRQ_TYPE_LEVEL_HIGH |
| 828 | GIC_SPI 312 IRQ_TYPE_LEVEL_HIGH |
| 829 | GIC_SPI 313 IRQ_TYPE_LEVEL_HIGH |
| 830 | GIC_SPI 314 IRQ_TYPE_LEVEL_HIGH |
| 831 | GIC_SPI 315 IRQ_TYPE_LEVEL_HIGH |
| 832 | GIC_SPI 316 IRQ_TYPE_LEVEL_HIGH |
| 833 | GIC_SPI 317 IRQ_TYPE_LEVEL_HIGH |
| 834 | GIC_SPI 318 IRQ_TYPE_LEVEL_HIGH |
| 835 | GIC_SPI 319 IRQ_TYPE_LEVEL_HIGH>; |
| 836 | interrupt-names = "error", |
| 837 | "ch0", "ch1", "ch2", "ch3", |
| 838 | "ch4", "ch5", "ch6", "ch7", |
| 839 | "ch8", "ch9", "ch10", "ch11", |
| 840 | "ch12", "ch13", "ch14", "ch15"; |
| 841 | clocks = <&cpg CPG_MOD 218>; |
| 842 | clock-names = "fck"; |
| 843 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 844 | #dma-cells = <1>; |
| 845 | dma-channels = <16>; |
| 846 | }; |
| 847 | |
| 848 | dmac2: dma-controller@e7310000 { |
| 849 | compatible = "renesas,dmac-r8a7796", |
| 850 | "renesas,rcar-dmac"; |
| 851 | reg = <0 0xe7310000 0 0x10000>; |
| 852 | interrupts = <GIC_SPI 416 IRQ_TYPE_LEVEL_HIGH |
| 853 | GIC_SPI 417 IRQ_TYPE_LEVEL_HIGH |
| 854 | GIC_SPI 418 IRQ_TYPE_LEVEL_HIGH |
| 855 | GIC_SPI 419 IRQ_TYPE_LEVEL_HIGH |
| 856 | GIC_SPI 420 IRQ_TYPE_LEVEL_HIGH |
| 857 | GIC_SPI 421 IRQ_TYPE_LEVEL_HIGH |
| 858 | GIC_SPI 422 IRQ_TYPE_LEVEL_HIGH |
| 859 | GIC_SPI 423 IRQ_TYPE_LEVEL_HIGH |
| 860 | GIC_SPI 424 IRQ_TYPE_LEVEL_HIGH |
| 861 | GIC_SPI 425 IRQ_TYPE_LEVEL_HIGH |
| 862 | GIC_SPI 426 IRQ_TYPE_LEVEL_HIGH |
| 863 | GIC_SPI 427 IRQ_TYPE_LEVEL_HIGH |
| 864 | GIC_SPI 428 IRQ_TYPE_LEVEL_HIGH |
| 865 | GIC_SPI 429 IRQ_TYPE_LEVEL_HIGH |
| 866 | GIC_SPI 430 IRQ_TYPE_LEVEL_HIGH |
| 867 | GIC_SPI 431 IRQ_TYPE_LEVEL_HIGH |
| 868 | GIC_SPI 397 IRQ_TYPE_LEVEL_HIGH>; |
| 869 | interrupt-names = "error", |
| 870 | "ch0", "ch1", "ch2", "ch3", |
| 871 | "ch4", "ch5", "ch6", "ch7", |
| 872 | "ch8", "ch9", "ch10", "ch11", |
| 873 | "ch12", "ch13", "ch14", "ch15"; |
| 874 | clocks = <&cpg CPG_MOD 217>; |
| 875 | clock-names = "fck"; |
| 876 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 877 | #dma-cells = <1>; |
| 878 | dma-channels = <16>; |
| 879 | }; |
| 880 | |
Simon Horman | a513cf1 | 2016-08-17 10:08:05 +0200 | [diff] [blame] | 881 | sdhi0: sd@ee100000 { |
| 882 | compatible = "renesas,sdhi-r8a7796"; |
| 883 | reg = <0 0xee100000 0 0x2000>; |
| 884 | interrupts = <GIC_SPI 165 IRQ_TYPE_LEVEL_HIGH>; |
| 885 | clocks = <&cpg CPG_MOD 314>; |
| 886 | max-frequency = <200000000>; |
| 887 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 888 | status = "disabled"; |
| 889 | }; |
| 890 | |
| 891 | sdhi1: sd@ee120000 { |
| 892 | compatible = "renesas,sdhi-r8a7796"; |
| 893 | reg = <0 0xee120000 0 0x2000>; |
| 894 | interrupts = <GIC_SPI 166 IRQ_TYPE_LEVEL_HIGH>; |
| 895 | clocks = <&cpg CPG_MOD 313>; |
| 896 | max-frequency = <200000000>; |
| 897 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 898 | status = "disabled"; |
| 899 | }; |
| 900 | |
| 901 | sdhi2: sd@ee140000 { |
| 902 | compatible = "renesas,sdhi-r8a7796"; |
| 903 | reg = <0 0xee140000 0 0x2000>; |
| 904 | interrupts = <GIC_SPI 167 IRQ_TYPE_LEVEL_HIGH>; |
| 905 | clocks = <&cpg CPG_MOD 312>; |
| 906 | max-frequency = <200000000>; |
| 907 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 908 | status = "disabled"; |
| 909 | }; |
| 910 | |
| 911 | sdhi3: sd@ee160000 { |
| 912 | compatible = "renesas,sdhi-r8a7796"; |
| 913 | reg = <0 0xee160000 0 0x2000>; |
| 914 | interrupts = <GIC_SPI 168 IRQ_TYPE_LEVEL_HIGH>; |
| 915 | clocks = <&cpg CPG_MOD 311>; |
| 916 | max-frequency = <200000000>; |
| 917 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 918 | status = "disabled"; |
| 919 | }; |
Wolfram Sang | af25d1c | 2017-01-20 12:26:43 +0100 | [diff] [blame] | 920 | |
| 921 | tsc: thermal@e6198000 { |
| 922 | compatible = "renesas,r8a7796-thermal"; |
| 923 | reg = <0 0xe6198000 0 0x68>, |
| 924 | <0 0xe61a0000 0 0x5c>, |
| 925 | <0 0xe61a8000 0 0x5c>; |
| 926 | interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, |
| 927 | <GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, |
| 928 | <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>; |
| 929 | clocks = <&cpg CPG_MOD 522>; |
| 930 | power-domains = <&sysc R8A7796_PD_ALWAYS_ON>; |
| 931 | #thermal-sensor-cells = <1>; |
| 932 | status = "okay"; |
| 933 | }; |
| 934 | |
| 935 | thermal-zones { |
| 936 | sensor_thermal1: sensor-thermal1 { |
| 937 | polling-delay-passive = <250>; |
| 938 | polling-delay = <1000>; |
| 939 | thermal-sensors = <&tsc 0>; |
| 940 | |
| 941 | trips { |
| 942 | sensor1_crit: sensor1-crit { |
| 943 | temperature = <120000>; |
| 944 | hysteresis = <2000>; |
| 945 | type = "critical"; |
| 946 | }; |
| 947 | }; |
| 948 | }; |
| 949 | |
| 950 | sensor_thermal2: sensor-thermal2 { |
| 951 | polling-delay-passive = <250>; |
| 952 | polling-delay = <1000>; |
| 953 | thermal-sensors = <&tsc 1>; |
| 954 | |
| 955 | trips { |
| 956 | sensor2_crit: sensor2-crit { |
| 957 | temperature = <120000>; |
| 958 | hysteresis = <2000>; |
| 959 | type = "critical"; |
| 960 | }; |
| 961 | }; |
| 962 | }; |
| 963 | |
| 964 | sensor_thermal3: sensor-thermal3 { |
| 965 | polling-delay-passive = <250>; |
| 966 | polling-delay = <1000>; |
| 967 | thermal-sensors = <&tsc 2>; |
| 968 | |
| 969 | trips { |
| 970 | sensor3_crit: sensor3-crit { |
| 971 | temperature = <120000>; |
| 972 | hysteresis = <2000>; |
| 973 | type = "critical"; |
| 974 | }; |
| 975 | }; |
| 976 | }; |
| 977 | }; |
Simon Horman | 1561f20 | 2016-05-24 10:54:38 +0900 | [diff] [blame] | 978 | }; |
| 979 | }; |