Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for the r8a7740 SoC |
| 3 | * |
| 4 | * Copyright (C) 2012 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 | |
| 11 | /include/ "skeleton.dtsi" |
| 12 | |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 13 | #include <dt-bindings/interrupt-controller/irq.h> |
| 14 | |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 15 | / { |
| 16 | compatible = "renesas,r8a7740"; |
Laurent Pinchart | 9ff254a | 2014-04-30 02:41:28 +0200 | [diff] [blame] | 17 | interrupt-parent = <&gic>; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 18 | |
| 19 | cpus { |
Lorenzo Pieralisi | b403201 | 2013-04-18 18:39:50 +0100 | [diff] [blame] | 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 22 | cpu@0 { |
| 23 | compatible = "arm,cortex-a9"; |
Lorenzo Pieralisi | b403201 | 2013-04-18 18:39:50 +0100 | [diff] [blame] | 24 | device_type = "cpu"; |
| 25 | reg = <0x0>; |
Magnus Damm | 63575d8 | 2014-05-08 08:32:29 +0900 | [diff] [blame] | 26 | clock-frequency = <800000000>; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 27 | }; |
| 28 | }; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 29 | |
| 30 | gic: interrupt-controller@c2800000 { |
| 31 | compatible = "arm,cortex-a9-gic"; |
| 32 | #interrupt-cells = <3>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 33 | interrupt-controller; |
| 34 | reg = <0xc2800000 0x1000>, |
| 35 | <0xc2000000 0x1000>; |
| 36 | }; |
| 37 | |
Magnus Damm | b21ed4e | 2013-07-24 12:59:09 +0900 | [diff] [blame] | 38 | pmu { |
| 39 | compatible = "arm,cortex-a9-pmu"; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 40 | interrupts = <0 83 IRQ_TYPE_LEVEL_HIGH>; |
Magnus Damm | b21ed4e | 2013-07-24 12:59:09 +0900 | [diff] [blame] | 41 | }; |
| 42 | |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 43 | /* irqpin0: IRQ0 - IRQ7 */ |
| 44 | irqpin0: irqpin@e6900000 { |
Magnus Damm | 9632799 | 2013-11-28 08:15:04 +0900 | [diff] [blame] | 45 | compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 46 | #interrupt-cells = <2>; |
| 47 | interrupt-controller; |
| 48 | reg = <0xe6900000 4>, |
| 49 | <0xe6900010 4>, |
| 50 | <0xe6900020 1>, |
| 51 | <0xe6900040 1>, |
| 52 | <0xe6900060 1>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 53 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 54 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 55 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 56 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 57 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 58 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 59 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 60 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 61 | }; |
| 62 | |
| 63 | /* irqpin1: IRQ8 - IRQ15 */ |
| 64 | irqpin1: irqpin@e6900004 { |
Magnus Damm | 9632799 | 2013-11-28 08:15:04 +0900 | [diff] [blame] | 65 | compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 66 | #interrupt-cells = <2>; |
| 67 | interrupt-controller; |
| 68 | reg = <0xe6900004 4>, |
| 69 | <0xe6900014 4>, |
| 70 | <0xe6900024 1>, |
| 71 | <0xe6900044 1>, |
| 72 | <0xe6900064 1>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 73 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 74 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 75 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 76 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 77 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 78 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 79 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 80 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 81 | }; |
| 82 | |
| 83 | /* irqpin2: IRQ16 - IRQ23 */ |
| 84 | irqpin2: irqpin@e6900008 { |
Magnus Damm | 9632799 | 2013-11-28 08:15:04 +0900 | [diff] [blame] | 85 | compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 86 | #interrupt-cells = <2>; |
| 87 | interrupt-controller; |
| 88 | reg = <0xe6900008 4>, |
| 89 | <0xe6900018 4>, |
| 90 | <0xe6900028 1>, |
| 91 | <0xe6900048 1>, |
| 92 | <0xe6900068 1>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 93 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 94 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 95 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 96 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 97 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 98 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 99 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 100 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 101 | }; |
| 102 | |
| 103 | /* irqpin3: IRQ24 - IRQ31 */ |
| 104 | irqpin3: irqpin@e690000c { |
Magnus Damm | 9632799 | 2013-11-28 08:15:04 +0900 | [diff] [blame] | 105 | compatible = "renesas,intc-irqpin-r8a7740", "renesas,intc-irqpin"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 106 | #interrupt-cells = <2>; |
| 107 | interrupt-controller; |
| 108 | reg = <0xe690000c 4>, |
| 109 | <0xe690001c 4>, |
| 110 | <0xe690002c 1>, |
| 111 | <0xe690004c 1>, |
| 112 | <0xe690006c 1>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 113 | interrupts = <0 149 IRQ_TYPE_LEVEL_HIGH |
| 114 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 115 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 116 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 117 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 118 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 119 | 0 149 IRQ_TYPE_LEVEL_HIGH |
| 120 | 0 149 IRQ_TYPE_LEVEL_HIGH>; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 121 | }; |
| 122 | |
Geert Uytterhoeven | 08ec67b | 2014-05-07 22:32:29 +0200 | [diff] [blame] | 123 | ether: ethernet@e9a00000 { |
| 124 | compatible = "renesas,gether-r8a7740"; |
| 125 | reg = <0xe9a00000 0x800>, |
| 126 | <0xe9a01800 0x800>; |
Geert Uytterhoeven | 08ec67b | 2014-05-07 22:32:29 +0200 | [diff] [blame] | 127 | interrupts = <0 110 IRQ_TYPE_LEVEL_HIGH>; |
| 128 | /* clocks = <&mstp3_clks R8A7740_CLK_GETHER>; */ |
| 129 | phy-mode = "mii"; |
| 130 | #address-cells = <1>; |
| 131 | #size-cells = <0>; |
| 132 | status = "disabled"; |
| 133 | }; |
| 134 | |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 135 | i2c0: i2c@fff20000 { |
| 136 | #address-cells = <1>; |
| 137 | #size-cells = <0>; |
Ulrich Hecht | 5c53f50 | 2014-03-27 11:45:44 +0100 | [diff] [blame] | 138 | compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 139 | reg = <0xfff20000 0x425>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 140 | interrupts = <0 201 IRQ_TYPE_LEVEL_HIGH |
| 141 | 0 202 IRQ_TYPE_LEVEL_HIGH |
| 142 | 0 203 IRQ_TYPE_LEVEL_HIGH |
| 143 | 0 204 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 144 | status = "disabled"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 145 | }; |
| 146 | |
| 147 | i2c1: i2c@e6c20000 { |
| 148 | #address-cells = <1>; |
| 149 | #size-cells = <0>; |
Ulrich Hecht | 5c53f50 | 2014-03-27 11:45:44 +0100 | [diff] [blame] | 150 | compatible = "renesas,iic-r8a7740", "renesas,rmobile-iic"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 151 | reg = <0xe6c20000 0x425>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 152 | interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH |
| 153 | 0 71 IRQ_TYPE_LEVEL_HIGH |
| 154 | 0 72 IRQ_TYPE_LEVEL_HIGH |
| 155 | 0 73 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 156 | status = "disabled"; |
Bastian Hecht | 744fdc8 | 2013-04-17 12:34:05 +0200 | [diff] [blame] | 157 | }; |
Laurent Pinchart | f36218d | 2012-11-20 14:02:54 +0100 | [diff] [blame] | 158 | |
Simon Horman | fa12355 | 2014-07-07 09:54:41 +0200 | [diff] [blame^] | 159 | scifa0: serial@e6c40000 { |
| 160 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 161 | reg = <0xe6c40000 0x100>; |
| 162 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
| 163 | status = "disabled"; |
| 164 | }; |
| 165 | |
| 166 | scifa1: serial@e6c50000 { |
| 167 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 168 | reg = <0xe6c50000 0x100>; |
| 169 | interrupts = <0 101 IRQ_TYPE_LEVEL_HIGH>; |
| 170 | status = "disabled"; |
| 171 | }; |
| 172 | |
| 173 | scifa2: serial@e6c60000 { |
| 174 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 175 | reg = <0xe6c60000 0x100>; |
| 176 | interrupts = <0 102 IRQ_TYPE_LEVEL_HIGH>; |
| 177 | status = "disabled"; |
| 178 | }; |
| 179 | |
| 180 | scifa3: serial@e6c70000 { |
| 181 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 182 | reg = <0xe6c70000 0x100>; |
| 183 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
| 184 | status = "disabled"; |
| 185 | }; |
| 186 | |
| 187 | scifa4: serial@e6c80000 { |
| 188 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 189 | reg = <0xe6c80000 0x100>; |
| 190 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; |
| 191 | status = "disabled"; |
| 192 | }; |
| 193 | |
| 194 | scifa5: serial@e6cb0000 { |
| 195 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 196 | reg = <0xe6cb0000 0x100>; |
| 197 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
| 198 | status = "disabled"; |
| 199 | }; |
| 200 | |
| 201 | scifa6: serial@e6cc0000 { |
| 202 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 203 | reg = <0xe6cc0000 0x100>; |
| 204 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
| 205 | status = "disabled"; |
| 206 | }; |
| 207 | |
| 208 | scifa7: serial@e6cd0000 { |
| 209 | compatible = "renesas,scifa-r8a7740", "renesas,scifa"; |
| 210 | reg = <0xe6cd0000 0x100>; |
| 211 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
| 212 | status = "disabled"; |
| 213 | }; |
| 214 | |
| 215 | scifb8: serial@e6c30000 { |
| 216 | compatible = "renesas,scifb-r8a7740", "renesas,scifb"; |
| 217 | reg = <0xe6c30000 0x100>; |
| 218 | interrupts = <0 108 IRQ_TYPE_LEVEL_HIGH>; |
| 219 | status = "disabled"; |
| 220 | }; |
| 221 | |
Laurent Pinchart | f36218d | 2012-11-20 14:02:54 +0100 | [diff] [blame] | 222 | pfc: pfc@e6050000 { |
| 223 | compatible = "renesas,pfc-r8a7740"; |
| 224 | reg = <0xe6050000 0x8000>, |
| 225 | <0xe605800c 0x20>; |
| 226 | gpio-controller; |
| 227 | #gpio-cells = <2>; |
Laurent Pinchart | 778de00 | 2013-12-11 04:26:28 +0100 | [diff] [blame] | 228 | interrupts-extended = |
| 229 | <&irqpin0 0 0>, <&irqpin0 1 0>, <&irqpin0 2 0>, <&irqpin0 3 0>, |
| 230 | <&irqpin0 4 0>, <&irqpin0 5 0>, <&irqpin0 6 0>, <&irqpin0 7 0>, |
| 231 | <&irqpin1 0 0>, <&irqpin1 1 0>, <&irqpin1 2 0>, <&irqpin1 3 0>, |
| 232 | <&irqpin1 4 0>, <&irqpin1 5 0>, <&irqpin1 6 0>, <&irqpin1 7 0>, |
| 233 | <&irqpin2 0 0>, <&irqpin2 1 0>, <&irqpin2 2 0>, <&irqpin2 3 0>, |
| 234 | <&irqpin2 4 0>, <&irqpin2 5 0>, <&irqpin2 6 0>, <&irqpin2 7 0>, |
| 235 | <&irqpin3 0 0>, <&irqpin3 1 0>, <&irqpin3 2 0>, <&irqpin3 3 0>, |
| 236 | <&irqpin3 4 0>, <&irqpin3 5 0>, <&irqpin3 6 0>, <&irqpin3 7 0>; |
Laurent Pinchart | f36218d | 2012-11-20 14:02:54 +0100 | [diff] [blame] | 237 | }; |
Linus Torvalds | fa91515 | 2013-09-09 16:33:57 -0700 | [diff] [blame] | 238 | |
Laurent Pinchart | 8b3e32c | 2013-07-26 00:51:00 +0200 | [diff] [blame] | 239 | tpu: pwm@e6600000 { |
| 240 | compatible = "renesas,tpu-r8a7740", "renesas,tpu"; |
| 241 | reg = <0xe6600000 0x100>; |
| 242 | status = "disabled"; |
| 243 | #pwm-cells = <3>; |
| 244 | }; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 245 | |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 246 | mmcif0: mmc@e6bd0000 { |
Ulrich Hecht | 5c53f50 | 2014-03-27 11:45:44 +0100 | [diff] [blame] | 247 | compatible = "renesas,mmcif-r8a7740", "renesas,sh-mmcif"; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 248 | reg = <0xe6bd0000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 249 | interrupts = <0 56 IRQ_TYPE_LEVEL_HIGH |
| 250 | 0 57 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 251 | status = "disabled"; |
| 252 | }; |
| 253 | |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 254 | sdhi0: sd@e6850000 { |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 255 | compatible = "renesas,sdhi-r8a7740"; |
| 256 | reg = <0xe6850000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 257 | interrupts = <0 117 IRQ_TYPE_LEVEL_HIGH |
| 258 | 0 118 IRQ_TYPE_LEVEL_HIGH |
| 259 | 0 119 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 260 | cap-sd-highspeed; |
| 261 | cap-sdio-irq; |
| 262 | status = "disabled"; |
| 263 | }; |
| 264 | |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 265 | sdhi1: sd@e6860000 { |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 266 | compatible = "renesas,sdhi-r8a7740"; |
| 267 | reg = <0xe6860000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 268 | interrupts = <0 121 IRQ_TYPE_LEVEL_HIGH |
| 269 | 0 122 IRQ_TYPE_LEVEL_HIGH |
| 270 | 0 123 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | e99d796 | 2013-09-27 10:02:57 +0200 | [diff] [blame] | 271 | cap-sd-highspeed; |
| 272 | cap-sdio-irq; |
| 273 | status = "disabled"; |
| 274 | }; |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 275 | |
| 276 | sdhi2: sd@e6870000 { |
| 277 | compatible = "renesas,sdhi-r8a7740"; |
| 278 | reg = <0xe6870000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 279 | interrupts = <0 125 IRQ_TYPE_LEVEL_HIGH |
| 280 | 0 126 IRQ_TYPE_LEVEL_HIGH |
| 281 | 0 127 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 7d90789 | 2013-10-21 19:35:08 -0700 | [diff] [blame] | 282 | cap-sd-highspeed; |
| 283 | cap-sdio-irq; |
| 284 | status = "disabled"; |
| 285 | }; |
Kuninori Morimoto | efcd869 | 2013-12-03 17:28:41 -0800 | [diff] [blame] | 286 | |
| 287 | sh_fsi2: sound@fe1f0000 { |
| 288 | #sound-dai-cells = <1>; |
Ulrich Hecht | 5c53f50 | 2014-03-27 11:45:44 +0100 | [diff] [blame] | 289 | compatible = "renesas,fsi2-r8a7740", "renesas,sh_fsi2"; |
Kuninori Morimoto | efcd869 | 2013-12-03 17:28:41 -0800 | [diff] [blame] | 290 | reg = <0xfe1f0000 0x400>; |
Kuninori Morimoto | efcd869 | 2013-12-03 17:28:41 -0800 | [diff] [blame] | 291 | interrupts = <0 9 0x4>; |
| 292 | status = "disabled"; |
| 293 | }; |
Magnus Damm | 755d57b | 2012-07-06 17:08:07 +0900 | [diff] [blame] | 294 | }; |