2 * Device Tree file for DB-DXBC2 board
4 * Copyright (C) 2016 Allied Telesis Labs
6 * Based on armada-xp-db.dts
8 * This file is dual-licensed: you can use it either under the terms
9 * of the GPL or the X11 license, at your option. Note that this dual
10 * licensing only applies to this file, and not this project as a
13 * a) This file is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of the
16 * License, or (at your option) any later version.
18 * This file is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
25 * b) Permission is hereby granted, free of charge, to any person
26 * obtaining a copy of this software and associated documentation
27 * files (the "Software"), to deal in the Software without
28 * restriction, including without limitation the rights to use,
29 * copy, modify, merge, publish, distribute, sublicense, and/or
30 * sell copies of the Software, and to permit persons to whom the
31 * Software is furnished to do so, subject to the following
34 * The above copyright notice and this permission notice shall be
35 * included in all copies or substantial portions of the Software.
37 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
38 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
39 * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
40 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
42 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 * OTHER DEALINGS IN THE SOFTWARE.
46 * Note: this Device Tree assumes that the bootloader has remapped the
47 * internal registers to 0xf1000000 (instead of the default
48 * 0xd0000000). The 0xf1000000 is the default used by the recent,
49 * DT-capable, U-Boot bootloaders provided by Marvell. Some earlier
50 * boards were delivered with an older version of the bootloader that
51 * left internal registers mapped at 0xd0000000. If you are in this
52 * situation, you should either update your bootloader (preferred
53 * solution) or the below Device Tree should be adjusted.
57 #include "armada-xp-98dx4251.dtsi"
60 model = "Marvell Bobcat2 Evaluation Board";
61 compatible = "marvell,db-dxbc2", "marvell,armadaxp-98dx4251", "marvell,armada-370-xp";
64 bootargs = "console=ttyS0,115200 earlyprintk";
68 device_type = "memory";
69 reg = <0 0x00000000 0 0x20000000>; /* 512 MB */
77 /* Device Bus parameters are required */
80 devbus,bus-width = <16>;
81 devbus,turn-off-ps = <60000>;
82 devbus,badr-skew-ps = <0>;
83 devbus,acc-first-ps = <124000>;
84 devbus,acc-next-ps = <248000>;
85 devbus,rd-setup-ps = <0>;
86 devbus,rd-hold-ps = <0>;
88 /* Write parameters */
89 devbus,sync-enable = <0>;
90 devbus,wr-high-ps = <60000>;
91 devbus,wr-low-ps = <60000>;
92 devbus,ale-wr-ps = <60000>;
96 clock-frequency = <100000>;
111 marvell,nand-keep-config;
112 marvell,nand-enable-arbiter;
114 nand-ecc-strength = <4>;
115 nand-ecc-step-size = <512>;
119 pinctrl-0 = <&sdio_pins>;
120 pinctrl-names = "default";
122 /* No CD or WP GPIOs */
130 #address-cells = <1>;
132 compatible = "m25p64";
133 reg = <0>; /* Chip select 0 */
134 spi-max-frequency = <20000000>;
138 reg = <0x00000000 0x00100000>;
141 partition@u-boot-env {
142 reg = <0x00100000 0x00040000>;
143 label = "u-boot-env";
146 reg = <0x00140000 0x00ec0000>;