Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Device Tree Source for Renesas r8a7778 |
| 3 | * |
| 4 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 5 | * Copyright (C) 2013 Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> |
| 6 | * |
| 7 | * based on r8a7779 |
| 8 | * |
| 9 | * Copyright (C) 2013 Renesas Solutions Corp. |
| 10 | * Copyright (C) 2013 Simon Horman |
| 11 | * |
| 12 | * This file is licensed under the terms of the GNU General Public License |
| 13 | * version 2. This program is licensed "as is" without any warranty of any |
| 14 | * kind, whether express or implied. |
| 15 | */ |
| 16 | |
| 17 | /include/ "skeleton.dtsi" |
| 18 | |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 19 | #include <dt-bindings/interrupt-controller/irq.h> |
| 20 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 21 | / { |
| 22 | compatible = "renesas,r8a7778"; |
Laurent Pinchart | 9ff254a | 2014-04-30 02:41:28 +0200 | [diff] [blame] | 23 | interrupt-parent = <&gic>; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 24 | |
| 25 | cpus { |
Magnus Damm | 869f92a | 2014-08-20 22:02:27 +0900 | [diff] [blame] | 26 | #address-cells = <1>; |
| 27 | #size-cells = <0>; |
| 28 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 29 | cpu@0 { |
Magnus Damm | 869f92a | 2014-08-20 22:02:27 +0900 | [diff] [blame] | 30 | device_type = "cpu"; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 31 | compatible = "arm,cortex-a9"; |
Magnus Damm | 869f92a | 2014-08-20 22:02:27 +0900 | [diff] [blame] | 32 | reg = <0>; |
| 33 | clock-frequency = <800000000>; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 34 | }; |
| 35 | }; |
| 36 | |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 37 | aliases { |
| 38 | spi0 = &hspi0; |
| 39 | spi1 = &hspi1; |
| 40 | spi2 = &hspi2; |
| 41 | }; |
| 42 | |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 43 | gic: interrupt-controller@fe438000 { |
| 44 | compatible = "arm,cortex-a9-gic"; |
| 45 | #interrupt-cells = <3>; |
| 46 | interrupt-controller; |
| 47 | reg = <0xfe438000 0x1000>, |
| 48 | <0xfe430000 0x100>; |
| 49 | }; |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 50 | |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 51 | /* irqpin: IRQ0 - IRQ3 */ |
| 52 | irqpin: irqpin@fe78001c { |
Magnus Damm | d79af22 | 2013-11-28 08:15:11 +0900 | [diff] [blame] | 53 | compatible = "renesas,intc-irqpin-r8a7778", "renesas,intc-irqpin"; |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 54 | #interrupt-cells = <2>; |
| 55 | interrupt-controller; |
| 56 | status = "disabled"; /* default off */ |
| 57 | reg = <0xfe78001c 4>, |
| 58 | <0xfe780010 4>, |
| 59 | <0xfe780024 4>, |
| 60 | <0xfe780044 4>, |
| 61 | <0xfe780064 4>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 62 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
| 63 | 0 28 IRQ_TYPE_LEVEL_HIGH |
| 64 | 0 29 IRQ_TYPE_LEVEL_HIGH |
| 65 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 87f1ba8 | 2013-10-02 01:32:12 -0700 | [diff] [blame] | 66 | sense-bitfield-width = <2>; |
| 67 | }; |
| 68 | |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 69 | gpio0: gpio@ffc40000 { |
| 70 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 71 | reg = <0xffc40000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 72 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 73 | #gpio-cells = <2>; |
| 74 | gpio-controller; |
| 75 | gpio-ranges = <&pfc 0 0 32>; |
| 76 | #interrupt-cells = <2>; |
| 77 | interrupt-controller; |
| 78 | }; |
| 79 | |
| 80 | gpio1: gpio@ffc41000 { |
| 81 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 82 | reg = <0xffc41000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 83 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 84 | #gpio-cells = <2>; |
| 85 | gpio-controller; |
| 86 | gpio-ranges = <&pfc 0 32 32>; |
| 87 | #interrupt-cells = <2>; |
| 88 | interrupt-controller; |
| 89 | }; |
| 90 | |
| 91 | gpio2: gpio@ffc42000 { |
| 92 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 93 | reg = <0xffc42000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 94 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 95 | #gpio-cells = <2>; |
| 96 | gpio-controller; |
| 97 | gpio-ranges = <&pfc 0 64 32>; |
| 98 | #interrupt-cells = <2>; |
| 99 | interrupt-controller; |
| 100 | }; |
| 101 | |
| 102 | gpio3: gpio@ffc43000 { |
| 103 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 104 | reg = <0xffc43000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 105 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 106 | #gpio-cells = <2>; |
| 107 | gpio-controller; |
| 108 | gpio-ranges = <&pfc 0 96 32>; |
| 109 | #interrupt-cells = <2>; |
| 110 | interrupt-controller; |
| 111 | }; |
| 112 | |
| 113 | gpio4: gpio@ffc44000 { |
| 114 | compatible = "renesas,gpio-r8a7778", "renesas,gpio-rcar"; |
| 115 | reg = <0xffc44000 0x2c>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 116 | interrupts = <0 103 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | aaf7eda | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 117 | #gpio-cells = <2>; |
| 118 | gpio-controller; |
| 119 | gpio-ranges = <&pfc 0 128 27>; |
| 120 | #interrupt-cells = <2>; |
| 121 | interrupt-controller; |
| 122 | }; |
| 123 | |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 124 | pfc: pfc@fffc0000 { |
| 125 | compatible = "renesas,pfc-r8a7778"; |
Laurent Pinchart | 80d01fe | 2013-10-03 19:35:41 +0200 | [diff] [blame] | 126 | reg = <0xfffc0000 0x118>; |
Laurent Pinchart | 0697ccc | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 127 | }; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 128 | |
| 129 | i2c0: i2c@ffc70000 { |
| 130 | #address-cells = <1>; |
| 131 | #size-cells = <0>; |
| 132 | compatible = "renesas,i2c-r8a7778"; |
| 133 | reg = <0xffc70000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 134 | interrupts = <0 67 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 135 | status = "disabled"; |
| 136 | }; |
| 137 | |
| 138 | i2c1: i2c@ffc71000 { |
| 139 | #address-cells = <1>; |
| 140 | #size-cells = <0>; |
| 141 | compatible = "renesas,i2c-r8a7778"; |
| 142 | reg = <0xffc71000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 143 | interrupts = <0 78 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 144 | status = "disabled"; |
| 145 | }; |
| 146 | |
| 147 | i2c2: i2c@ffc72000 { |
| 148 | #address-cells = <1>; |
| 149 | #size-cells = <0>; |
| 150 | compatible = "renesas,i2c-r8a7778"; |
| 151 | reg = <0xffc72000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 152 | interrupts = <0 76 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 153 | status = "disabled"; |
| 154 | }; |
| 155 | |
| 156 | i2c3: i2c@ffc73000 { |
| 157 | #address-cells = <1>; |
| 158 | #size-cells = <0>; |
| 159 | compatible = "renesas,i2c-r8a7778"; |
| 160 | reg = <0xffc73000 0x1000>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 161 | interrupts = <0 77 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 3acb51b | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 162 | status = "disabled"; |
| 163 | }; |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 164 | |
Simon Horman | 9930dc8 | 2014-07-07 09:54:27 +0200 | [diff] [blame] | 165 | scif0: serial@ffe40000 { |
| 166 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
| 167 | reg = <0xffe40000 0x100>; |
| 168 | interrupts = <0 70 IRQ_TYPE_LEVEL_HIGH>; |
| 169 | status = "disabled"; |
| 170 | }; |
| 171 | |
| 172 | scif1: serial@ffe41000 { |
| 173 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
| 174 | reg = <0xffe41000 0x100>; |
| 175 | interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>; |
| 176 | status = "disabled"; |
| 177 | }; |
| 178 | |
| 179 | scif2: serial@ffe42000 { |
| 180 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
| 181 | reg = <0xffe42000 0x100>; |
| 182 | interrupts = <0 72 IRQ_TYPE_LEVEL_HIGH>; |
| 183 | status = "disabled"; |
| 184 | }; |
| 185 | |
| 186 | scif3: serial@ffe43000 { |
| 187 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
| 188 | reg = <0xffe43000 0x100>; |
| 189 | interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>; |
| 190 | status = "disabled"; |
| 191 | }; |
| 192 | |
| 193 | scif4: serial@ffe44000 { |
| 194 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
| 195 | reg = <0xffe44000 0x100>; |
| 196 | interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>; |
| 197 | status = "disabled"; |
| 198 | }; |
| 199 | |
| 200 | scif5: serial@ffe45000 { |
| 201 | compatible = "renesas,scif-r8a7778", "renesas,scif"; |
| 202 | reg = <0xffe45000 0x100>; |
| 203 | interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>; |
| 204 | status = "disabled"; |
| 205 | }; |
| 206 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 207 | mmcif: mmc@ffe4e000 { |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 208 | compatible = "renesas,sh-mmcif"; |
| 209 | reg = <0xffe4e000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 210 | interrupts = <0 61 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | f7b90175 | 2013-10-03 18:32:22 -0700 | [diff] [blame] | 211 | status = "disabled"; |
| 212 | }; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 213 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 214 | sdhi0: sd@ffe4c000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 215 | compatible = "renesas,sdhi-r8a7778"; |
| 216 | reg = <0xffe4c000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 217 | interrupts = <0 87 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 218 | cap-sd-highspeed; |
| 219 | cap-sdio-irq; |
| 220 | status = "disabled"; |
| 221 | }; |
| 222 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 223 | sdhi1: sd@ffe4d000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 224 | compatible = "renesas,sdhi-r8a7778"; |
| 225 | reg = <0xffe4d000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 226 | interrupts = <0 88 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 227 | cap-sd-highspeed; |
| 228 | cap-sdio-irq; |
| 229 | status = "disabled"; |
| 230 | }; |
| 231 | |
Kuninori Morimoto | 14e1d91 | 2013-10-21 19:35:42 -0700 | [diff] [blame] | 232 | sdhi2: sd@ffe4f000 { |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 233 | compatible = "renesas,sdhi-r8a7778"; |
| 234 | reg = <0xffe4f000 0x100>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 235 | interrupts = <0 86 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | 04cbd88 | 2013-10-10 23:35:46 -0700 | [diff] [blame] | 236 | cap-sd-highspeed; |
| 237 | cap-sdio-irq; |
| 238 | status = "disabled"; |
| 239 | }; |
Kuninori Morimoto | ae4273e | 2013-10-03 23:44:15 -0700 | [diff] [blame] | 240 | |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 241 | hspi0: spi@fffc7000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 242 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 243 | reg = <0xfffc7000 0x18>; |
Laurent Pinchart | d6dd131 | 2013-11-28 17:22:13 +0100 | [diff] [blame] | 244 | interrupts = <0 63 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 245 | #address-cells = <1>; |
| 246 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 247 | status = "disabled"; |
| 248 | }; |
| 249 | |
| 250 | hspi1: spi@fffc8000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 251 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 252 | reg = <0xfffc8000 0x18>; |
Laurent Pinchart | d6dd131 | 2013-11-28 17:22:13 +0100 | [diff] [blame] | 253 | interrupts = <0 84 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 254 | #address-cells = <1>; |
| 255 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 256 | status = "disabled"; |
| 257 | }; |
| 258 | |
| 259 | hspi2: spi@fffc6000 { |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 260 | compatible = "renesas,hspi-r8a7778", "renesas,hspi"; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 261 | reg = <0xfffc6000 0x18>; |
Laurent Pinchart | d6dd131 | 2013-11-28 17:22:13 +0100 | [diff] [blame] | 262 | interrupts = <0 85 IRQ_TYPE_LEVEL_HIGH>; |
Geert Uytterhoeven | a34c50d | 2014-03-14 11:06:40 +0100 | [diff] [blame] | 263 | #address-cells = <1>; |
| 264 | #size-cells = <0>; |
Kuninori Morimoto | a50da08 | 2013-10-31 18:22:21 -0700 | [diff] [blame] | 265 | status = "disabled"; |
| 266 | }; |
Kuninori Morimoto | ccb7cc7 | 2013-03-21 03:01:36 -0700 | [diff] [blame] | 267 | }; |