From: Daniel Golle Date: Wed, 7 Dec 2022 01:42:53 +0000 (+0000) Subject: mediatek: also move &slot0 from dtsi down to board dts X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=2307b049e4c2d4f9aad50342d4d5da4ca4ffdf8e;p=openwrt%2Fstaging%2Fstintel.git mediatek: also move &slot0 from dtsi down to board dts 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 --- diff --git a/target/linux/mediatek/dts/mt7622-reyee-ax3200-e5.dts b/target/linux/mediatek/dts/mt7622-reyee-ax3200-e5.dts index 3aa59b1c6d..d86ea52fcf 100644 --- a/target/linux/mediatek/dts/mt7622-reyee-ax3200-e5.dts +++ b/target/linux/mediatek/dts/mt7622-reyee-ax3200-e5.dts @@ -84,3 +84,13 @@ 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; + }; +}; diff --git a/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200.dtsi b/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200.dtsi index 9a04e79235..5a1cd99f61 100644 --- a/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200.dtsi +++ b/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200.dtsi @@ -159,16 +159,6 @@ 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 { diff --git a/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts b/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts index 53abf300cd..857f94ae94 100644 --- a/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts +++ b/target/linux/mediatek/dts/mt7622-ruijie-rg-ew3200gx-pro.dts @@ -81,3 +81,13 @@ 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; + }; +};