Skip to content

Commit 1ba2ed7

Browse files
ryderlee1110mbgg
authored andcommitted
arm64: dts: mt7622: add built-in Wi-Fi device nodes
This enables built-in 802.11n Wi-Fi support. It's 2.4GHz only. Signed-off-by: Ryder Lee <[email protected]> Signed-off-by: Matthias Brugger <[email protected]>
1 parent 8f3d9f3 commit 1ba2ed7

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -543,3 +543,7 @@
543543
pinctrl-0 = <&watchdog_pins>;
544544
status = "okay";
545545
};
546+
547+
&wmac {
548+
status = "okay";
549+
};

arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -506,3 +506,7 @@
506506
pinctrl-0 = <&watchdog_pins>;
507507
status = "okay";
508508
};
509+
510+
&wmac {
511+
status = "okay";
512+
};

arch/arm64/boot/dts/mediatek/mt7622.dtsi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -699,6 +699,17 @@
699699
status = "disabled";
700700
};
701701

702+
wmac: wmac@18000000 {
703+
compatible = "mediatek,mt7622-wmac";
704+
reg = <0 0x18000000 0 0x100000>;
705+
interrupts = <GIC_SPI 211 IRQ_TYPE_LEVEL_LOW>;
706+
707+
mediatek,infracfg = <&infracfg>;
708+
status = "disabled";
709+
710+
power-domains = <&scpsys MT7622_POWER_DOMAIN_WB>;
711+
};
712+
702713
ssusbsys: ssusbsys@1a000000 {
703714
compatible = "mediatek,mt7622-ssusbsys",
704715
"syscon";

0 commit comments

Comments
 (0)