1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
5 * Copyright (C) 2021 Marvell
6 * Copyright (C) 2022 Allied Telesis Labs
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 model = "Marvell AC5 SoC";
14 compatible = "marvell,ac5";
15 interrupt-parent = <&gic>;
36 compatible = "arm,cortex-a55";
38 enable-method = "psci";
39 next-level-cache = <&l2>;
44 compatible = "arm,cortex-a55";
46 enable-method = "psci";
47 next-level-cache = <&l2>;
56 compatible = "arm,psci-0.2";
61 compatible = "arm,armv8-timer";
62 interrupts = <GIC_PPI 9 IRQ_TYPE_LEVEL_HIGH>,
63 <GIC_PPI 8 IRQ_TYPE_LEVEL_HIGH>,
64 <GIC_PPI 10 IRQ_TYPE_LEVEL_HIGH>,
65 <GIC_PPI 7 IRQ_TYPE_LEVEL_HIGH>;
69 compatible = "arm,armv8-pmuv3";
70 interrupts = <GIC_PPI 12 IRQ_TYPE_LEVEL_HIGH>;
74 compatible = "simple-bus";
80 internal-regs@7f000000 {
83 compatible = "simple-bus";
84 /* 16M internal register @ 0x7f00_0000 */
85 ranges = <0x0 0x0 0x7f000000 0x1000000>;
89 compatible = "snps,dw-apb-uart";
90 reg = <0x12000 0x100>;
92 interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
94 clocks = <&cnm_clock>;
99 compatible = "snps,dw-apb-uart";
100 reg = <0x12100 0x100>;
102 interrupts = <GIC_SPI 84 IRQ_TYPE_LEVEL_HIGH>;
104 clocks = <&cnm_clock>;
108 uart2: serial@12200 {
109 compatible = "snps,dw-apb-uart";
110 reg = <0x12200 0x100>;
112 interrupts = <GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>;
114 clocks = <&cnm_clock>;
118 uart3: serial@12300 {
119 compatible = "snps,dw-apb-uart";
120 reg = <0x12300 0x100>;
122 interrupts = <GIC_SPI 86 IRQ_TYPE_LEVEL_HIGH>;
124 clocks = <&cnm_clock>;
129 #address-cells = <1>;
131 compatible = "marvell,orion-mdio";
133 clocks = <&cnm_clock>;
137 compatible = "marvell,mv78230-i2c";
138 reg = <0x11000 0x20>;
139 #address-cells = <1>;
142 clocks = <&cnm_clock>;
143 clock-names = "core";
144 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>;
145 clock-frequency=<100000>;
147 pinctrl-names = "default", "gpio";
148 pinctrl-0 = <&i2c0_pins>;
149 pinctrl-1 = <&i2c0_gpio>;
150 scl-gpios = <&gpio0 26 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
151 sda-gpios = <&gpio0 27 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
156 compatible = "marvell,mv78230-i2c";
157 reg = <0x11100 0x20>;
158 #address-cells = <1>;
161 clocks = <&cnm_clock>;
162 clock-names = "core";
163 interrupts = <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
164 clock-frequency=<100000>;
166 pinctrl-names = "default", "gpio";
167 pinctrl-0 = <&i2c1_pins>;
168 pinctrl-1 = <&i2c1_gpio>;
169 scl-gpios = <&gpio0 20 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
170 sda-gpios = <&gpio0 21 (GPIO_ACTIVE_HIGH | GPIO_OPEN_DRAIN)>;
175 compatible = "marvell,orion-gpio";
176 reg = <0x18100 0x40>;
180 gpio-ranges = <&pinctrl0 0 0 32>;
181 marvell,pwm-offset = <0x1f0>;
182 interrupt-controller;
183 #interrupt-cells = <2>;
184 interrupts = <GIC_SPI 75 IRQ_TYPE_LEVEL_HIGH>,
185 <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
186 <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
187 <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>;
191 reg = <0x18140 0x40>;
192 compatible = "marvell,orion-gpio";
196 gpio-ranges = <&pinctrl0 0 32 14>;
197 marvell,pwm-offset = <0x1f0>;
198 interrupt-controller;
199 #interrupt-cells = <2>;
200 interrupts = <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>,
201 <GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>;
206 * Dedicated section for devices behind 32bit controllers so we
207 * can configure specific DMA mapping for them
209 behind-32bit-controller@7f000000 {
210 compatible = "simple-bus";
211 #address-cells = <0x2>;
213 ranges = <0x0 0x0 0x0 0x7f000000 0x0 0x1000000>;
214 /* Host phy ram starts at 0x200M */
215 dma-ranges = <0x0 0x0 0x2 0x0 0x1 0x0>;
218 eth0: ethernet@20000 {
219 compatible = "marvell,armada-ac5-neta";
220 reg = <0x0 0x20000 0x0 0x4000>;
221 interrupts = <GIC_SPI 45 IRQ_TYPE_LEVEL_HIGH>;
222 clocks = <&cnm_clock>;
227 eth1: ethernet@24000 {
228 compatible = "marvell,armada-ac5-neta";
229 reg = <0x0 0x24000 0x0 0x4000>;
230 interrupts = <GIC_SPI 55 IRQ_TYPE_LEVEL_HIGH>;
231 clocks = <&cnm_clock>;
237 compatible = "marvell,orion-ehci";
238 reg = <0x0 0x80000 0x0 0x500>;
239 interrupts = <GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>;
244 compatible = "marvell,orion-ehci";
245 reg = <0x0 0xa0000 0x0 0x500>;
246 interrupts = <GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>;
251 pinctrl0: pinctrl@80020100 {
252 compatible = "marvell,ac5-pinctrl";
253 reg = <0 0x80020100 0 0x20>;
255 i2c0_pins: i2c0-pins {
256 marvell,pins = "mpp26", "mpp27";
257 marvell,function = "i2c0";
260 i2c0_gpio: i2c0-gpio-pins {
261 marvell,pins = "mpp26", "mpp27";
262 marvell,function = "gpio";
265 i2c1_pins: i2c1-pins {
266 marvell,pins = "mpp20", "mpp21";
267 marvell,function = "i2c1";
270 i2c1_gpio: i2c1-gpio-pins {
271 marvell,pins = "mpp20", "mpp21";
272 marvell,function = "i2c1";
277 compatible = "marvell,armada-3700-spi";
278 reg = <0x0 0x805a0000 0x0 0x50>;
279 #address-cells = <0x1>;
281 clocks = <&spi_clock>;
282 interrupts = <GIC_SPI 90 IRQ_TYPE_LEVEL_HIGH>;
288 compatible = "marvell,armada-3700-spi";
289 reg = <0x0 0x805a8000 0x0 0x50>;
290 #address-cells = <0x1>;
292 clocks = <&spi_clock>;
293 interrupts = <GIC_SPI 91 IRQ_TYPE_LEVEL_HIGH>;
298 gic: interrupt-controller@80600000 {
299 compatible = "arm,gic-v3";
300 #interrupt-cells = <3>;
301 interrupt-controller;
302 reg = <0x0 0x80600000 0x0 0x10000>, /* GICD */
303 <0x0 0x80660000 0x0 0x40000>; /* GICR */
304 interrupts = <GIC_PPI 6 IRQ_TYPE_LEVEL_HIGH>;
309 cnm_clock: cnm-clock {
310 compatible = "fixed-clock";
312 clock-frequency = <328000000>;
315 spi_clock: spi-clock {
316 compatible = "fixed-clock";
318 clock-frequency = <200000000>;