0001 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
0002 /*
0003 * Device Tree file for MikroTik CRS326-24G-2S+ Bit board
0004 *
0005 * Copyright (C) 2020 Sartura Ltd.
0006 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
0007 */
0008
0009 #include "armada-xp-crs326-24g-2s.dtsi"
0010
0011 / {
0012 model = "MikroTik CRS326-24G-2S+ Bit";
0013 };
0014
0015 &spi0 {
0016 status = "okay";
0017
0018 flash@0 {
0019 #address-cells = <1>;
0020 #size-cells = <1>;
0021 compatible = "jedec,spi-nor";
0022 reg = <0>; /* Chip select 0 */
0023 spi-max-frequency = <108000000>;
0024 m25p,fast-read;
0025
0026 partition@u-boot {
0027 reg = <0x00000000 0x001f0000>;
0028 label = "u-boot";
0029 };
0030 partition@u-boot-env {
0031 reg = <0x001f0000 0x00010000>;
0032 label = "u-boot-env";
0033 };
0034 partition@ubi1 {
0035 reg = <0x00200000 0x03f00000>;
0036 label = "ubi1";
0037 };
0038 partition@ubi2 {
0039 reg = <0x04100000 0x03f00000>;
0040 label = "ubi2";
0041 };
0042 };
0043 };