]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mips: dts: qca: add wmac support
authorRosen Penev <rosenp@gmail.com>
Mon, 9 Jun 2025 03:08:51 +0000 (20:08 -0700)
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>
Thu, 3 Jul 2025 10:35:11 +0000 (12:35 +0200)
Now that OF ahb support was added to the ath9k driver, we can use it to
enable and use the SoC wireless found in these chipsets.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
arch/mips/boot/dts/qca/ar9132.dtsi
arch/mips/boot/dts/qca/ar9132_tl_wr1043nd_v1.dts
arch/mips/boot/dts/qca/ar9331.dtsi
arch/mips/boot/dts/qca/ar9331_dpt_module.dts
arch/mips/boot/dts/qca/ar9331_dragino_ms14.dts
arch/mips/boot/dts/qca/ar9331_omega.dts
arch/mips/boot/dts/qca/ar9331_openembed_som9331_board.dts
arch/mips/boot/dts/qca/ar9331_tl_mr3020.dts

index 61dcfa5b6ca78a843459d1c82a4d60289df11d32..c1ca03a27b6c5fcabfaacc3678bbae50d74cb361 100644 (file)
                        #address-cells = <1>;
                        #size-cells = <0>;
                };
+
+               wifi: wifi@180c0000 {
+                       compatible = "qca,ar9130-wifi";
+                       reg = <0x180c0000 0x230000>;
+
+                       interrupts = <2>;
+
+                       status = "disabled";
+               };
        };
 
        usb_phy: usb-phy {
index f894fe17816b2ec5f619e89cc1d870d4859d0944..a7901bb040ce5a37e2d4f89eb959a9d68b526ede 100644 (file)
                };
        };
 };
+
+&wifi {
+       status = "okay";
+};
index 768ac0f869b1c911aedae85f0cf18c8d8f324dcb..6eb84a26a20f95ba1769c9e83f7b666e82e4878a 100644 (file)
 
                        status = "disabled";
                };
+
+               wifi: wifi@18100000 {
+                       compatible = "qca,ar9330-wifi";
+                       reg = <0x18100000 0x20000>;
+
+                       interrupts = <2>;
+
+                       status = "disabled";
+               };
        };
 
        usb_phy: usb-phy {
index c857cd22f7db0db6b2290cbb7bd70db8f0797854..08e728b8ced8ffc828802e3973e3043538c85d51 100644 (file)
@@ -97,3 +97,7 @@
 &phy_port4 {
        status = "okay";
 };
+
+&wifi {
+       status = "okay";
+};
index 7affa58d4fa66a9cf6fbb81000d855615bdf3c9f..37a74aabe4b476aa4bd80eea7c47830c9ac8c2f7 100644 (file)
@@ -98,3 +98,7 @@
                reg = <0>;
        };
 };
+
+&wifi {
+       status = "okay";
+};
index 8904aa917a6e3987a6eb2ca32cb5a08efa744a25..1450419024cbc0b782a3265df1e3e0a90de62680 100644 (file)
@@ -74,3 +74,7 @@
                reg = <0>;
        };
 };
+
+&wifi {
+       status = "okay";
+};
index dc65ebd60bbcd4845517d28e08eed47acc2bec9e..5786a827c000019f7aabb4f4f1ba6b6ad87586de 100644 (file)
 &phy_port4 {
        status = "okay";
 };
+
+&wifi {
+       status = "okay";
+};
index 10b9759228b77ac4babe6327844d8c602d1a68b4..a7108c803eb36e06ed3047053ec96a7699b9b3ba 100644 (file)
                reg = <0>;
        };
 };
+
+&wifi {
+       status = "okay";
+};