mediatek: also move &slot0 from dtsi down to board dts
authorDaniel Golle <daniel@makrotopia.org>
Wed, 7 Dec 2022 01:42:53 +0000 (01:42 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Wed, 7 Dec 2022 01:45:14 +0000 (01:45 +0000)
As the referenced MTD partition is only present in the dts, also move
&slot0 down to the dts files.

Fixes: 64e9b62829 ("mediatek: remove redundant flash entry from dtsi")
Fixes: 7dbac3433f ("mediatek: add support for reyee AX3200-E5")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/dts/mt7622-reyee-ax3200-e5.dts
target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200.dtsi
target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts

index 3aa59b1c6dd92841838931911d43eba5fc942ccc..d86ea52fcf0d45696f96b02f013e8af054bcf6ed 100644 (file)
        pinctrl-0 = <&epa_elna_pins>;
        mediatek,mtd-eeprom = <&factory 0x0>;
 };
+
+&slot0 {
+       wifi@0,0 {
+               compatible = "mediatek,mt76";
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x5000>;
+               ieee80211-freq-limit = <5000000 6000000>;
+               mediatek,disable-radar-background;
+       };
+};
index 9a04e79235cfefacd341fe6c209a1ad12f923877..5a1cd99f619c0a22f1ea77784404bf61f1ada0f7 100644 (file)
        pinctrl-0 = <&pcie0_pins>;
 };
 
-&slot0 {
-       wifi@0,0 {
-               compatible = "mediatek,mt76";
-               reg = <0x0000 0 0 0 0>;
-               mediatek,mtd-eeprom = <&factory 0x5000>;
-               ieee80211-freq-limit = <5000000 6000000>;
-               mediatek,disable-radar-background;
-       };
-};
-
 &pio {
        epa_elna_pins: epa-elna-pins {
                mux {
index 53abf300cdfc4cac27ecaeba3c9d2b06034a4542..857f94ae94b2768a2133457af65c141d6be72b30 100644 (file)
        pinctrl-0 = <&epa_elna_pins>;
        mediatek,mtd-eeprom = <&factory 0x0>;
 };
+
+&slot0 {
+       wifi@0,0 {
+               compatible = "mediatek,mt76";
+               reg = <0x0000 0 0 0 0>;
+               mediatek,mtd-eeprom = <&factory 0x5000>;
+               ieee80211-freq-limit = <5000000 6000000>;
+               mediatek,disable-radar-background;
+       };
+};