1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for CRS326-24G-2S board
5 * Copyright (C) 2016 Allied Telesis Labs
6 * Copyright (C) 2020 Sartura Ltd.
8 * Based on armada-xp-db.dts
10 * Note: this Device Tree assumes that the bootloader has remapped the
11 * internal registers to 0xf1000000 (instead of the default
12 * 0xd0000000). The 0xf1000000 is the default used by the recent,
13 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
14 * boards were delivered with an older version of the bootloader that
15 * left internal registers mapped at 0xd0000000. If you are in this
16 * situation, you should either update your bootloader (preferred
17 * solution) or the below Device Tree should be adjusted.
21 #include "armada-xp-98dx3236.dtsi"
24 model = "CRS326-24G-2S+";
25 compatible = "mikrotik,crs326-24g-2s", "marvell,armadaxp-98dx3236", "marvell,armada-370-xp";
28 bootargs = "console=ttyS0,115200 earlyprintk";
32 device_type = "memory";
33 reg = <0 0x00000000 0 0x20000000>; /* 512 MB */
45 /* Device Bus parameters are required */
48 devbus,bus-width = <16>;
49 devbus,turn-off-ps = <60000>;
50 devbus,badr-skew-ps = <0>;
51 devbus,acc-first-ps = <124000>;
52 devbus,acc-next-ps = <248000>;
53 devbus,rd-setup-ps = <0>;
54 devbus,rd-hold-ps = <0>;
56 /* Write parameters */
57 devbus,sync-enable = <0>;
58 devbus,wr-high-ps = <60000>;
59 devbus,wr-low-ps = <60000>;
60 devbus,ale-wr-ps = <60000>;
72 clock-frequency = <100000>;
86 compatible = "jedec,spi-nor";
87 reg = <0>; /* Chip select 0 */
88 spi-max-frequency = <108000000>;
92 reg = <0x00000000 0x001f0000>;
95 partition@u-boot-env {
96 reg = <0x001f0000 0x00010000>;
100 reg = <0x00200000 0x00e00000>;