mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-12-22 19:23:07 +00:00
a263df59be
MikroTik CRS305-1G-4S Bit board has a switch chip with an integrated Marvell Prestera 98DX3236 CPU. The Bit board variant is added, which has a bigger Macronix flash. Add basic U-Boot, UART and Winbond SPI flash support. Signed-off-by: Luka Kovacic <luka.kovacic@sartura.hr> Cc: Luka Perkov <luka.perkov@sartura.hr> Cc: Jakov Petrina <jakov.petrina@sartura.hr> Reviewed-by: Stefan Roese <sr@denx.de>
43 lines
836 B
Text
43 lines
836 B
Text
// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
|
|
/*
|
|
* Device Tree file for MikroTik CRS305-1G-4S+ Bit board
|
|
*
|
|
* Copyright (C) 2020 Sartura Ltd.
|
|
* Author: Luka Kovacic <luka.kovacic@sartura.hr>
|
|
*/
|
|
|
|
#include "armada-xp-crs305-1g-4s.dtsi"
|
|
|
|
/ {
|
|
model = "MikroTik CRS305-1G-4S+ Bit";
|
|
};
|
|
|
|
&spi0 {
|
|
status = "okay";
|
|
|
|
spi-flash@0 {
|
|
#address-cells = <1>;
|
|
#size-cells = <1>;
|
|
compatible = "spi-flash", "jedec,spi-nor";
|
|
reg = <0>; /* Chip select 0 */
|
|
spi-max-frequency = <108000000>;
|
|
m25p,fast-read;
|
|
|
|
partition@u-boot {
|
|
reg = <0x00000000 0x001f0000>;
|
|
label = "u-boot";
|
|
};
|
|
partition@u-boot-env {
|
|
reg = <0x001f0000 0x00010000>;
|
|
label = "u-boot-env";
|
|
};
|
|
partition@ubi1 {
|
|
reg = <0x00200000 0x03f00000>;
|
|
label = "ubi1";
|
|
};
|
|
partition@ubi2 {
|
|
reg = <0x04100000 0x03f00000>;
|
|
label = "ubi2";
|
|
};
|
|
};
|
|
};
|