diff mbox series

[OpenWrt-Devel,v2] ramips: add mt76x0 node to RT-AC51U device tree

Message ID c764d3fc668e6627694874f5b61c0a6deaca7263.1540938061.git.lorenzo.bianconi@redhat.com
State Accepted
Delegated to: John Crispin
Headers show
Series [OpenWrt-Devel,v2] ramips: add mt76x0 node to RT-AC51U device tree | expand

Commit Message

Lorenzo Bianconi Oct. 30, 2018, 10:28 p.m. UTC
From: Lorenzo Bianconi <me@lorenzobianconi.net>

Introduce mt76x0e device tree node in RT-AC51U dts.
Define mt76x0e mtd partition and offset

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
---
Changes since v1:
- fix mt76 device tree node name
---
 target/linux/ramips/dts/RT-AC51U.dts | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox series

Patch

diff --git a/target/linux/ramips/dts/RT-AC51U.dts b/target/linux/ramips/dts/RT-AC51U.dts
index 6bed8446e5..683f17bb75 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 {
+	wifi@0,0 {
+		reg = <0x0000 0 0 0 0>;
+		mediatek,mtd-eeprom = <&factory 0x8000>;
+	};
+};