Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7790 SoC |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions 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 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 11 | / { |
| 12 | compatible = "renesas,r8a7790"; |
| 13 | interrupt-parent = <&gic>; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 14 | #address-cells = <2>; |
| 15 | #size-cells = <2>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 16 | |
| 17 | cpus { |
| 18 | #address-cells = <1>; |
| 19 | #size-cells = <0>; |
| 20 | |
| 21 | cpu0: cpu@0 { |
| 22 | device_type = "cpu"; |
| 23 | compatible = "arm,cortex-a15"; |
| 24 | reg = <0>; |
| 25 | clock-frequency = <1300000000>; |
| 26 | }; |
Magnus Damm | c1f9597 | 2013-08-29 08:22:17 +0900 | [diff] [blame] | 27 | |
| 28 | cpu1: cpu@1 { |
| 29 | device_type = "cpu"; |
| 30 | compatible = "arm,cortex-a15"; |
| 31 | reg = <1>; |
| 32 | clock-frequency = <1300000000>; |
| 33 | }; |
| 34 | |
| 35 | cpu2: cpu@2 { |
| 36 | device_type = "cpu"; |
| 37 | compatible = "arm,cortex-a15"; |
| 38 | reg = <2>; |
| 39 | clock-frequency = <1300000000>; |
| 40 | }; |
| 41 | |
| 42 | cpu3: cpu@3 { |
| 43 | device_type = "cpu"; |
| 44 | compatible = "arm,cortex-a15"; |
| 45 | reg = <3>; |
| 46 | clock-frequency = <1300000000>; |
| 47 | }; |
Magnus Damm | 2007e74 | 2013-09-15 00:28:58 +0900 | [diff] [blame] | 48 | |
| 49 | cpu4: cpu@4 { |
| 50 | device_type = "cpu"; |
| 51 | compatible = "arm,cortex-a7"; |
| 52 | reg = <0x100>; |
| 53 | clock-frequency = <780000000>; |
| 54 | }; |
| 55 | |
| 56 | cpu5: cpu@5 { |
| 57 | device_type = "cpu"; |
| 58 | compatible = "arm,cortex-a7"; |
| 59 | reg = <0x101>; |
| 60 | clock-frequency = <780000000>; |
| 61 | }; |
| 62 | |
| 63 | cpu6: cpu@6 { |
| 64 | device_type = "cpu"; |
| 65 | compatible = "arm,cortex-a7"; |
| 66 | reg = <0x102>; |
| 67 | clock-frequency = <780000000>; |
| 68 | }; |
| 69 | |
| 70 | cpu7: cpu@7 { |
| 71 | device_type = "cpu"; |
| 72 | compatible = "arm,cortex-a7"; |
| 73 | reg = <0x103>; |
| 74 | clock-frequency = <780000000>; |
| 75 | }; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 76 | }; |
| 77 | |
| 78 | gic: interrupt-controller@f1001000 { |
| 79 | compatible = "arm,cortex-a15-gic"; |
| 80 | #interrupt-cells = <3>; |
| 81 | #address-cells = <0>; |
| 82 | interrupt-controller; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 83 | reg = <0 0xf1001000 0 0x1000>, |
| 84 | <0 0xf1002000 0 0x1000>, |
| 85 | <0 0xf1004000 0 0x2000>, |
| 86 | <0 0xf1006000 0 0x2000>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 87 | interrupts = <1 9 0xf04>; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 88 | }; |
| 89 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 90 | gpio0: gpio@e6050000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 91 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 92 | reg = <0 0xe6050000 0 0x50>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 93 | interrupt-parent = <&gic>; |
| 94 | interrupts = <0 4 0x4>; |
| 95 | #gpio-cells = <2>; |
| 96 | gpio-controller; |
| 97 | gpio-ranges = <&pfc 0 0 32>; |
| 98 | #interrupt-cells = <2>; |
| 99 | interrupt-controller; |
| 100 | }; |
| 101 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 102 | gpio1: gpio@e6051000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 103 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 104 | reg = <0 0xe6051000 0 0x50>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 105 | interrupt-parent = <&gic>; |
| 106 | interrupts = <0 5 0x4>; |
| 107 | #gpio-cells = <2>; |
| 108 | gpio-controller; |
| 109 | gpio-ranges = <&pfc 0 32 32>; |
| 110 | #interrupt-cells = <2>; |
| 111 | interrupt-controller; |
| 112 | }; |
| 113 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 114 | gpio2: gpio@e6052000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 115 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 116 | reg = <0 0xe6052000 0 0x50>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 117 | interrupt-parent = <&gic>; |
| 118 | interrupts = <0 6 0x4>; |
| 119 | #gpio-cells = <2>; |
| 120 | gpio-controller; |
| 121 | gpio-ranges = <&pfc 0 64 32>; |
| 122 | #interrupt-cells = <2>; |
| 123 | interrupt-controller; |
| 124 | }; |
| 125 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 126 | gpio3: gpio@e6053000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 127 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 128 | reg = <0 0xe6053000 0 0x50>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 129 | interrupt-parent = <&gic>; |
| 130 | interrupts = <0 7 0x4>; |
| 131 | #gpio-cells = <2>; |
| 132 | gpio-controller; |
| 133 | gpio-ranges = <&pfc 0 96 32>; |
| 134 | #interrupt-cells = <2>; |
| 135 | interrupt-controller; |
| 136 | }; |
| 137 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 138 | gpio4: gpio@e6054000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 139 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 140 | reg = <0 0xe6054000 0 0x50>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 141 | interrupt-parent = <&gic>; |
| 142 | interrupts = <0 8 0x4>; |
| 143 | #gpio-cells = <2>; |
| 144 | gpio-controller; |
| 145 | gpio-ranges = <&pfc 0 128 32>; |
| 146 | #interrupt-cells = <2>; |
| 147 | interrupt-controller; |
| 148 | }; |
| 149 | |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 150 | gpio5: gpio@e6055000 { |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 151 | compatible = "renesas,gpio-r8a7790", "renesas,gpio-rcar"; |
Magnus Damm | 23de227 | 2013-11-21 14:19:29 +0900 | [diff] [blame^] | 152 | reg = <0 0xe6055000 0 0x50>; |
Laurent Pinchart | f98e10c | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 153 | interrupt-parent = <&gic>; |
| 154 | interrupts = <0 9 0x4>; |
| 155 | #gpio-cells = <2>; |
| 156 | gpio-controller; |
| 157 | gpio-ranges = <&pfc 0 160 32>; |
| 158 | #interrupt-cells = <2>; |
| 159 | interrupt-controller; |
| 160 | }; |
| 161 | |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 162 | timer { |
| 163 | compatible = "arm,armv7-timer"; |
| 164 | interrupts = <1 13 0xf08>, |
| 165 | <1 14 0xf08>, |
| 166 | <1 11 0xf08>, |
| 167 | <1 10 0xf08>; |
| 168 | }; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 169 | |
| 170 | irqc0: interrupt-controller@e61c0000 { |
| 171 | compatible = "renesas,irqc"; |
| 172 | #interrupt-cells = <2>; |
| 173 | interrupt-controller; |
Takashi Yoshii | 8585deb | 2013-03-29 16:49:17 +0900 | [diff] [blame] | 174 | reg = <0 0xe61c0000 0 0x200>; |
Magnus Damm | 8f5ec0a | 2013-03-28 00:49:54 +0900 | [diff] [blame] | 175 | interrupt-parent = <&gic>; |
| 176 | interrupts = <0 0 4>, <0 1 4>, <0 2 4>, <0 3 4>; |
| 177 | }; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 178 | |
Guennadi Liakhovetski | edd2b9f | 2013-09-26 19:20:58 +0200 | [diff] [blame] | 179 | i2c0: i2c@e6508000 { |
| 180 | #address-cells = <1>; |
| 181 | #size-cells = <0>; |
| 182 | compatible = "renesas,i2c-r8a7790"; |
| 183 | reg = <0 0xe6508000 0 0x40>; |
| 184 | interrupt-parent = <&gic>; |
| 185 | interrupts = <0 287 0x4>; |
| 186 | status = "disabled"; |
| 187 | }; |
| 188 | |
| 189 | i2c1: i2c@e6518000 { |
| 190 | #address-cells = <1>; |
| 191 | #size-cells = <0>; |
| 192 | compatible = "renesas,i2c-r8a7790"; |
| 193 | reg = <0 0xe6518000 0 0x40>; |
| 194 | interrupt-parent = <&gic>; |
| 195 | interrupts = <0 288 0x4>; |
| 196 | status = "disabled"; |
| 197 | }; |
| 198 | |
| 199 | i2c2: i2c@e6530000 { |
| 200 | #address-cells = <1>; |
| 201 | #size-cells = <0>; |
| 202 | compatible = "renesas,i2c-r8a7790"; |
| 203 | reg = <0 0xe6530000 0 0x40>; |
| 204 | interrupt-parent = <&gic>; |
| 205 | interrupts = <0 286 0x4>; |
| 206 | status = "disabled"; |
| 207 | }; |
| 208 | |
| 209 | i2c3: i2c@e6540000 { |
| 210 | #address-cells = <1>; |
| 211 | #size-cells = <0>; |
| 212 | compatible = "renesas,i2c-r8a7790"; |
| 213 | reg = <0 0xe6540000 0 0x40>; |
| 214 | interrupt-parent = <&gic>; |
| 215 | interrupts = <0 290 0x4>; |
| 216 | status = "disabled"; |
| 217 | }; |
| 218 | |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 219 | mmcif0: mmcif@ee200000 { |
| 220 | compatible = "renesas,sh-mmcif"; |
| 221 | reg = <0 0xee200000 0 0x80>; |
| 222 | interrupt-parent = <&gic>; |
| 223 | interrupts = <0 169 0x4>; |
| 224 | reg-io-width = <4>; |
| 225 | status = "disabled"; |
| 226 | }; |
| 227 | |
| 228 | mmcif1: mmcif@ee220000 { |
| 229 | compatible = "renesas,sh-mmcif"; |
| 230 | reg = <0 0xee220000 0 0x80>; |
| 231 | interrupt-parent = <&gic>; |
| 232 | interrupts = <0 170 0x4>; |
| 233 | reg-io-width = <4>; |
| 234 | status = "disabled"; |
| 235 | }; |
| 236 | |
Laurent Pinchart | 9694c77 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 237 | pfc: pfc@e6060000 { |
| 238 | compatible = "renesas,pfc-r8a7790"; |
| 239 | reg = <0 0xe6060000 0 0x250>; |
| 240 | }; |
Olof Johansson | 55689bf | 2013-08-14 00:24:05 -0700 | [diff] [blame] | 241 | |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 242 | sdhi0: sdhi@ee100000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 243 | compatible = "renesas,sdhi-r8a7790"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 244 | reg = <0 0xee100000 0 0x100>; |
| 245 | interrupt-parent = <&gic>; |
| 246 | interrupts = <0 165 4>; |
| 247 | cap-sd-highspeed; |
| 248 | status = "disabled"; |
| 249 | }; |
| 250 | |
| 251 | sdhi1: sdhi@ee120000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 252 | compatible = "renesas,sdhi-r8a7790"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 253 | reg = <0 0xee120000 0 0x100>; |
| 254 | interrupt-parent = <&gic>; |
| 255 | interrupts = <0 166 4>; |
| 256 | cap-sd-highspeed; |
| 257 | status = "disabled"; |
| 258 | }; |
| 259 | |
| 260 | sdhi2: sdhi@ee140000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 261 | compatible = "renesas,sdhi-r8a7790"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 262 | reg = <0 0xee140000 0 0x100>; |
| 263 | interrupt-parent = <&gic>; |
| 264 | interrupts = <0 167 4>; |
| 265 | cap-sd-highspeed; |
| 266 | status = "disabled"; |
| 267 | }; |
| 268 | |
| 269 | sdhi3: sdhi@ee160000 { |
Guennadi Liakhovetski | df1d058 | 2013-08-29 17:14:49 +0200 | [diff] [blame] | 270 | compatible = "renesas,sdhi-r8a7790"; |
Guennadi Liakhovetski | 8c9b1aa | 2013-07-08 17:54:46 +0200 | [diff] [blame] | 271 | reg = <0 0xee160000 0 0x100>; |
| 272 | interrupt-parent = <&gic>; |
| 273 | interrupts = <0 168 4>; |
| 274 | cap-sd-highspeed; |
| 275 | status = "disabled"; |
| 276 | }; |
Magnus Damm | 0468b2d | 2013-03-28 00:49:34 +0900 | [diff] [blame] | 277 | }; |