ramips: add support for ELECOM WRC-2533GHBK2-T
[openwrt/openwrt.git] / target / linux / ramips / dts / mt7621_elecom_wrc-2533ghbk2-t.dts
diff --git a/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk2-t.dts b/target/linux/ramips/dts/mt7621_elecom_wrc-2533ghbk2-t.dts
new file mode 100644 (file)
index 0000000..f17c2c7
--- /dev/null
@@ -0,0 +1,40 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "mt7621_elecom_wrc-2533ghbk.dtsi"
+
+/ {
+       compatible = "elecom,wrc-2533ghbk2-t", "mediatek,mt7621-soc";
+       model = "ELECOM WRC-2533GHBK2-T";
+};
+
+&partitions {
+       partition@50000 {
+               compatible = "denx,uimage";
+               label = "firmware";
+               reg = <0x50000 0x7a0000>;
+       };
+
+       partition@7f0000 {
+               label = "TM_1";
+               reg = <0x7f0000 0x200000>;
+               read-only;
+       };
+
+       partition@9f0000 {
+               label = "TM_2";
+               reg = <0x9f0000 0x400000>;
+               read-only;
+       };
+
+       partition@df0000 {
+               label = "manufacture";
+               reg = <0xdf0000 0x190000>;
+               read-only;
+       };
+
+       partition@f80000 {
+               label = "storage";
+               reg = <0xf80000 0x80000>;
+               read-only;
+       };
+};