]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/blame - arch/arm/boot/dts/meson.dtsi
Merge tag 'powerpc-5.2-2' of git://git.kernel.org/pub/scm/linux/kernel/git/powerpc...
[mirror_ubuntu-hirsute-kernel.git] / arch / arm / boot / dts / meson.dtsi
CommitLineData
6b112e24
CC
1/*
2 * Copyright 2014 Carlo Caione <carlo@caione.org>
3 *
4 * This file is dual-licensed: you can use it either under the terms
5 * of the GPL or the X11 license, at your option. Note that this dual
6 * licensing only applies to this file, and not this project as a
7 * whole.
8 *
9 * a) This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of the
12 * License, or (at your option) any later version.
13 *
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public
20 * License along with this library; if not, write to the Free
21 * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
22 * MA 02110-1301 USA
23 *
24 * Or, alternatively,
25 *
26 * b) Permission is hereby granted, free of charge, to any person
27 * obtaining a copy of this software and associated documentation
28 * files (the "Software"), to deal in the Software without
29 * restriction, including without limitation the rights to use,
30 * copy, modify, merge, publish, distribute, sublicense, and/or
31 * sell copies of the Software, and to permit persons to whom the
32 * Software is furnished to do so, subject to the following
33 * conditions:
34 *
35 * The above copyright notice and this permission notice shall be
36 * included in all copies or substantial portions of the Software.
37 *
38 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
40 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
41 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
42 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
43 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
45 * OTHER DEALINGS IN THE SOFTWARE.
46 */
47
5239e050
MB
48#include <dt-bindings/interrupt-controller/irq.h>
49#include <dt-bindings/interrupt-controller/arm-gic.h>
6b112e24
CC
50
51/ {
abe60a3a
RH
52 #address-cells = <1>;
53 #size-cells = <1>;
6b112e24
CC
54 interrupt-parent = <&gic>;
55
550ab390
BG
56 L2: l2-cache-controller@c4200000 {
57 compatible = "arm,pl310-cache";
58 reg = <0xc4200000 0x1000>;
59 cache-unified;
60 cache-level = <2>;
61 };
62
6b112e24
CC
63 soc {
64 compatible = "simple-bus";
65 #address-cells = <1>;
66 #size-cells = <1>;
67 ranges;
68
200a575b
MB
69 cbus: cbus@c1100000 {
70 compatible = "simple-bus";
71 reg = <0xc1100000 0x200000>;
8fba96fa 72 #address-cells = <1>;
200a575b
MB
73 #size-cells = <1>;
74 ranges = <0x0 0xc1100000 0x200000>;
75
b6db3936
MB
76 hhi: system-controller@4000 {
77 compatible = "amlogic,meson-hhi-sysctrl",
78 "simple-mfd",
79 "syscon";
80 reg = <0x4000 0x400>;
81 };
82
bd835d53
MB
83 assist: assist@7c00 {
84 compatible = "amlogic,meson-mx-assist", "syscon";
85 reg = <0x7c00 0x200>;
86 };
87
a35910d3
MB
88 hwrng: rng@8100 {
89 compatible = "amlogic,meson-rng";
90 reg = <0x8100 0x8>;
91 };
92
200a575b 93 uart_A: serial@84c0 {
ec9b5916 94 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
200a575b 95 reg = <0x84c0 0x18>;
5239e050 96 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
97 status = "disabled";
98 };
99
100 uart_B: serial@84dc {
ec9b5916 101 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
200a575b 102 reg = <0x84dc 0x18>;
5239e050 103 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
104 status = "disabled";
105 };
106
107 i2c_A: i2c@8500 {
108 compatible = "amlogic,meson6-i2c";
109 reg = <0x8500 0x20>;
5239e050 110 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
111 #address-cells = <1>;
112 #size-cells = <0>;
113 status = "disabled";
114 };
115
440bdcdb
MB
116 pwm_ab: pwm@8550 {
117 compatible = "amlogic,meson-pwm";
118 reg = <0x8550 0x10>;
119 #pwm-cells = <3>;
120 status = "disabled";
121 };
122
123 pwm_cd: pwm@8650 {
124 compatible = "amlogic,meson-pwm";
125 reg = <0x8650 0x10>;
126 #pwm-cells = <3>;
127 status = "disabled";
128 };
129
a39a3b9f
MB
130 saradc: adc@8680 {
131 compatible = "amlogic,meson-saradc";
132 reg = <0x8680 0x34>;
133 #io-channel-cells = <1>;
134 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
135 status = "disabled";
136 };
137
200a575b 138 uart_C: serial@8700 {
ec9b5916 139 compatible = "amlogic,meson6-uart", "amlogic,meson-uart";
200a575b 140 reg = <0x8700 0x18>;
5239e050 141 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
142 status = "disabled";
143 };
144
145 i2c_B: i2c@87c0 {
146 compatible = "amlogic,meson6-i2c";
147 reg = <0x87c0 0x20>;
5239e050 148 interrupts = <GIC_SPI 128 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
149 #address-cells = <1>;
150 #size-cells = <0>;
151 status = "disabled";
152 };
153
e29b1cf8
MB
154 usb0_phy: phy@8800 {
155 compatible = "amlogic,meson-mx-usb2-phy";
156 #phy-cells = <0>;
157 reg = <0x8800 0x20>;
158 status = "disabled";
159 };
160
161 usb1_phy: phy@8820 {
162 compatible = "amlogic,meson-mx-usb2-phy";
163 #phy-cells = <0>;
164 reg = <0x8820 0x20>;
165 status = "disabled";
166 };
167
88b1b18f
MB
168 sdio: mmc@8c20 {
169 compatible = "amlogic,meson-mx-sdio";
170 reg = <0x8c20 0x20>;
171 interrupts = <GIC_SPI 28 IRQ_TYPE_EDGE_RISING>;
172 #address-cells = <1>;
173 #size-cells = <0>;
174 status = "disabled";
175 };
176
200a575b
MB
177 spifc: spi@8c80 {
178 compatible = "amlogic,meson6-spifc";
179 reg = <0x8c80 0x80>;
180 #address-cells = <1>;
181 #size-cells = <0>;
182 status = "disabled";
183 };
184
208e4ea6
MB
185 gpio_intc: interrupt-controller@9880 {
186 compatible = "amlogic,meson-gpio-intc";
9fd7a2e0 187 reg = <0x9880 0x10>;
208e4ea6
MB
188 interrupt-controller;
189 #interrupt-cells = <2>;
190 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
191 status = "disabled";
192 };
193
200a575b
MB
194 wdt: watchdog@9900 {
195 compatible = "amlogic,meson6-wdt";
196 reg = <0x9900 0x8>;
5239e050 197 interrupts = <GIC_SPI 0 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
198 };
199
7b141abe 200 timer_abcde: timer@9940 {
200a575b
MB
201 compatible = "amlogic,meson6-timer";
202 reg = <0x9940 0x18>;
523b8b31
MB
203 interrupts = <GIC_SPI 10 IRQ_TYPE_EDGE_RISING>,
204 <GIC_SPI 11 IRQ_TYPE_EDGE_RISING>,
205 <GIC_SPI 6 IRQ_TYPE_EDGE_RISING>,
206 <GIC_SPI 29 IRQ_TYPE_EDGE_RISING>;
200a575b 207 };
8fba96fa 208 };
2183a588 209
e8c276d9
MB
210 periph: bus@c4300000 {
211 compatible = "simple-bus";
212 reg = <0xc4300000 0x10000>;
213 #address-cells = <1>;
214 #size-cells = <1>;
215 ranges = <0x0 0xc4300000 0x10000>;
216
217 gic: interrupt-controller@1000 {
218 compatible = "arm,cortex-a9-gic";
219 reg = <0x1000 0x1000>,
220 <0x100 0x100>;
221 interrupt-controller;
222 #interrupt-cells = <3>;
223 };
224 };
225
200a575b
MB
226 aobus: aobus@c8100000 {
227 compatible = "simple-bus";
228 reg = <0xc8100000 0x100000>;
03bb9512 229 #address-cells = <1>;
200a575b
MB
230 #size-cells = <1>;
231 ranges = <0x0 0xc8100000 0x100000>;
232
233 ir_receiver: ir-receiver@480 {
234 compatible= "amlogic,meson6-ir";
235 reg = <0x480 0x20>;
5239e050 236 interrupts = <GIC_SPI 15 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
237 status = "disabled";
238 };
239
240 uart_AO: serial@4c0 {
ec9b5916 241 compatible = "amlogic,meson6-uart", "amlogic,meson-ao-uart", "amlogic,meson-uart";
200a575b 242 reg = <0x4c0 0x18>;
5239e050 243 interrupts = <GIC_SPI 90 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
244 status = "disabled";
245 };
246
247 i2c_AO: i2c@500 {
248 compatible = "amlogic,meson6-i2c";
249 reg = <0x500 0x20>;
5239e050 250 interrupts = <GIC_SPI 92 IRQ_TYPE_EDGE_RISING>;
200a575b
MB
251 #address-cells = <1>;
252 #size-cells = <0>;
253 status = "disabled";
254 };
f6eb973d
MB
255
256 rtc: rtc@740 {
257 compatible = "amlogic,meson6-rtc";
258 reg = <0x740 0x14>;
259 interrupts = <GIC_SPI 72 IRQ_TYPE_EDGE_RISING>;
260 #address-cells = <1>;
261 #size-cells = <1>;
262 status = "disabled";
263 };
03bb9512 264 };
2345d505 265
e29b1cf8
MB
266 usb0: usb@c9040000 {
267 compatible = "snps,dwc2";
268 #address-cells = <1>;
269 #size-cells = <0>;
270 reg = <0xc9040000 0x40000>;
291f45dd 271 interrupts = <GIC_SPI 30 IRQ_TYPE_LEVEL_HIGH>;
e29b1cf8
MB
272 phys = <&usb0_phy>;
273 phy-names = "usb2-phy";
274 dr_mode = "host";
275 status = "disabled";
276 };
277
278 usb1: usb@c90c0000 {
279 compatible = "snps,dwc2";
280 #address-cells = <1>;
281 #size-cells = <0>;
282 reg = <0xc90c0000 0x40000>;
291f45dd 283 interrupts = <GIC_SPI 31 IRQ_TYPE_LEVEL_HIGH>;
e29b1cf8
MB
284 phys = <&usb1_phy>;
285 phy-names = "usb2-phy";
286 dr_mode = "host";
287 status = "disabled";
288 };
289
2345d505
BG
290 ethmac: ethernet@c9410000 {
291 compatible = "amlogic,meson6-dwmac", "snps,dwmac";
292 reg = <0xc9410000 0x10000
293 0xc1108108 0x4>;
e35e26b2 294 interrupts = <GIC_SPI 8 IRQ_TYPE_LEVEL_HIGH>;
2345d505 295 interrupt-names = "macirq";
2345d505
BG
296 status = "disabled";
297 };
40b5c4f3
MB
298
299 ahb_sram: sram@d9000000 {
300 compatible = "mmio-sram";
301 reg = <0xd9000000 0x20000>;
302 #address-cells = <1>;
303 #size-cells = <1>;
304 ranges = <0 0xd9000000 0x20000>;
305 };
bd835d53
MB
306
307 bootrom: bootrom@d9040000 {
308 compatible = "amlogic,meson-mx-bootrom", "syscon";
309 reg = <0xd9040000 0x10000>;
310 };
2cb51a8d
MB
311
312 secbus: secbus@da000000 {
313 compatible = "simple-bus";
314 reg = <0xda000000 0x6000>;
315 #address-cells = <1>;
316 #size-cells = <1>;
317 ranges = <0x0 0xda000000 0x6000>;
318
319 efuse: nvmem@0 {
320 compatible = "amlogic,meson6-efuse";
321 reg = <0x0 0x2000>;
322 #address-cells = <1>;
323 #size-cells = <1>;
324 };
325 };
6b112e24
CC
326 };
327}; /* end of / */