1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Copyright (c) 2019 Amlogic, Inc. All rights reserved.
6 #include <dt-bindings/interrupt-controller/irq.h>
7 #include <dt-bindings/interrupt-controller/arm-gic.h>
8 #include <dt-bindings/gpio/meson-a1-gpio.h>
11 compatible = "amlogic,a1";
13 interrupt-parent = <&gic>;
23 compatible = "arm,cortex-a35";
25 enable-method = "psci";
26 next-level-cache = <&l2>;
31 compatible = "arm,cortex-a35";
33 enable-method = "psci";
34 next-level-cache = <&l2>;
43 compatible = "arm,psci-1.0";
53 compatible = "shared-dma-pool";
55 size = <0x0 0x800000>;
56 alignment = <0x0 0x400000>;
62 compatible = "amlogic,meson-gxbb-sm";
64 pwrc: power-controller {
65 compatible = "amlogic,meson-a1-pwrc";
66 #power-domain-cells = <1>;
72 compatible = "simple-bus";
78 compatible = "simple-bus";
79 reg = <0x0 0xfe000000 0x0 0x1000000>;
82 ranges = <0x0 0x0 0x0 0xfe000000 0x0 0x1000000>;
85 reset: reset-controller@0 {
86 compatible = "amlogic,meson-a1-reset";
87 reg = <0x0 0x0 0x0 0x8c>;
91 periphs_pinctrl: pinctrl@0400 {
92 compatible = "amlogic,meson-a1-periphs-pinctrl";
98 reg = <0x0 0x0400 0x0 0x003c>,
99 <0x0 0x0480 0x0 0x0118>;
100 reg-names = "mux", "gpio";
103 gpio-ranges = <&periphs_pinctrl 0 0 62>;
108 uart_AO: serial@1c00 {
109 compatible = "amlogic,meson-gx-uart",
110 "amlogic,meson-ao-uart";
111 reg = <0x0 0x1c00 0x0 0x18>;
112 interrupts = <GIC_SPI 25 IRQ_TYPE_EDGE_RISING>;
113 clocks = <&xtal>, <&xtal>, <&xtal>;
114 clock-names = "xtal", "pclk", "baud";
118 uart_AO_B: serial@2000 {
119 compatible = "amlogic,meson-gx-uart",
120 "amlogic,meson-ao-uart";
121 reg = <0x0 0x2000 0x0 0x18>;
122 interrupts = <GIC_SPI 26 IRQ_TYPE_EDGE_RISING>;
123 clocks = <&xtal>, <&xtal>, <&xtal>;
124 clock-names = "xtal", "pclk", "baud";
129 gic: interrupt-controller@ff901000 {
130 compatible = "arm,gic-400";
131 reg = <0x0 0xff901000 0x0 0x1000>,
132 <0x0 0xff902000 0x0 0x2000>,
133 <0x0 0xff904000 0x0 0x2000>,
134 <0x0 0xff906000 0x0 0x2000>;
135 interrupt-controller;
136 interrupts = <GIC_PPI 9
137 (GIC_CPU_MASK_SIMPLE(8) | IRQ_TYPE_LEVEL_HIGH)>;
138 #interrupt-cells = <3>;
139 #address-cells = <0>;
144 compatible = "arm,armv8-timer";
145 interrupts = <GIC_PPI 13
146 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
148 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
150 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>,
152 (GIC_CPU_MASK_RAW(0xff) | IRQ_TYPE_LEVEL_LOW)>;
156 compatible = "fixed-clock";
157 clock-frequency = <24000000>;
158 clock-output-names = "xtal";