diff options
author | Daniel Golle <daniel@makrotopia.org> | 2022-12-07 01:42:53 +0000 |
---|---|---|
committer | Daniel Golle <daniel@makrotopia.org> | 2022-12-07 01:45:14 +0000 |
commit | 2307b049e4c2d4f9aad50342d4d5da4ca4ffdf8e (patch) | |
tree | 5fcd2b327841e60e2b31a54e5fbb9c0801c5bdf2 /target/linux | |
parent | 9d22ab703fbaf8691b5b27073b940b6f002cd0eb (diff) | |
download | upstream-2307b049e4c2d4f9aad50342d4d5da4ca4ffdf8e.tar.gz upstream-2307b049e4c2d4f9aad50342d4d5da4ca4ffdf8e.tar.bz2 upstream-2307b049e4c2d4f9aad50342d4d5da4ca4ffdf8e.zip |
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 <daniel@makrotopia.org>
Diffstat (limited to 'target/linux')
3 files changed, 20 insertions, 10 deletions
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; + }; +}; |