Commit | Line | Data |
---|---|---|
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 | ||
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 | }; | |
10e8d4f6 | 52 | |
f5c771b5 LP |
53 | gpio0: gpio@ffc40000 { |
54 | compatible = "renesas,gpio-r8a7779", "renesas,gpio-rcar"; | |
55 | reg = <0xffc40000 0x2c>; | |
56 | interrupt-parent = <&gic>; | |
5f75e73c | 57 | interrupts = <0 141 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
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>; | |
5f75e73c | 69 | interrupts = <0 142 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
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>; | |
5f75e73c | 81 | interrupts = <0 143 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
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>; | |
5f75e73c | 93 | interrupts = <0 144 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
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>; | |
5f75e73c | 105 | interrupts = <0 145 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
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>; | |
5f75e73c | 117 | interrupts = <0 146 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
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>; | |
5f75e73c | 129 | interrupts = <0 147 IRQ_TYPE_LEVEL_HIGH>; |
f5c771b5 LP |
130 | #gpio-cells = <2>; |
131 | gpio-controller; | |
132 | gpio-ranges = <&pfc 0 192 9>; | |
133 | #interrupt-cells = <2>; | |
134 | interrupt-controller; | |
135 | }; | |
136 | ||
24603f3c | 137 | irqpin0: irqpin@fe780010 { |
11ef0340 | 138 | compatible = "renesas,intc-irqpin-r8a7779", "renesas,intc-irqpin"; |
24603f3c | 139 | #interrupt-cells = <2>; |
84b47dfc | 140 | status = "disabled"; |
24603f3c GL |
141 | interrupt-controller; |
142 | reg = <0xfe78001c 4>, | |
143 | <0xfe780010 4>, | |
144 | <0xfe780024 4>, | |
145 | <0xfe780044 4>, | |
146 | <0xfe780064 4>; | |
147 | interrupt-parent = <&gic>; | |
5f75e73c LP |
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>; | |
24603f3c GL |
152 | sense-bitfield-width = <2>; |
153 | }; | |
154 | ||
98724b7e | 155 | i2c0: i2c@ffc70000 { |
10e8d4f6 SH |
156 | #address-cells = <1>; |
157 | #size-cells = <0>; | |
6363070e | 158 | compatible = "renesas,i2c-r8a7779"; |
10e8d4f6 SH |
159 | reg = <0xffc70000 0x1000>; |
160 | interrupt-parent = <&gic>; | |
5f75e73c | 161 | interrupts = <0 79 IRQ_TYPE_LEVEL_HIGH>; |
eda3a4fa | 162 | status = "disabled"; |
10e8d4f6 SH |
163 | }; |
164 | ||
98724b7e | 165 | i2c1: i2c@ffc71000 { |
10e8d4f6 SH |
166 | #address-cells = <1>; |
167 | #size-cells = <0>; | |
6363070e | 168 | compatible = "renesas,i2c-r8a7779"; |
10e8d4f6 SH |
169 | reg = <0xffc71000 0x1000>; |
170 | interrupt-parent = <&gic>; | |
5f75e73c | 171 | interrupts = <0 82 IRQ_TYPE_LEVEL_HIGH>; |
eda3a4fa | 172 | status = "disabled"; |
10e8d4f6 SH |
173 | }; |
174 | ||
98724b7e | 175 | i2c2: i2c@ffc72000 { |
10e8d4f6 SH |
176 | #address-cells = <1>; |
177 | #size-cells = <0>; | |
6363070e | 178 | compatible = "renesas,i2c-r8a7779"; |
10e8d4f6 SH |
179 | reg = <0xffc72000 0x1000>; |
180 | interrupt-parent = <&gic>; | |
5f75e73c | 181 | interrupts = <0 80 IRQ_TYPE_LEVEL_HIGH>; |
eda3a4fa | 182 | status = "disabled"; |
10e8d4f6 SH |
183 | }; |
184 | ||
98724b7e | 185 | i2c3: i2c@ffc73000 { |
10e8d4f6 SH |
186 | #address-cells = <1>; |
187 | #size-cells = <0>; | |
6363070e | 188 | compatible = "renesas,i2c-r8a7779"; |
10e8d4f6 SH |
189 | reg = <0xffc73000 0x1000>; |
190 | interrupt-parent = <&gic>; | |
5f75e73c | 191 | interrupts = <0 81 IRQ_TYPE_LEVEL_HIGH>; |
eda3a4fa | 192 | status = "disabled"; |
10e8d4f6 | 193 | }; |
25a65975 | 194 | |
3ab03d01 LP |
195 | pfc: pfc@fffc0000 { |
196 | compatible = "renesas,pfc-r8a7779"; | |
197 | reg = <0xfffc0000 0x23c>; | |
198 | }; | |
199 | ||
25a65975 KM |
200 | thermal@ffc48000 { |
201 | compatible = "renesas,rcar-thermal"; | |
202 | reg = <0xffc48000 0x38>; | |
203 | }; | |
7840a65a VB |
204 | |
205 | sata: sata@fc600000 { | |
206 | compatible = "renesas,rcar-sata"; | |
207 | reg = <0xfc600000 0x2000>; | |
208 | interrupt-parent = <&gic>; | |
5f75e73c | 209 | interrupts = <0 100 IRQ_TYPE_LEVEL_HIGH>; |
7840a65a | 210 | }; |
c4866e70 | 211 | |
2624705c | 212 | sdhi0: sd@ffe4c000 { |
c4866e70 KM |
213 | compatible = "renesas,sdhi-r8a7779"; |
214 | reg = <0xffe4c000 0x100>; | |
215 | interrupt-parent = <&gic>; | |
5f75e73c | 216 | interrupts = <0 104 IRQ_TYPE_LEVEL_HIGH>; |
c4866e70 KM |
217 | cap-sd-highspeed; |
218 | cap-sdio-irq; | |
219 | status = "disabled"; | |
220 | }; | |
221 | ||
2624705c | 222 | sdhi1: sd@ffe4d000 { |
c4866e70 KM |
223 | compatible = "renesas,sdhi-r8a7779"; |
224 | reg = <0xffe4d000 0x100>; | |
225 | interrupt-parent = <&gic>; | |
5f75e73c | 226 | interrupts = <0 105 IRQ_TYPE_LEVEL_HIGH>; |
c4866e70 KM |
227 | cap-sd-highspeed; |
228 | cap-sdio-irq; | |
229 | status = "disabled"; | |
230 | }; | |
231 | ||
2624705c | 232 | sdhi2: sd@ffe4e000 { |
c4866e70 KM |
233 | compatible = "renesas,sdhi-r8a7779"; |
234 | reg = <0xffe4e000 0x100>; | |
235 | interrupt-parent = <&gic>; | |
5f75e73c | 236 | interrupts = <0 107 IRQ_TYPE_LEVEL_HIGH>; |
c4866e70 KM |
237 | cap-sd-highspeed; |
238 | cap-sdio-irq; | |
239 | status = "disabled"; | |
240 | }; | |
241 | ||
2624705c | 242 | sdhi3: sd@ffe4f000 { |
c4866e70 KM |
243 | compatible = "renesas,sdhi-r8a7779"; |
244 | reg = <0xffe4f000 0x100>; | |
245 | interrupt-parent = <&gic>; | |
5f75e73c | 246 | interrupts = <0 106 IRQ_TYPE_LEVEL_HIGH>; |
c4866e70 KM |
247 | cap-sd-highspeed; |
248 | cap-sdio-irq; | |
249 | status = "disabled"; | |
250 | }; | |
c58a1545 | 251 | }; |