ramips: add support for Rostelecom RT-SF-1
[openwrt/staging/hauke.git] / target / linux / ramips / dts / mt7621_rostelecom_rt-sf-1.dts
diff --git a/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts b/target/linux/ramips/dts/mt7621_rostelecom_rt-sf-1.dts
new file mode 100644 (file)
index 0000000..c476cf9
--- /dev/null
@@ -0,0 +1,30 @@
+// SPDX-License-Identifier: GPL-2.0-or-later OR MIT
+
+#include "mt7621_sercomm_dxx_nand_256m.dtsi"
+
+/ {
+       compatible = "rostelecom,rt-sf-1", "mediatek,mt7621-soc";
+       model = "Rostelecom RT-SF-1";
+};
+
+&pcie0 {
+       wifi@0,0 {
+               nvmem-cells = <&macaddr_factory_21000>;
+               nvmem-cell-names = "mac-address";
+               mac-address-increment = <(3)>;
+       };
+};
+
+&pcie1 {
+       wifi@0,0 {
+               nvmem-cells = <&macaddr_factory_21000>;
+               nvmem-cell-names = "mac-address";
+               mac-address-increment = <(2)>;
+       };
+};
+
+&gmac1 {
+       nvmem-cells = <&macaddr_factory_21000>;
+       nvmem-cell-names = "mac-address";
+       mac-address-increment = <(11)>;
+};