arm64: dts: mt7622: add built-in Wi-Fi device nodes
authorRyder Lee <ryder.lee@mediatek.com>
Sun, 29 Mar 2020 22:53:40 +0000 (06:53 +0800)
committerMatthias Brugger <matthias.bgg@gmail.com>
Mon, 13 Apr 2020 12:19:10 +0000 (14:19 +0200)
This enables built-in 802.11n Wi-Fi support. It's 2.4GHz only.

Signed-off-by: Ryder Lee <ryder.lee@mediatek.com>
Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
arch/arm64/boot/dts/mediatek/mt7622-bananapi-bpi-r64.dts
arch/arm64/boot/dts/mediatek/mt7622-rfb1.dts
arch/arm64/boot/dts/mediatek/mt7622.dtsi

index 83e1059..d174ad2 100644 (file)
        pinctrl-0 = <&watchdog_pins>;
        status = "okay";
 };
+
+&wmac {
+       status = "okay";
+};
index 3f78334..0b4de62 100644 (file)
        pinctrl-0 = <&watchdog_pins>;
        status = "okay";
 };
+
+&wmac {
+       status = "okay";
+};
index 339dc9f..1a39e0e 100644 (file)
                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";