xref: /linux/arch/arm/boot/dts/marvell/armada-xp-crs305-1g-4s-bit.dts (revision a8d70602b186f3c347e62c59a418be802b71886d)
1// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2/*
3 * Device Tree file for MikroTik CRS305-1G-4S+ Bit board
4 *
5 * Copyright (C) 2020 Sartura Ltd.
6 * Author: Luka Kovacic <luka.kovacic@sartura.hr>
7 */
8
9#include "armada-xp-crs305-1g-4s.dtsi"
10
11/ {
12	model = "MikroTik CRS305-1G-4S+ Bit";
13};
14
15&spi0 {
16	status = "okay";
17
18	flash@0 {
19		#address-cells = <1>;
20		#size-cells = <1>;
21		compatible = "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};
44