Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 1 | /* |
Kuninori Morimoto | 349f556 | 2013-03-03 23:11:03 -0800 | [diff] [blame] | 2 | * Device Tree Source for Renesas r8a7779 |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Simon Horman |
| 6 | * |
| 7 | * This file is licensed under the terms of the GNU General Public License |
| 8 | * version 2. This program is licensed "as is" without any warranty of any |
| 9 | * kind, whether express or implied. |
| 10 | */ |
| 11 | |
| 12 | /include/ "skeleton.dtsi" |
| 13 | |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 14 | #include <dt-bindings/interrupt-controller/irq.h> |
| 15 | |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 16 | / { |
| 17 | compatible = "renesas,r8a7779"; |
| 18 | |
| 19 | cpus { |
| 20 | #address-cells = <1>; |
| 21 | #size-cells = <0>; |
| 22 | |
| 23 | cpu@0 { |
| 24 | device_type = "cpu"; |
| 25 | compatible = "arm,cortex-a9"; |
| 26 | reg = <0>; |
| 27 | }; |
| 28 | cpu@1 { |
| 29 | device_type = "cpu"; |
| 30 | compatible = "arm,cortex-a9"; |
| 31 | reg = <1>; |
| 32 | }; |
| 33 | cpu@2 { |
| 34 | device_type = "cpu"; |
| 35 | compatible = "arm,cortex-a9"; |
| 36 | reg = <2>; |
| 37 | }; |
| 38 | cpu@3 { |
| 39 | device_type = "cpu"; |
| 40 | compatible = "arm,cortex-a9"; |
| 41 | reg = <3>; |
| 42 | }; |
| 43 | }; |
| 44 | |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame^] | 45 | aliases { |
| 46 | spi0 = &hspi0; |
| 47 | spi1 = &hspi1; |
| 48 | spi2 = &hspi2; |
| 49 | }; |
| 50 | |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 51 | gic: interrupt-controller@f0001000 { |
| 52 | compatible = "arm,cortex-a9-gic"; |
| 53 | #interrupt-cells = <3>; |
| 54 | interrupt-controller; |
| 55 | reg = <0xf0001000 0x1000>, |
| 56 | <0xf0000100 0x100>; |
| 57 | }; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 58 | |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 59 | gpio0: gpio@ffc40000 { |
| 60 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 61 | reg = <0xffc40000 0x2c>; |
| 62 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 63 | interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 64 | #gpio-cells = <2>; |
| 65 | gpio-controller; |
| 66 | gpio-ranges = <&pfc 0 0 32>; |
| 67 | #interrupt-cells = <2>; |
| 68 | interrupt-controller; |
| 69 | }; |
| 70 | |
| 71 | gpio1: gpio@ffc41000 { |
| 72 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 73 | reg = <0xffc41000 0x2c>; |
| 74 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 75 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 76 | #gpio-cells = <2>; |
| 77 | gpio-controller; |
| 78 | gpio-ranges = <&pfc 0 32 32>; |
| 79 | #interrupt-cells = <2>; |
| 80 | interrupt-controller; |
| 81 | }; |
| 82 | |
| 83 | gpio2: gpio@ffc42000 { |
| 84 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 85 | reg = <0xffc42000 0x2c>; |
| 86 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 87 | interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 88 | #gpio-cells = <2>; |
| 89 | gpio-controller; |
| 90 | gpio-ranges = <&pfc 0 64 32>; |
| 91 | #interrupt-cells = <2>; |
| 92 | interrupt-controller; |
| 93 | }; |
| 94 | |
| 95 | gpio3: gpio@ffc43000 { |
| 96 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 97 | reg = <0xffc43000 0x2c>; |
| 98 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 99 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 100 | #gpio-cells = <2>; |
| 101 | gpio-controller; |
| 102 | gpio-ranges = <&pfc 0 96 32>; |
| 103 | #interrupt-cells = <2>; |
| 104 | interrupt-controller; |
| 105 | }; |
| 106 | |
| 107 | gpio4: gpio@ffc44000 { |
| 108 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 109 | reg = <0xffc44000 0x2c>; |
| 110 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 111 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 112 | #gpio-cells = <2>; |
| 113 | gpio-controller; |
| 114 | gpio-ranges = <&pfc 0 128 32>; |
| 115 | #interrupt-cells = <2>; |
| 116 | interrupt-controller; |
| 117 | }; |
| 118 | |
| 119 | gpio5: gpio@ffc45000 { |
| 120 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 121 | reg = <0xffc45000 0x2c>; |
| 122 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 123 | interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 124 | #gpio-cells = <2>; |
| 125 | gpio-controller; |
| 126 | gpio-ranges = <&pfc 0 160 32>; |
| 127 | #interrupt-cells = <2>; |
| 128 | interrupt-controller; |
| 129 | }; |
| 130 | |
| 131 | gpio6: gpio@ffc46000 { |
| 132 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 133 | reg = <0xffc46000 0x2c>; |
| 134 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 135 | interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 136 | #gpio-cells = <2>; |
| 137 | gpio-controller; |
| 138 | gpio-ranges = <&pfc 0 192 9>; |
| 139 | #interrupt-cells = <2>; |
| 140 | interrupt-controller; |
| 141 | }; |
| 142 | |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 143 | irqpin0: irqpin@fe780010 { |
Magnus Damm | 11ef034 | 2013-11-28 08:15:18 +0900 | [diff] [blame] | 144 | compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 145 | #interrupt-cells = <2>; |
Kuninori Morimoto | 84b47df | 2013-10-02 01:39:13 -0700 | [diff] [blame] | 146 | status = "disabled"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 147 | interrupt-controller; |
| 148 | reg = <0xfe78001c 4>, |
| 149 | <0xfe780010 4>, |
| 150 | <0xfe780024 4>, |
| 151 | <0xfe780044 4>, |
| 152 | <0xfe780064 4>; |
| 153 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 154 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
| 155 | 0 28 IRQ_TYPE_LEVEL_HIGH |
| 156 | 0 29 IRQ_TYPE_LEVEL_HIGH |
| 157 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 158 | sense-bitfield-width = <2>; |
| 159 | }; |
| 160 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 161 | i2c0: i2c@ffc70000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 162 | #address-cells = <1>; |
| 163 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 164 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 165 | reg = <0xffc70000 0x1000>; |
| 166 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 167 | interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 168 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 169 | }; |
| 170 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 171 | i2c1: i2c@ffc71000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 172 | #address-cells = <1>; |
| 173 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 174 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 175 | reg = <0xffc71000 0x1000>; |
| 176 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 177 | interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 178 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 179 | }; |
| 180 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 181 | i2c2: i2c@ffc72000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 182 | #address-cells = <1>; |
| 183 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 184 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 185 | reg = <0xffc72000 0x1000>; |
| 186 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 187 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 188 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 189 | }; |
| 190 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 191 | i2c3: i2c@ffc73000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 192 | #address-cells = <1>; |
| 193 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 194 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 195 | reg = <0xffc73000 0x1000>; |
| 196 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 197 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 198 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 199 | }; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 200 | |
Laurent Pinchart | 3ab03d0 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 201 | pfc: pfc@fffc0000 { |
| 202 | compatible = "renesas,pfc-r8a7779"; |
| 203 | reg = <0xfffc0000 0x23c>; |
| 204 | }; |
| 205 | |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 206 | thermal@ffc48000 { |
| 207 | compatible = "renesas,rcar-thermal"; |
| 208 | reg = <0xffc48000 0x38>; |
| 209 | }; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 210 | |
| 211 | sata: sata@fc600000 { |
| 212 | compatible = "renesas,rcar-sata"; |
| 213 | reg = <0xfc600000 0x2000>; |
| 214 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 215 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 216 | }; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 217 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 218 | sdhi0: sd@ffe4c000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 219 | compatible = "renesas,sdhi-r8a7779"; |
| 220 | reg = <0xffe4c000 0x100>; |
| 221 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 222 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 223 | cap-sd-highspeed; |
| 224 | cap-sdio-irq; |
| 225 | status = "disabled"; |
| 226 | }; |
| 227 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 228 | sdhi1: sd@ffe4d000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 229 | compatible = "renesas,sdhi-r8a7779"; |
| 230 | reg = <0xffe4d000 0x100>; |
| 231 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 232 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 233 | cap-sd-highspeed; |
| 234 | cap-sdio-irq; |
| 235 | status = "disabled"; |
| 236 | }; |
| 237 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 238 | sdhi2: sd@ffe4e000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 239 | compatible = "renesas,sdhi-r8a7779"; |
| 240 | reg = <0xffe4e000 0x100>; |
| 241 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 242 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 243 | cap-sd-highspeed; |
| 244 | cap-sdio-irq; |
| 245 | status = "disabled"; |
| 246 | }; |
| 247 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 248 | sdhi3: sd@ffe4f000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 249 | compatible = "renesas,sdhi-r8a7779"; |
| 250 | reg = <0xffe4f000 0x100>; |
| 251 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 252 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 253 | cap-sd-highspeed; |
| 254 | cap-sdio-irq; |
| 255 | status = "disabled"; |
| 256 | }; |
Simon Horman | 3c3f6ad | 2013-11-26 16:47:11 +0900 | [diff] [blame^] | 257 | |
| 258 | hspi0: spi@fffc7000 { |
| 259 | compatible = "renesas,hspi"; |
| 260 | reg = <0xfffc7000 0x18>; |
| 261 | interrupt-controller = <&gic>; |
| 262 | interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>; |
| 263 | status = "disabled"; |
| 264 | }; |
| 265 | |
| 266 | hspi1: spi@fffc8000 { |
| 267 | compatible = "renesas,hspi"; |
| 268 | reg = <0xfffc8000 0x18>; |
| 269 | interrupt-controller = <&gic>; |
| 270 | interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>; |
| 271 | status = "disabled"; |
| 272 | }; |
| 273 | |
| 274 | hspi2: spi@fffc6000 { |
| 275 | compatible = "renesas,hspi"; |
| 276 | reg = <0xfffc6000 0x18>; |
| 277 | interrupt-controller = <&gic>; |
| 278 | interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; |
| 279 | status = "disabled"; |
| 280 | }; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 281 | }; |