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