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