[openwrt/openwrt] ramips: fix dtc warnings for telco-electronics_x1

LEDE Commits lede-commits at lists.infradead.org
Sun Oct 17 06:50:25 PDT 2021


adrian pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/5b3d62247c97b620424e137d02ee5b4d72b584aa

commit 5b3d62247c97b620424e137d02ee5b4d72b584aa
Author: Rosen Penev <rosenp at gmail.com>
AuthorDate: Thu Oct 14 19:15:49 2021 -0700

    ramips: fix dtc warnings for telco-electronics_x1
    
    In all other dts files, the entire block is not edited like this.
    They're edited separately.
    
    Signed-off-by: Rosen Penev <rosenp at gmail.com>
---
 .../ramips/dts/mt7621_telco-electronics_x1.dts     | 33 +++++++++++-----------
 1 file changed, 17 insertions(+), 16 deletions(-)

diff --git a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
index 51c1d868cb..ce700e0c2b 100644
--- a/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
+++ b/target/linux/ramips/dts/mt7621_telco-electronics_x1.dts
@@ -166,25 +166,26 @@
 
 &pcie {
 	status = "okay";
+};
 
-	pcie0 {
-		wifi at 0,0 {
-			compatible = "pci14c3,7603";
-			reg = <0x0000 0 0 0 0>;
-			mediatek,mtd-eeprom = <&factory 0x0000>;
-			ieee80211-freq-limit = <2400000 2500000>;
-		};
+&pcie0 {
+	wifi at 0,0 {
+		compatible = "pci14c3,7603";
+		reg = <0x0000 0 0 0 0>;
+		mediatek,mtd-eeprom = <&factory 0x0000>;
+		ieee80211-freq-limit = <2400000 2500000>;
 	};
+};
 
-	pcie1 {
-		wifi at 0,0 {
-			compatible = "pci14c3,7662";
-			reg = <0x0000 0 0 0 0>;
-			mediatek,mtd-eeprom = <&factory 0x8000>;
-			ieee80211-freq-limit = <5000000 6000000>;
-			led {
-				led-sources = <2>;
-			};
+&pcie1 {
+	wifi at 0,0 {
+		compatible = "pci14c3,7662";
+		reg = <0x0000 0 0 0 0>;
+		mediatek,mtd-eeprom = <&factory 0x8000>;
+		ieee80211-freq-limit = <5000000 6000000>;
+
+		led {
+			led-sources = <2>;
 		};
 	};
 };



More information about the lede-commits mailing list