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 | |
| 45 | gic: interrupt-controller@f0001000 { |
| 46 | compatible = "arm,cortex-a9-gic"; |
| 47 | #interrupt-cells = <3>; |
| 48 | interrupt-controller; |
| 49 | reg = <0xf0001000 0x1000>, |
| 50 | <0xf0000100 0x100>; |
| 51 | }; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 52 | |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 53 | gpio0: gpio@ffc40000 { |
| 54 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 55 | reg = <0xffc40000 0x2c>; |
| 56 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 57 | interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 58 | #gpio-cells = <2>; |
| 59 | gpio-controller; |
| 60 | gpio-ranges = <&pfc 0 0 32>; |
| 61 | #interrupt-cells = <2>; |
| 62 | interrupt-controller; |
| 63 | }; |
| 64 | |
| 65 | gpio1: gpio@ffc41000 { |
| 66 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 67 | reg = <0xffc41000 0x2c>; |
| 68 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 69 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 70 | #gpio-cells = <2>; |
| 71 | gpio-controller; |
| 72 | gpio-ranges = <&pfc 0 32 32>; |
| 73 | #interrupt-cells = <2>; |
| 74 | interrupt-controller; |
| 75 | }; |
| 76 | |
| 77 | gpio2: gpio@ffc42000 { |
| 78 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 79 | reg = <0xffc42000 0x2c>; |
| 80 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 81 | interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 82 | #gpio-cells = <2>; |
| 83 | gpio-controller; |
| 84 | gpio-ranges = <&pfc 0 64 32>; |
| 85 | #interrupt-cells = <2>; |
| 86 | interrupt-controller; |
| 87 | }; |
| 88 | |
| 89 | gpio3: gpio@ffc43000 { |
| 90 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 91 | reg = <0xffc43000 0x2c>; |
| 92 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 93 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 94 | #gpio-cells = <2>; |
| 95 | gpio-controller; |
| 96 | gpio-ranges = <&pfc 0 96 32>; |
| 97 | #interrupt-cells = <2>; |
| 98 | interrupt-controller; |
| 99 | }; |
| 100 | |
| 101 | gpio4: gpio@ffc44000 { |
| 102 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 103 | reg = <0xffc44000 0x2c>; |
| 104 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 105 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 106 | #gpio-cells = <2>; |
| 107 | gpio-controller; |
| 108 | gpio-ranges = <&pfc 0 128 32>; |
| 109 | #interrupt-cells = <2>; |
| 110 | interrupt-controller; |
| 111 | }; |
| 112 | |
| 113 | gpio5: gpio@ffc45000 { |
| 114 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 115 | reg = <0xffc45000 0x2c>; |
| 116 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 117 | interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 118 | #gpio-cells = <2>; |
| 119 | gpio-controller; |
| 120 | gpio-ranges = <&pfc 0 160 32>; |
| 121 | #interrupt-cells = <2>; |
| 122 | interrupt-controller; |
| 123 | }; |
| 124 | |
| 125 | gpio6: gpio@ffc46000 { |
| 126 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; |
| 127 | reg = <0xffc46000 0x2c>; |
| 128 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 129 | interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>; |
Laurent Pinchart | f5c771b | 2013-05-10 15:51:14 +0200 | [diff] [blame] | 130 | #gpio-cells = <2>; |
| 131 | gpio-controller; |
| 132 | gpio-ranges = <&pfc 0 192 9>; |
| 133 | #interrupt-cells = <2>; |
| 134 | interrupt-controller; |
| 135 | }; |
| 136 | |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 137 | irqpin0: irqpin@fe780010 { |
Magnus Damm | 11ef034 | 2013-11-28 08:15:18 +0900 | [diff] [blame^] | 138 | compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 139 | #interrupt-cells = <2>; |
Kuninori Morimoto | 84b47df | 2013-10-02 01:39:13 -0700 | [diff] [blame] | 140 | status = "disabled"; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 141 | interrupt-controller; |
| 142 | reg = <0xfe78001c 4>, |
| 143 | <0xfe780010 4>, |
| 144 | <0xfe780024 4>, |
| 145 | <0xfe780044 4>, |
| 146 | <0xfe780064 4>; |
| 147 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 148 | interrupts = <0 27 IRQ_TYPE_LEVEL_HIGH |
| 149 | 0 28 IRQ_TYPE_LEVEL_HIGH |
| 150 | 0 29 IRQ_TYPE_LEVEL_HIGH |
| 151 | 0 30 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | 24603f3 | 2013-04-03 11:19:07 +0200 | [diff] [blame] | 152 | sense-bitfield-width = <2>; |
| 153 | }; |
| 154 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 155 | i2c0: i2c@ffc70000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 156 | #address-cells = <1>; |
| 157 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 158 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 159 | reg = <0xffc70000 0x1000>; |
| 160 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 161 | interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 162 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 163 | }; |
| 164 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 165 | i2c1: i2c@ffc71000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 166 | #address-cells = <1>; |
| 167 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 168 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 169 | reg = <0xffc71000 0x1000>; |
| 170 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 171 | interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 172 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 173 | }; |
| 174 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 175 | i2c2: i2c@ffc72000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 176 | #address-cells = <1>; |
| 177 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 178 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 179 | reg = <0xffc72000 0x1000>; |
| 180 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 181 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 182 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 183 | }; |
| 184 | |
Lee Jones | 98724b7 | 2013-07-22 11:52:38 +0100 | [diff] [blame] | 185 | i2c3: i2c@ffc73000 { |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 186 | #address-cells = <1>; |
| 187 | #size-cells = <0>; |
Kuninori Morimoto | 6363070 | 2013-10-03 23:44:44 -0700 | [diff] [blame] | 188 | compatible = "renesas,i2c-r8a7779"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 189 | reg = <0xffc73000 0x1000>; |
| 190 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 191 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
Guennadi Liakhovetski | eda3a4f | 2013-09-26 13:06:01 +0200 | [diff] [blame] | 192 | status = "disabled"; |
Simon Horman | 10e8d4f | 2012-11-21 22:00:15 +0900 | [diff] [blame] | 193 | }; |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 194 | |
Laurent Pinchart | 3ab03d0 | 2013-05-09 15:05:57 +0200 | [diff] [blame] | 195 | pfc: pfc@fffc0000 { |
| 196 | compatible = "renesas,pfc-r8a7779"; |
| 197 | reg = <0xfffc0000 0x23c>; |
| 198 | }; |
| 199 | |
Kuninori Morimoto | 25a6597 | 2013-03-04 00:32:16 -0800 | [diff] [blame] | 200 | thermal@ffc48000 { |
| 201 | compatible = "renesas,rcar-thermal"; |
| 202 | reg = <0xffc48000 0x38>; |
| 203 | }; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 204 | |
| 205 | sata: sata@fc600000 { |
| 206 | compatible = "renesas,rcar-sata"; |
| 207 | reg = <0xfc600000 0x2000>; |
| 208 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 209 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
Vladimir Barinov | 7840a65 | 2013-02-27 23:34:36 +0300 | [diff] [blame] | 210 | }; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 211 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 212 | sdhi0: sd@ffe4c000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 213 | compatible = "renesas,sdhi-r8a7779"; |
| 214 | reg = <0xffe4c000 0x100>; |
| 215 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 216 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 217 | cap-sd-highspeed; |
| 218 | cap-sdio-irq; |
| 219 | status = "disabled"; |
| 220 | }; |
| 221 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 222 | sdhi1: sd@ffe4d000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 223 | compatible = "renesas,sdhi-r8a7779"; |
| 224 | reg = <0xffe4d000 0x100>; |
| 225 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 226 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 227 | cap-sd-highspeed; |
| 228 | cap-sdio-irq; |
| 229 | status = "disabled"; |
| 230 | }; |
| 231 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 232 | sdhi2: sd@ffe4e000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 233 | compatible = "renesas,sdhi-r8a7779"; |
| 234 | reg = <0xffe4e000 0x100>; |
| 235 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 236 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 237 | cap-sd-highspeed; |
| 238 | cap-sdio-irq; |
| 239 | status = "disabled"; |
| 240 | }; |
| 241 | |
Kuninori Morimoto | 2624705 | 2013-10-21 19:36:02 -0700 | [diff] [blame] | 242 | sdhi3: sd@ffe4f000 { |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 243 | compatible = "renesas,sdhi-r8a7779"; |
| 244 | reg = <0xffe4f000 0x100>; |
| 245 | interrupt-parent = <&gic>; |
Laurent Pinchart | 5f75e73 | 2013-11-19 03:18:25 +0100 | [diff] [blame] | 246 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
Kuninori Morimoto | c4866e7 | 2013-10-10 23:36:22 -0700 | [diff] [blame] | 247 | cap-sd-highspeed; |
| 248 | cap-sdio-irq; |
| 249 | status = "disabled"; |
| 250 | }; |
Simon Horman | c58a154 | 2013-01-29 14:21:46 +0900 | [diff] [blame] | 251 | }; |