Message ID | 315346e1d6fa00e5a0d7a8216982bf723af8e985.1584862530.git.ryder.lee@mediatek.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | 1ba2ed77210ab9d4d0995cce0d2ef2cae742bd09 |
Headers | show |
Series | arm64: dts: mt7622: add built-in Wi-Fi device nodes | expand |
On 30/03/2020 00:53, Ryder Lee wrote: > From: Ryder Lee <ryder.lee@mediatek.com> > > This enables built-in 802.11n Wi-Fi support. It's 2.4GHz only. > > Signed-off-by: Ryder Lee <ryder.lee@mediatek.com> Queued for v5.7-next/dts64 Thanks! > --- > .../boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts | 4 ++++ > arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts | 4 ++++ > arch/arm64/boot/dts/mediatek/mt7622.dtsi | 11 +++++++++++ > 3 files changed, 19 insertions(+) > > diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts > index 83e10591e0e5..d174ad214857 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts > @@ -543,3 +543,7 @@ > pinctrl-0 = <&watchdog_pins>; > status = "okay"; > }; > + > +&wmac { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts > index 3f783348c66a..0b4de627f96e 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts > +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts > @@ -506,3 +506,7 @@ > pinctrl-0 = <&watchdog_pins>; > status = "okay"; > }; > + > +&wmac { > + status = "okay"; > +}; > diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > index dac51e98204c..03b14a5ab7f3 100644 > --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi > +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi > @@ -699,6 +699,17 @@ > status = "disabled"; > }; > > + wmac: wmac@18000000 { > + compatible = "mediatek,mt7622-wmac"; > + reg = <0 0x18000000 0 0x100000>; > + interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>; > + > + mediatek,infracfg = <&infracfg>; > + status = "disabled"; > + > + power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; > + }; > + > ssusbsys: ssusbsys@1a000000 { > compatible = "mediatek,mt7622-ssusbsys", > "syscon"; >
diff --git a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts index 83e10591e0e5..d174ad214857 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts @@ -543,3 +543,7 @@ pinctrl-0 = <&watchdog_pins>; status = "okay"; }; + +&wmac { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts index 3f783348c66a..0b4de627f96e 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts +++ b/arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts @@ -506,3 +506,7 @@ pinctrl-0 = <&watchdog_pins>; status = "okay"; }; + +&wmac { + status = "okay"; +}; diff --git a/arch/arm64/boot/dts/mediatek/mt7622.dtsi b/arch/arm64/boot/dts/mediatek/mt7622.dtsi index dac51e98204c..03b14a5ab7f3 100644 --- a/arch/arm64/boot/dts/mediatek/mt7622.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7622.dtsi @@ -699,6 +699,17 @@ status = "disabled"; }; + wmac: wmac@18000000 { + compatible = "mediatek,mt7622-wmac"; + reg = <0 0x18000000 0 0x100000>; + interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>; + + mediatek,infracfg = <&infracfg>; + status = "disabled"; + + power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>; + }; + ssusbsys: ssusbsys@1a000000 { compatible = "mediatek,mt7622-ssusbsys", "syscon";