blob: f1e5cdbade5edf281ecc9ea183c5e5b763c0f726 [file] [log] [blame]
Neil Armstrong5b3da7f2018-06-05 10:10:44 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
Heiner Kallweita3b02a12017-04-12 20:28:36 +02002/*
3 * Copyright (c) 2016 Andreas Färber
4 *
5 * Copyright (c) 2016 BayLibre, SAS.
6 * Author: Neil Armstrong <narmstrong@baylibre.com>
7 *
8 * Copyright (c) 2016 Endless Computers, Inc.
9 * Author: Carlo Caione <carlo@endlessm.com>
Heiner Kallweita3b02a12017-04-12 20:28:36 +020010 */
11
12#include <dt-bindings/gpio/gpio.h>
13#include <dt-bindings/interrupt-controller/irq.h>
14#include <dt-bindings/interrupt-controller/arm-gic.h>
15
16/ {
17 interrupt-parent = <&gic>;
18 #address-cells = <2>;
19 #size-cells = <2>;
20
21 reserved-memory {
22 #address-cells = <2>;
23 #size-cells = <2>;
24 ranges;
25
26 /* 16 MiB reserved for Hardware ROM Firmware */
27 hwrom_reserved: hwrom@0 {
28 reg = <0x0 0x0 0x0 0x1000000>;
29 no-map;
30 };
31
32 /* 2 MiB reserved for ARM Trusted Firmware (BL31) */
33 secmon_reserved: secmon@10000000 {
34 reg = <0x0 0x10000000 0x0 0x200000>;
35 no-map;
36 };
Beniamino Galvani4a63a752017-07-10 00:30:03 +020037
Loic Devulder8973d812018-11-27 17:41:18 +010038 /* Alternate 3 MiB reserved for ARM Trusted Firmware (BL31) */
39 secmon_reserved_alt: secmon@5000000 {
40 reg = <0x0 0x05000000 0x0 0x300000>;
41 no-map;
42 };
43
Beniamino Galvani4a63a752017-07-10 00:30:03 +020044 linux,cma {
45 compatible = "shared-dma-pool";
46 reusable;
Loic Devulder8973d812018-11-27 17:41:18 +010047 size = <0x0 0x10000000>;
Beniamino Galvani4a63a752017-07-10 00:30:03 +020048 alignment = <0x0 0x400000>;
49 linux,cma-default;
50 };
Heiner Kallweita3b02a12017-04-12 20:28:36 +020051 };
52
53 cpus {
54 #address-cells = <0x2>;
55 #size-cells = <0x0>;
56
57 cpu0: cpu@0 {
58 device_type = "cpu";
59 compatible = "arm,cortex-a53", "arm,armv8";
60 reg = <0x0 0x0>;
61 enable-method = "psci";
62 next-level-cache = <&l2>;
63 clocks = <&scpi_dvfs 0>;
64 };
65
66 cpu1: cpu@1 {
67 device_type = "cpu";
68 compatible = "arm,cortex-a53", "arm,armv8";
69 reg = <0x0 0x1>;
70 enable-method = "psci";
71 next-level-cache = <&l2>;
72 clocks = <&scpi_dvfs 0>;
73 };
74
75 cpu2: cpu@2 {
76 device_type = "cpu";
77 compatible = "arm,cortex-a53", "arm,armv8";
78 reg = <0x0 0x2>;
79 enable-method = "psci";
80 next-level-cache = <&l2>;
81 clocks = <&scpi_dvfs 0>;
82 };
83
84 cpu3: cpu@3 {
85 device_type = "cpu";
86 compatible = "arm,cortex-a53", "arm,armv8";
87 reg = <0x0 0x3>;
88 enable-method = "psci";
89 next-level-cache = <&l2>;
90 clocks = <&scpi_dvfs 0>;
91 };
92
93 l2: l2-cache0 {
94 compatible = "cache";
95 };
96 };
97
98 arm-pmu {
99 compatible = "arm,cortex-a53-pmu";
100 interrupts = <GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>,
101 <GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>,
102 <GIC_SPI 153 IRQ_TYPE_LEVEL_HIGH>,
103 <GIC_SPI 154 IRQ_TYPE_LEVEL_HIGH>;
104 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
105 };
106
107 psci {
108 compatible = "arm,psci-0.2";
109 method = "smc";
110 };
111
112 timer {
113 compatible = "arm,armv8-timer";
114 interrupts = <GIC_PPI 13
115 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
116 <GIC_PPI 14
117 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
118 <GIC_PPI 11
119 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
120 <GIC_PPI 10
121 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
122 };
123
124 xtal: xtal-clk {
125 compatible = "fixed-clock";
126 clock-frequency = <24000000>;
127 clock-output-names = "xtal";
128 #clock-cells = <0>;
129 };
130
131 firmware {
132 sm: secure-monitor {
133 compatible = "amlogic,meson-gx-sm", "amlogic,meson-gxbb-sm";
134 };
135 };
136
137 efuse: efuse {
138 compatible = "amlogic,meson-gx-efuse", "amlogic,meson-gxbb-efuse";
139 #address-cells = <1>;
140 #size-cells = <1>;
Neil Armstrong5b3da7f2018-06-05 10:10:44 +0200141 read-only;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200142
143 sn: sn@14 {
144 reg = <0x14 0x10>;
145 };
146
147 eth_mac: eth_mac@34 {
148 reg = <0x34 0x10>;
149 };
150
151 bid: bid@46 {
152 reg = <0x46 0x30>;
153 };
154 };
155
156 scpi {
157 compatible = "amlogic,meson-gxbb-scpi", "arm,scpi-pre-1.0";
158 mboxes = <&mailbox 1 &mailbox 2>;
159 shmem = <&cpu_scp_lpri &cpu_scp_hpri>;
160
161 scpi_clocks: clocks {
162 compatible = "arm,scpi-clocks";
163
164 scpi_dvfs: scpi_clocks@0 {
165 compatible = "arm,scpi-dvfs-clocks";
166 #clock-cells = <1>;
167 clock-indices = <0>;
168 clock-output-names = "vcpu";
169 };
170 };
171
172 scpi_sensors: sensors {
Neil Armstrong48622152017-10-12 15:50:30 +0200173 compatible = "amlogic,meson-gxbb-scpi-sensors", "arm,scpi-sensors";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200174 #thermal-sensor-cells = <1>;
175 };
176 };
177
178 soc {
179 compatible = "simple-bus";
180 #address-cells = <2>;
181 #size-cells = <2>;
182 ranges;
183
Neil Armstrong7d750c32018-04-11 17:40:40 +0200184 cbus: bus@c1100000 {
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200185 compatible = "simple-bus";
186 reg = <0x0 0xc1100000 0x0 0x100000>;
187 #address-cells = <2>;
188 #size-cells = <2>;
189 ranges = <0x0 0x0 0x0 0xc1100000 0x0 0x100000>;
190
Neil Armstrong7d750c32018-04-11 17:40:40 +0200191 gpio_intc: interrupt-controller@9880 {
192 compatible = "amlogic,meson-gpio-intc";
193 reg = <0x0 0x9880 0x0 0x10>;
194 interrupt-controller;
195 #interrupt-cells = <2>;
196 amlogic,channel-interrupts = <64 65 66 67 68 69 70 71>;
197 status = "disabled";
198 };
199
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200200 reset: reset-controller@4404 {
201 compatible = "amlogic,meson-gx-reset", "amlogic,meson-gxbb-reset";
Neil Armstrong7d750c32018-04-11 17:40:40 +0200202 reg = <0x0 0x04404 0x0 0x9c>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200203 #reset-cells = <1>;
204 };
205
206 uart_A: serial@84c0 {
Neil Armstrong7d750c32018-04-11 17:40:40 +0200207 compatible = "amlogic,meson-gx-uart";
208 reg = <0x0 0x84c0 0x0 0x18>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200209 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200210 status = "disabled";
211 };
212
213 uart_B: serial@84dc {
Neil Armstrong7d750c32018-04-11 17:40:40 +0200214 compatible = "amlogic,meson-gx-uart";
215 reg = <0x0 0x84dc 0x0 0x18>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200216 interrupts = <GIC_SPI 75 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200217 status = "disabled";
218 };
219
220 i2c_A: i2c@8500 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200221 compatible = "amlogic,meson-gx-i2c", "amlogic,meson-gxbb-i2c";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200222 reg = <0x0 0x08500 0x0 0x20>;
223 interrupts = <GIC_SPI 21 IRQ_TYPE_EDGE_RISING>;
224 #address-cells = <1>;
225 #size-cells = <0>;
226 status = "disabled";
227 };
228
229 pwm_ab: pwm@8550 {
230 compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm";
231 reg = <0x0 0x08550 0x0 0x10>;
232 #pwm-cells = <3>;
233 status = "disabled";
234 };
235
236 pwm_cd: pwm@8650 {
237 compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm";
238 reg = <0x0 0x08650 0x0 0x10>;
239 #pwm-cells = <3>;
240 status = "disabled";
241 };
242
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200243 saradc: adc@8680 {
244 compatible = "amlogic,meson-saradc";
245 reg = <0x0 0x8680 0x0 0x34>;
246 #io-channel-cells = <1>;
247 interrupts = <GIC_SPI 73 IRQ_TYPE_EDGE_RISING>;
248 status = "disabled";
249 };
250
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200251 pwm_ef: pwm@86c0 {
252 compatible = "amlogic,meson-gx-pwm", "amlogic,meson-gxbb-pwm";
253 reg = <0x0 0x086c0 0x0 0x10>;
254 #pwm-cells = <3>;
255 status = "disabled";
256 };
257
258 uart_C: serial@8700 {
Neil Armstrong7d750c32018-04-11 17:40:40 +0200259 compatible = "amlogic,meson-gx-uart";
260 reg = <0x0 0x8700 0x0 0x18>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200261 interrupts = <GIC_SPI 93 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200262 status = "disabled";
263 };
264
265 i2c_B: i2c@87c0 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200266 compatible = "amlogic,meson-gx-i2c", "amlogic,meson-gxbb-i2c";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200267 reg = <0x0 0x087c0 0x0 0x20>;
268 interrupts = <GIC_SPI 214 IRQ_TYPE_EDGE_RISING>;
269 #address-cells = <1>;
270 #size-cells = <0>;
271 status = "disabled";
272 };
273
274 i2c_C: i2c@87e0 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200275 compatible = "amlogic,meson-gx-i2c", "amlogic,meson-gxbb-i2c";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200276 reg = <0x0 0x087e0 0x0 0x20>;
277 interrupts = <GIC_SPI 215 IRQ_TYPE_EDGE_RISING>;
278 #address-cells = <1>;
279 #size-cells = <0>;
280 status = "disabled";
281 };
282
Neil Armstrong48622152017-10-12 15:50:30 +0200283 spicc: spi@8d80 {
284 compatible = "amlogic,meson-gx-spicc";
285 reg = <0x0 0x08d80 0x0 0x80>;
286 interrupts = <GIC_SPI 81 IRQ_TYPE_LEVEL_HIGH>;
287 #address-cells = <1>;
288 #size-cells = <0>;
289 status = "disabled";
290 };
291
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200292 spifc: spi@8c80 {
293 compatible = "amlogic,meson-gx-spifc", "amlogic,meson-gxbb-spifc";
294 reg = <0x0 0x08c80 0x0 0x80>;
295 #address-cells = <1>;
296 #size-cells = <0>;
297 status = "disabled";
298 };
299
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200300 watchdog@98d0 {
301 compatible = "amlogic,meson-gx-wdt", "amlogic,meson-gxbb-wdt";
302 reg = <0x0 0x098d0 0x0 0x10>;
303 clocks = <&xtal>;
304 };
305 };
306
307 gic: interrupt-controller@c4301000 {
308 compatible = "arm,gic-400";
309 reg = <0x0 0xc4301000 0 0x1000>,
310 <0x0 0xc4302000 0 0x2000>,
311 <0x0 0xc4304000 0 0x2000>,
312 <0x0 0xc4306000 0 0x2000>;
313 interrupt-controller;
314 interrupts = <GIC_PPI 9
315 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
316 #interrupt-cells = <3>;
317 #address-cells = <0>;
318 };
319
320 sram: sram@c8000000 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200321 compatible = "amlogic,meson-gx-sram", "amlogic,meson-gxbb-sram", "mmio-sram";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200322 reg = <0x0 0xc8000000 0x0 0x14000>;
323
324 #address-cells = <1>;
325 #size-cells = <1>;
326 ranges = <0 0x0 0xc8000000 0x14000>;
327
328 cpu_scp_lpri: scp-shmem@0 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200329 compatible = "amlogic,meson-gx-scp-shmem", "amlogic,meson-gxbb-scp-shmem";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200330 reg = <0x13000 0x400>;
331 };
332
333 cpu_scp_hpri: scp-shmem@200 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200334 compatible = "amlogic,meson-gx-scp-shmem", "amlogic,meson-gxbb-scp-shmem";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200335 reg = <0x13400 0x400>;
336 };
337 };
338
Neil Armstrong7d750c32018-04-11 17:40:40 +0200339 aobus: bus@c8100000 {
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200340 compatible = "simple-bus";
341 reg = <0x0 0xc8100000 0x0 0x100000>;
342 #address-cells = <2>;
343 #size-cells = <2>;
344 ranges = <0x0 0x0 0x0 0xc8100000 0x0 0x100000>;
345
Neil Armstrong7d750c32018-04-11 17:40:40 +0200346 sysctrl_AO: sys-ctrl@0 {
Loic Devulder8973d812018-11-27 17:41:18 +0100347 compatible = "amlogic,meson-gx-ao-sysctrl", "simple-mfd", "syscon";
Neil Armstrong7d750c32018-04-11 17:40:40 +0200348 reg = <0x0 0x0 0x0 0x100>;
349
350 pwrc_vpu: power-controller-vpu {
351 compatible = "amlogic,meson-gx-pwrc-vpu";
352 #power-domain-cells = <0>;
353 amlogic,hhi-sysctrl = <&sysctrl>;
354 };
355
356 clkc_AO: clock-controller {
357 compatible = "amlogic,meson-gx-aoclkc";
358 #clock-cells = <1>;
359 #reset-cells = <1>;
360 };
361 };
362
363 cec_AO: cec@100 {
364 compatible = "amlogic,meson-gx-ao-cec";
365 reg = <0x0 0x00100 0x0 0x14>;
366 interrupts = <GIC_SPI 199 IRQ_TYPE_EDGE_RISING>;
367 };
368
369 sec_AO: ao-secure@140 {
370 compatible = "amlogic,meson-gx-ao-secure", "syscon";
371 reg = <0x0 0x140 0x0 0x140>;
372 amlogic,has-chip-id;
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200373 };
374
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200375 uart_AO: serial@4c0 {
Neil Armstrong7d750c32018-04-11 17:40:40 +0200376 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
377 reg = <0x0 0x004c0 0x0 0x18>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200378 interrupts = <GIC_SPI 193 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200379 status = "disabled";
380 };
381
382 uart_AO_B: serial@4e0 {
Neil Armstrong7d750c32018-04-11 17:40:40 +0200383 compatible = "amlogic,meson-gx-uart", "amlogic,meson-ao-uart";
384 reg = <0x0 0x004e0 0x0 0x18>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200385 interrupts = <GIC_SPI 197 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200386 status = "disabled";
387 };
388
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200389 i2c_AO: i2c@500 {
390 compatible = "amlogic,meson-gx-i2c", "amlogic,meson-gxbb-i2c";
391 reg = <0x0 0x500 0x0 0x20>;
392 interrupts = <GIC_SPI 195 IRQ_TYPE_EDGE_RISING>;
393 #address-cells = <1>;
394 #size-cells = <0>;
395 status = "disabled";
396 };
397
398 pwm_AO_ab: pwm@550 {
Neil Armstrong48622152017-10-12 15:50:30 +0200399 compatible = "amlogic,meson-gx-ao-pwm", "amlogic,meson-gxbb-ao-pwm";
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200400 reg = <0x0 0x00550 0x0 0x10>;
401 #pwm-cells = <3>;
402 status = "disabled";
403 };
404
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200405 ir: ir@580 {
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200406 compatible = "amlogic,meson-gx-ir", "amlogic,meson-gxbb-ir";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200407 reg = <0x0 0x00580 0x0 0x40>;
408 interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
409 status = "disabled";
410 };
411 };
412
413 periphs: periphs@c8834000 {
414 compatible = "simple-bus";
415 reg = <0x0 0xc8834000 0x0 0x2000>;
416 #address-cells = <2>;
417 #size-cells = <2>;
418 ranges = <0x0 0x0 0x0 0xc8834000 0x0 0x2000>;
419
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200420 hwrng: rng {
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200421 compatible = "amlogic,meson-rng";
422 reg = <0x0 0x0 0x0 0x4>;
423 };
424 };
425
Loic Devulder8973d812018-11-27 17:41:18 +0100426 dmcbus: bus@c8838000 {
427 compatible = "simple-bus";
428 reg = <0x0 0xc8838000 0x0 0x400>;
429 #address-cells = <2>;
430 #size-cells = <2>;
431 ranges = <0x0 0x0 0x0 0xc8838000 0x0 0x400>;
432
433 canvas: video-lut@48 {
434 compatible = "amlogic,canvas";
435 reg = <0x0 0x48 0x0 0x14>;
436 };
437 };
438
Neil Armstrong7d750c32018-04-11 17:40:40 +0200439 hiubus: bus@c883c000 {
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200440 compatible = "simple-bus";
441 reg = <0x0 0xc883c000 0x0 0x2000>;
442 #address-cells = <2>;
443 #size-cells = <2>;
444 ranges = <0x0 0x0 0x0 0xc883c000 0x0 0x2000>;
445
Neil Armstrong7d750c32018-04-11 17:40:40 +0200446 sysctrl: system-controller@0 {
Loic Devulder8973d812018-11-27 17:41:18 +0100447 compatible = "amlogic,meson-gx-hhi-sysctrl", "simple-mfd", "syscon";
Neil Armstrong7d750c32018-04-11 17:40:40 +0200448 reg = <0 0 0 0x400>;
449 };
450
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200451 mailbox: mailbox@404 {
452 compatible = "amlogic,meson-gx-mhu", "amlogic,meson-gxbb-mhu";
453 reg = <0 0x404 0 0x4c>;
Neil Armstrong7d750c32018-04-11 17:40:40 +0200454 interrupts = <GIC_SPI 208 IRQ_TYPE_EDGE_RISING>,
455 <GIC_SPI 209 IRQ_TYPE_EDGE_RISING>,
456 <GIC_SPI 210 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200457 #mbox-cells = <1>;
458 };
459 };
460
461 ethmac: ethernet@c9410000 {
462 compatible = "amlogic,meson-gx-dwmac", "amlogic,meson-gxbb-dwmac", "snps,dwmac";
463 reg = <0x0 0xc9410000 0x0 0x10000
464 0x0 0xc8834540 0x0 0x4>;
Neil Armstrong7d750c32018-04-11 17:40:40 +0200465 interrupts = <GIC_SPI 8 IRQ_TYPE_EDGE_RISING>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200466 interrupt-names = "macirq";
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200467 status = "disabled";
468 };
469
470 apb: apb@d0000000 {
471 compatible = "simple-bus";
472 reg = <0x0 0xd0000000 0x0 0x200000>;
473 #address-cells = <2>;
474 #size-cells = <2>;
475 ranges = <0x0 0x0 0x0 0xd0000000 0x0 0x200000>;
476
477 sd_emmc_a: mmc@70000 {
478 compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
Loic Devulder8973d812018-11-27 17:41:18 +0100479 reg = <0x0 0x70000 0x0 0x800>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200480 interrupts = <GIC_SPI 216 IRQ_TYPE_EDGE_RISING>;
481 status = "disabled";
482 };
483
484 sd_emmc_b: mmc@72000 {
485 compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
Loic Devulder8973d812018-11-27 17:41:18 +0100486 reg = <0x0 0x72000 0x0 0x800>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200487 interrupts = <GIC_SPI 217 IRQ_TYPE_EDGE_RISING>;
488 status = "disabled";
489 };
490
491 sd_emmc_c: mmc@74000 {
492 compatible = "amlogic,meson-gx-mmc", "amlogic,meson-gxbb-mmc";
Loic Devulder8973d812018-11-27 17:41:18 +0100493 reg = <0x0 0x74000 0x0 0x800>;
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200494 interrupts = <GIC_SPI 218 IRQ_TYPE_EDGE_RISING>;
495 status = "disabled";
496 };
497 };
498
499 vpu: vpu@d0100000 {
500 compatible = "amlogic,meson-gx-vpu";
501 reg = <0x0 0xd0100000 0x0 0x100000>,
502 <0x0 0xc883c000 0x0 0x1000>,
503 <0x0 0xc8838000 0x0 0x1000>;
504 reg-names = "vpu", "hhi", "dmc";
505 interrupts = <GIC_SPI 3 IRQ_TYPE_EDGE_RISING>;
506 #address-cells = <1>;
507 #size-cells = <0>;
508
509 /* CVBS VDAC output port */
510 cvbs_vdac_port: port@0 {
511 reg = <0>;
512 };
Beniamino Galvani4a63a752017-07-10 00:30:03 +0200513
514 /* HDMI-TX output port */
515 hdmi_tx_port: port@1 {
516 reg = <1>;
517
518 hdmi_tx_out: endpoint {
519 remote-endpoint = <&hdmi_tx_in>;
520 };
521 };
522 };
523
524 hdmi_tx: hdmi-tx@c883a000 {
525 compatible = "amlogic,meson-gx-dw-hdmi";
526 reg = <0x0 0xc883a000 0x0 0x1c>;
527 interrupts = <GIC_SPI 57 IRQ_TYPE_EDGE_RISING>;
528 #address-cells = <1>;
529 #size-cells = <0>;
530 status = "disabled";
531
532 /* VPU VENC Input */
533 hdmi_tx_venc_port: port@0 {
534 reg = <0>;
535
536 hdmi_tx_in: endpoint {
537 remote-endpoint = <&hdmi_tx_out>;
538 };
539 };
540
541 /* TMDS Output */
542 hdmi_tx_tmds_port: port@1 {
543 reg = <1>;
544 };
Heiner Kallweita3b02a12017-04-12 20:28:36 +0200545 };
546 };
547};