1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree Include file for Marvell 98dx3236 family SoC
5 * Copyright (C) 2016 Allied Telesis Labs
7 * Contains definitions specific to the 98dx3236 SoC that are not
8 * common to all Armada XP SoCs.
11 #include "armada-370-xp.dtsi"
17 model = "Marvell 98DX3236 SoC";
18 compatible = "marvell,armadaxp-98dx3236", "marvell,armada-370-xp";
29 enable-method = "marvell,98dx3236-smp";
33 compatible = "marvell,sheeva-v7";
36 clock-latency = <1000000>;
41 compatible = "marvell,armadaxp-mbus", "simple-bus";
43 ranges = <MBUS_ID(0xf0, 0x01) 0 0 0xf1000000 0x100000
44 MBUS_ID(0x01, 0x1d) 0 0 0xfff00000 0x100000
45 MBUS_ID(0x01, 0x2f) 0 0 0xf0000000 0x1000000
46 MBUS_ID(0x03, 0x00) 0 0 0xa8000000 0x4000000
47 MBUS_ID(0x08, 0x00) 0 0 0xac000000 0x100000>;
50 compatible = "marvell,bootrom";
51 reg = <MBUS_ID(0x01, 0x1d) 0 0x100000>;
55 * 98DX3236 has 1 x1 PCIe unit Gen2.0
57 pciec: pcie@82000000 {
58 compatible = "marvell,armada-xp-pcie";
66 bus-range = <0x00 0xff>;
69 <0x82000000 0 0x40000 MBUS_ID(0xf0, 0x01) 0x40000 0 0x00002000 /* Port 0.0 registers */
70 0x82000000 0x1 0 MBUS_ID(0x04, 0xe8) 0 1 0 /* Port 0.0 MEM */
71 0x81000000 0x1 0 MBUS_ID(0x04, 0xe0) 0 1 0 /* Port 0.0 IO */>;
75 assigned-addresses = <0x82000800 0 0x40000 0 0x2000>;
76 reg = <0x0800 0 0 0 0>;
79 #interrupt-cells = <1>;
80 ranges = <0x82000000 0 0 0x82000000 0x1 0 1 0
81 0x81000000 0 0 0x81000000 0x1 0 1 0>;
82 bus-range = <0x00 0xff>;
83 interrupt-map-mask = <0 0 0 0>;
84 interrupt-map = <0 0 0 0 &mpic 58>;
85 marvell,pcie-port = <0>;
86 marvell,pcie-lane = <0>;
87 clocks = <&gateclk 5>;
94 compatible = "marvell,armada-xp-sdram-controller";
99 compatible = "marvell,aurora-system-cache";
100 reg = <0x08000 0x1000>;
101 cache-id-part = <0x100>;
108 compatible = "marvell,orion-gpio";
109 reg = <0x18100 0x40>;
113 interrupt-controller;
114 #interrupt-cells = <2>;
115 interrupts = <82>, <83>, <84>, <85>;
120 compatible = "marvell,orion-gpio";
121 reg = <0x18140 0x40>;
125 gpio2: gpio@18180 { /* rework some properties */
126 compatible = "marvell,orion-gpio";
127 reg = <0x18180 0x40>;
128 ngpios = <1>; /* only gpio #32 */
131 interrupt-controller;
132 #interrupt-cells = <2>;
136 systemc: system-controller@18200 {
137 compatible = "marvell,armada-370-xp-system-controller";
138 reg = <0x18200 0x500>;
141 gateclk: clock-gating-control@18220 {
142 compatible = "marvell,mv98dx3236-gating-clock";
144 clocks = <&coreclk 0>;
148 cpuclk: clock-complex@18700 {
150 compatible = "marvell,mv98dx3236-cpu-clock";
151 reg = <0x18700 0x24>, <0x1c054 0x10>;
152 clocks = <&coreclk 1>;
155 corediv-clock@18740 {
160 compatible = "marvell,armada-xp-cpu-config";
165 compatible = "marvell,armada-xp-neta";
169 compatible = "marvell,armada-xp-neta";
173 compatible = "marvell,orion-xor";
176 clocks = <&gateclk 22>;
193 clocks = <&dfx_coredivclk 0>;
197 compatible = "marvell,orion-xor";
200 clocks = <&gateclk 28>;
217 dfx: dfx-server@ac000000 {
218 compatible = "marvell,dfx-server", "simple-bus";
219 #address-cells = <1>;
221 ranges = <0 MBUS_ID(0x08, 0x00) 0 0x100000>;
222 reg = <MBUS_ID(0x08, 0x00) 0 0x100000>;
224 coreclk: mvebu-sar@f8204 {
225 compatible = "marvell,mv98dx3236-core-clock";
230 dfx_coredivclk: corediv-clock@f8268 {
231 compatible = "marvell,mv98dx3236-corediv-clock";
235 clock-output-names = "nand";
239 switch: switch@a8000000 {
240 compatible = "simple-bus";
241 #address-cells = <1>;
243 ranges = <0 MBUS_ID(0x03, 0x00) 0 0x100000>;
245 pp0: packet-processor@0 {
246 compatible = "marvell,prestera-98dx3236";
248 interrupts = <33>, <34>, <35>;
255 /* 25 MHz reference crystal */
257 compatible = "fixed-clock";
259 clock-frequency = <25000000>;
265 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
266 reg = <0x11000 0x100>;
270 compatible = "marvell,mv78230-i2c", "marvell,mv64xxx-i2c";
271 reg = <0x11100 0x100>;
275 reg = <0x20a00 0x2d0>, <0x21070 0x58>;
283 compatible = "marvell,armada-xp-timer";
284 clocks = <&coreclk 2>, <&refclk>;
285 clock-names = "nbclk", "fixed";
289 compatible = "marvell,armada-xp-wdt";
290 clocks = <&coreclk 2>, <&refclk>;
291 clock-names = "nbclk", "fixed";
295 reg = <0x20800 0x20>;
299 clocks = <&gateclk 18>;
303 clocks = <&gateclk 19>;
307 compatible = "marvell,98dx3236-pinctrl";
309 spi0_pins: spi0-pins {
310 marvell,pins = "mpp0", "mpp1",
312 marvell,function = "spi0";
317 compatible = "marvell,armada-xp-spi", "marvell,orion-spi";
318 pinctrl-0 = <&spi0_pins>;
319 pinctrl-names = "default";