[OpenWrt-Devel] [PATCH] ramips: add mt76x0 node to RT-AC51U device tree
Lorenzo Bianconi
lorenzo.bianconi at redhat.com
Mon Oct 29 18:30:53 EDT 2018
Introduce mt76x0e device tree node in RT-AC51U dts.
Define mt76x0e mtd partition and offset
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
---
target/linux/ramips/dts/RT-AC51U.dts | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/target/linux/ramips/dts/RT-AC51U.dts b/target/linux/ramips/dts/RT-AC51U.dts
index 6bed8446e5..f6cc36b719 100644
--- a/target/linux/ramips/dts/RT-AC51U.dts
+++ b/target/linux/ramips/dts/RT-AC51U.dts
@@ -135,3 +135,14 @@
};
};
};
+
+&pcie {
+ status = "okay";
+};
+
+&pcie0 {
+ mt76 at 0,0 {
+ reg = <0x0000 0 0 0 0>;
+ mediatek,mtd-eeprom = <&factory 0x8000>;
+ };
+};
--
2.19.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel
More information about the openwrt-devel
mailing list