1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2020 Marvell International Ltd.
8 * Device Tree file for Marvell Armada AP806/AP807.
11 #include <dt-bindings/interrupt-controller/arm-gic.h>
16 compatible = "marvell,armada-ap806";
26 compatible = "arm,psci-0.2";
36 reg = <0x0 0x4000000 0x0 0x200000>;
44 compatible = "simple-bus";
45 interrupt-parent = <&gic>;
51 compatible = "simple-bus";
52 ranges = <0x0 0x0 0xf0000000 0x1000000>;
54 gic: interrupt-controller@210000 {
55 compatible = "arm,gic-400";
56 #interrupt-cells = <3>;
61 interrupts = <GIC_PPI 9 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_LEVEL_HIGH)>;
62 reg = <0x210000 0x10000>,
67 gic_v2m0: v2m@280000 {
68 compatible = "arm,gic-v2m-frame";
70 reg = <0x280000 0x1000>;
71 arm,msi-base-spi = <160>;
72 arm,msi-num-spis = <32>;
74 gic_v2m1: v2m@290000 {
75 compatible = "arm,gic-v2m-frame";
77 reg = <0x290000 0x1000>;
78 arm,msi-base-spi = <192>;
79 arm,msi-num-spis = <32>;
81 gic_v2m2: v2m@2a0000 {
82 compatible = "arm,gic-v2m-frame";
84 reg = <0x2a0000 0x1000>;
85 arm,msi-base-spi = <224>;
86 arm,msi-num-spis = <32>;
88 gic_v2m3: v2m@2b0000 {
89 compatible = "arm,gic-v2m-frame";
91 reg = <0x2b0000 0x1000>;
92 arm,msi-base-spi = <256>;
93 arm,msi-num-spis = <32>;
98 compatible = "arm,armv8-timer";
99 interrupts = <GIC_PPI 13 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>,
100 <GIC_PPI 14 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>,
101 <GIC_PPI 11 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>,
102 <GIC_PPI 10 (GIC_CPU_MASK_SIMPLE(4) | IRQ_TYPE_EDGE_RISING)>;
106 compatible = "marvell,odmi-controller";
107 interrupt-controller;
109 marvell,odmi-frames = <4>;
110 reg = <0x300000 0x4000>,
114 marvell,spi-base = <128>, <136>, <144>, <152>;
117 ap_pinctl: ap-pinctl@6F4000 {
118 compatible = "marvell,ap806-pinctrl";
119 bank-name ="apn-806";
120 reg = <0x6F4000 0x10>;
124 ap_i2c0_pins: i2c-pins-0 {
125 marvell,pins = < 4 5 >;
126 marvell,function = <3>;
128 ap_emmc_pins: emmc-pins-0 {
129 marvell,pins = < 0 1 2 3 4 5 6 7
131 marvell,function = <1>;
135 ap_gpio0: gpio@6F5040 {
136 compatible = "marvell,orion-gpio";
137 reg = <0x6F5040 0x40>;
143 ap_spi0: spi@510600 {
144 compatible = "marvell,armada-380-spi";
145 reg = <0x510600 0x50>;
146 #address-cells = <1>;
149 interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
150 clocks = <&ap_syscon 3>;
154 ap_i2c0: i2c@511000 {
155 compatible = "marvell,mv78230-i2c";
156 reg = <0x511000 0x20>;
157 #address-cells = <1>;
159 interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
161 clocks = <&ap_syscon 3>;
165 uart0: serial@512000 {
166 compatible = "snps,dw-apb-uart";
167 reg = <0x512000 0x100>;
169 interrupts = <GIC_SPI 19 IRQ_TYPE_LEVEL_HIGH>;
171 clocks = <&ap_syscon 3>;
173 clock-frequency = <200000000>;
176 uart1: serial@512100 {
177 compatible = "snps,dw-apb-uart";
178 reg = <0x512100 0x100>;
180 interrupts = <GIC_SPI 29 IRQ_TYPE_LEVEL_HIGH>;
182 clocks = <&ap_syscon 3>;
187 watchdog: watchdog@610000 {
188 compatible = "arm,sbsa-gwdt";
189 reg = <0x610000 0x1000>, <0x600000 0x1000>;
192 ap_sdhci0: sdhci@6e0000 {
193 compatible = "marvell,armada-8k-sdhci";
194 reg = <0x6e0000 0x300>;
195 interrupts = <GIC_SPI 16 IRQ_TYPE_LEVEL_HIGH>;
200 ap_syscon: system-controller@6f4000 {
201 compatible = "marvell,ap806-system-controller",
204 clock-output-names = "ap-cpu-cluster-0",
206 "ap-fixed", "ap-mss";
207 reg = <0x6f4000 0x1000>;