]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/blame - arch/arm/boot/dts/r8a7779.dtsi
ARM: shmobile: armadillo-reference dts: Add Ethernet support
[mirror_ubuntu-eoan-kernel.git] / arch / arm / boot / dts / r8a7779.dtsi
CommitLineData
c58a1545 1/*
349f556e 2 * Device Tree Source for Renesas r8a7779
c58a1545
SH
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
5f75e73c
LP
14#include <dt-bindings/interrupt-controller/irq.h>
15
c58a1545
SH
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
3c3f6ad3
SH
45 aliases {
46 spi0 = &hspi0;
47 spi1 = &hspi1;
48 spi2 = &hspi2;
49 };
50
c58a1545
SH
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 };
10e8d4f6 58
f5c771b5
LP
59 gpio0: gpio@ffc40000 {
60 compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar";
61 reg = <0xffc40000 0x2c>;
62 interrupt-parent = <&gic>;
5f75e73c 63 interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
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>;
5f75e73c 75 interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
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>;
5f75e73c 87 interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
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>;
5f75e73c 99 interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
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>;
5f75e73c 111 interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
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>;
5f75e73c 123 interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
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>;
5f75e73c 135 interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>;
f5c771b5
LP
136 #gpio-cells = <2>;
137 gpio-controller;
138 gpio-ranges = <&pfc 0 192 9>;
139 #interrupt-cells = <2>;
140 interrupt-controller;
141 };
142
24603f3c 143 irqpin0: irqpin@fe780010 {
11ef0340 144 compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin";
24603f3c 145 #interrupt-cells = <2>;
84b47dfc 146 status = "disabled";
24603f3c
GL
147 interrupt-controller;
148 reg = <0xfe78001c 4>,
149 <0xfe780010 4>,
150 <0xfe780024 4>,
151 <0xfe780044 4>,
152 <0xfe780064 4>;
153 interrupt-parent = <&gic>;
5f75e73c
LP
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>;
24603f3c
GL
158 sense-bitfield-width = <2>;
159 };
160
98724b7e 161 i2c0: i2c@ffc70000 {
10e8d4f6
SH
162 #address-cells = <1>;
163 #size-cells = <0>;
6363070e 164 compatible = "renesas,i2c-r8a7779";
10e8d4f6
SH
165 reg = <0xffc70000 0x1000>;
166 interrupt-parent = <&gic>;
5f75e73c 167 interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>;
eda3a4fa 168 status = "disabled";
10e8d4f6
SH
169 };
170
98724b7e 171 i2c1: i2c@ffc71000 {
10e8d4f6
SH
172 #address-cells = <1>;
173 #size-cells = <0>;
6363070e 174 compatible = "renesas,i2c-r8a7779";
10e8d4f6
SH
175 reg = <0xffc71000 0x1000>;
176 interrupt-parent = <&gic>;
5f75e73c 177 interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>;
eda3a4fa 178 status = "disabled";
10e8d4f6
SH
179 };
180
98724b7e 181 i2c2: i2c@ffc72000 {
10e8d4f6
SH
182 #address-cells = <1>;
183 #size-cells = <0>;
6363070e 184 compatible = "renesas,i2c-r8a7779";
10e8d4f6
SH
185 reg = <0xffc72000 0x1000>;
186 interrupt-parent = <&gic>;
5f75e73c 187 interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>;
eda3a4fa 188 status = "disabled";
10e8d4f6
SH
189 };
190
98724b7e 191 i2c3: i2c@ffc73000 {
10e8d4f6
SH
192 #address-cells = <1>;
193 #size-cells = <0>;
6363070e 194 compatible = "renesas,i2c-r8a7779";
10e8d4f6
SH
195 reg = <0xffc73000 0x1000>;
196 interrupt-parent = <&gic>;
5f75e73c 197 interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>;
eda3a4fa 198 status = "disabled";
10e8d4f6 199 };
25a65975 200
3ab03d01
LP
201 pfc: pfc@fffc0000 {
202 compatible = "renesas,pfc-r8a7779";
203 reg = <0xfffc0000 0x23c>;
204 };
205
25a65975
KM
206 thermal@ffc48000 {
207 compatible = "renesas,rcar-thermal";
208 reg = <0xffc48000 0x38>;
209 };
7840a65a
VB
210
211 sata: sata@fc600000 {
212 compatible = "renesas,rcar-sata";
213 reg = <0xfc600000 0x2000>;
214 interrupt-parent = <&gic>;
5f75e73c 215 interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>;
7840a65a 216 };
c4866e70 217
2624705c 218 sdhi0: sd@ffe4c000 {
c4866e70
KM
219 compatible = "renesas,sdhi-r8a7779";
220 reg = <0xffe4c000 0x100>;
221 interrupt-parent = <&gic>;
5f75e73c 222 interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>;
c4866e70
KM
223 cap-sd-highspeed;
224 cap-sdio-irq;
225 status = "disabled";
226 };
227
2624705c 228 sdhi1: sd@ffe4d000 {
c4866e70
KM
229 compatible = "renesas,sdhi-r8a7779";
230 reg = <0xffe4d000 0x100>;
231 interrupt-parent = <&gic>;
5f75e73c 232 interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>;
c4866e70
KM
233 cap-sd-highspeed;
234 cap-sdio-irq;
235 status = "disabled";
236 };
237
2624705c 238 sdhi2: sd@ffe4e000 {
c4866e70
KM
239 compatible = "renesas,sdhi-r8a7779";
240 reg = <0xffe4e000 0x100>;
241 interrupt-parent = <&gic>;
5f75e73c 242 interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>;
c4866e70
KM
243 cap-sd-highspeed;
244 cap-sdio-irq;
245 status = "disabled";
246 };
247
2624705c 248 sdhi3: sd@ffe4f000 {
c4866e70
KM
249 compatible = "renesas,sdhi-r8a7779";
250 reg = <0xffe4f000 0x100>;
251 interrupt-parent = <&gic>;
5f75e73c 252 interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>;
c4866e70
KM
253 cap-sd-highspeed;
254 cap-sdio-irq;
255 status = "disabled";
256 };
3c3f6ad3
SH
257
258 hspi0: spi@fffc7000 {
7709c33b 259 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
3c3f6ad3 260 reg = <0xfffc7000 0x18>;
7709c33b 261 interrupt-parent = <&gic>;
3c3f6ad3 262 interrupts = <0 73 IRQ_TYPE_LEVEL_HIGH>;
7709c33b
GU
263 #address-cells = <1>;
264 #size-cells = <0>;
3c3f6ad3
SH
265 status = "disabled";
266 };
267
268 hspi1: spi@fffc8000 {
7709c33b 269 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
3c3f6ad3 270 reg = <0xfffc8000 0x18>;
7709c33b 271 interrupt-parent = <&gic>;
3c3f6ad3 272 interrupts = <0 74 IRQ_TYPE_LEVEL_HIGH>;
7709c33b
GU
273 #address-cells = <1>;
274 #size-cells = <0>;
3c3f6ad3
SH
275 status = "disabled";
276 };
277
278 hspi2: spi@fffc6000 {
7709c33b 279 compatible = "renesas,hspi-r8a7779", "renesas,hspi";
3c3f6ad3 280 reg = <0xfffc6000 0x18>;
7709c33b 281 interrupt-parent = <&gic>;
3c3f6ad3 282 interrupts = <0 75 IRQ_TYPE_LEVEL_HIGH>;
7709c33b
GU
283 #address-cells = <1>;
284 #size-cells = <0>;
3c3f6ad3
SH
285 status = "disabled";
286 };
c58a1545 287};