ramips: add mt76x0 node to RT-AC51U device tree
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Tue, 30 Oct 2018 22:28:03 +0000 (23:28 +0100)
committerJohn Crispin <john@phrozen.org>
Mon, 26 Nov 2018 11:05:47 +0000 (12:05 +0100)
Introduce mt76x0e device tree node in RT-AC51U dts.
Define mt76x0e mtd partition and offset

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
target/linux/ramips/dts/RT-AC51U.dts

index 6bed8446e500e65dcd27efd36565795305c0e606..683f17bb75b9fdb84d298e004ee95b04772d202f 100644 (file)
                };
        };
 };
+
+&pcie {
+       status = "okay";
+};
+
+&pcie0 {
+       wifi@0,0 {
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x8000>;
+       };
+};