summaryrefslogtreecommitdiffstats
path: root/dts/src/arm/armada-xp-crs305-1g-4s-bit.dts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2021-01-19 05:41:43 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-01-19 05:41:43 +0100
commita0633c4cbc3c06c4e6de0505e02a9585020b3497 (patch)
tree3784abccebad9a596bd3eac3f72d883d97ba6714 /dts/src/arm/armada-xp-crs305-1g-4s-bit.dts
parentd595653acba82fde36f67c86b88109decd09ddab (diff)
parent89b195969ec4dd07c7a8dfbd2f3f1eb83ead4c16 (diff)
downloadbarebox-a0633c4cbc3c06c4e6de0505e02a9585020b3497.tar.gz
barebox-a0633c4cbc3c06c4e6de0505e02a9585020b3497.tar.xz
Merge branch 'for-next/dts'
Diffstat (limited to 'dts/src/arm/armada-xp-crs305-1g-4s-bit.dts')
-rw-r--r--dts/src/arm/armada-xp-crs305-1g-4s-bit.dts43
1 files changed, 43 insertions, 0 deletions
diff --git a/dts/src/arm/armada-xp-crs305-1g-4s-bit.dts b/dts/src/arm/armada-xp-crs305-1g-4s-bit.dts
new file mode 100644
index 0000000000..a022c68dc9
--- /dev/null
+++ b/dts/src/arm/armada-xp-crs305-1g-4s-bit.dts
@@ -0,0 +1,43 @@
+// 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 = "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";
+ };
+ };
+};