1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Device Tree file for DB-XC3-24G4XG board
5 * Copyright (C) 2016 Allied Telesis Labs
7 * Based on armada-xp-db.dts
9 * Note: this Device Tree assumes that the bootloader has remapped the
10 * internal registers to 0xf1000000 (instead of the default
11 * 0xd0000000). The 0xf1000000 is the default used by the recent,
12 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
13 * boards were delivered with an older version of the bootloader that
14 * left internal registers mapped at 0xd0000000. If you are in this
15 * situation, you should either update your bootloader (preferred
16 * solution) or the below Device Tree should be adjusted.
20 #include "armada-xp-98dx3336.dtsi"
21 #include "armada-xp-db-xc3-24g4xg-u-boot.dtsi"
24 model = "DB-XC3-24G4XG";
25 compatible = "marvell,armadaxp-98dx3336", "marvell,armadaxp-mv78260", "marvell,armadaxp", "marvell,armada-370-xp";
28 stdout-path = "serial0:115200n8";
29 bootargs = "console=ttyS0,115200 earlyprintk";
37 device_type = "memory";
38 reg = <0 0x00000000 0 0x40000000>; /* 1 GB */
50 /* Device Bus parameters are required */
53 devbus,bus-width = <16>;
54 devbus,turn-off-ps = <60000>;
55 devbus,badr-skew-ps = <0>;
56 devbus,acc-first-ps = <124000>;
57 devbus,acc-next-ps = <248000>;
58 devbus,rd-setup-ps = <0>;
59 devbus,rd-hold-ps = <0>;
61 /* Write parameters */
62 devbus,sync-enable = <0>;
63 devbus,wr-high-ps = <60000>;
64 devbus,wr-low-ps = <60000>;
65 devbus,ale-wr-ps = <60000>;
77 clock-frequency = <100000>;
91 compatible = "spi-flash", "jedec,spi-nor";
92 reg = <0>; /* Chip select 0 */
93 spi-max-frequency = <108000000>;
97 reg = <0x00000000 0x00100000>;
100 partition@u-boot-env {
101 reg = <0x00100000 0x00040000>;
102 label = "u-boot-env";
105 reg = <0x00140000 0x00ec0000>;