ramips: fix dtc warnings for telco-electronics_x1
authorRosen Penev <rosenp@gmail.com>
Fri, 15 Oct 2021 02:15:49 +0000 (19:15 -0700)
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>
Sun, 17 Oct 2021 13:21:37 +0000 (15:21 +0200)
In all other dts files, the entire block is not edited like this.
They're edited separately.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
target/linux/ramips/dts/mt7621_telco-electronics_x1.dts

index 51c1d868cbd1b0b202a0d88465fe2ae85af42cf9..ce700e0c2b92a3e812782209fa8a8cfec8d521a7 100644 (file)
 
 &pcie {
        status = "okay";
+};
 
-       pcie0 {
-               wifi@0,0 {
-                       compatible = "pci14c3,7603";
-                       reg = <0x0000 0 0 0 0>;
-                       mediatek,mtd-eeprom = <&factory 0x0000>;
-                       ieee80211-freq-limit = <2400000 2500000>;
-               };
+&pcie0 {
+       wifi@0,0 {
+               compatible = "pci14c3,7603";
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x0000>;
+               ieee80211-freq-limit = <2400000 2500000>;
        };
+};
 
-       pcie1 {
-               wifi@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@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>;
                };
        };
 };