blob: d684c895ff329052b73a6492a855f6c08ab210d4 [file] [log] [blame]
Luka Kovacic537eaf42020-07-23 10:56:38 +02001// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for MikroTik CRS328-4C-20S-4S+ Bit board
4 *
5 * Copyright (C) 2020 Sartura Ltd.
6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
7 */
8
9#include "armada-xp-crs328-4c-20s-4s.dtsi"
10
11/ {
12 model = "MikroTik CRS328-4C-20S-4S+ Bit";
13};
14
15&spi0 {
16 status = "okay";
17
18 spi-flash@0 {
19 #address-cells = <1>;
20 #size-cells = <1>;
21 compatible = "spi-flash", "jedec,spi-nor";
22 reg = <0>; /* Chip select 0 */
23 spi-max-frequency = <108000000>;
24 m25p,fast-read;
25
26 partition@u-boot {
27 reg = <0x00000000 0x001f0000>;
28 label = "u-boot";
29 };
30 partition@u-boot-env {
31 reg = <0x001f0000 0x00010000>;
32 label = "u-boot-env";
33 };
34 partition@ubi1 {
35 reg = <0x00200000 0x03f00000>;
36 label = "ubi1";
37 };
38 partition@ubi2 {
39 reg = <0x04100000 0x03f00000>;
40 label = "ubi2";
41 };
42 };
43};