mac80211: fix wmac node names

The upstream submission for this mandates the node to be named wifi
instead of wmac. Change all ath79 entries to match the new names and
remove the compatibility patch.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19328
Signed-off-by: Robert Marko <robimarko@gmail.com>
This commit is contained in:
Rosen Penev 2025-07-06 12:07:23 -07:00 committed by Robert Marko
parent 65c539be80
commit 7e09959efd
8 changed files with 18 additions and 34 deletions

View file

@ -1,16 +0,0 @@
--- a/drivers/net/wireless/ath/ath9k/ahb.c
+++ b/drivers/net/wireless/ath/ath9k/ahb.c
@@ -31,6 +31,13 @@ static const struct of_device_id ath9k_o
{ .compatible = "qca,qca9530-wifi", .data = (void *)AR9300_DEVID_AR953X },
{ .compatible = "qca,qca9550-wifi", .data = (void *)AR9300_DEVID_QCA955X },
{ .compatible = "qca,qca9560-wifi", .data = (void *)AR9300_DEVID_QCA956X },
+ /* backwards compat, remove if no longer needed: */
+ { .compatible = "qca,ar9130-wmac", .data = (void *)AR5416_AR9100_DEVID },
+ { .compatible = "qca,ar9330-wmac", .data = (void *)AR9300_DEVID_AR9330 },
+ { .compatible = "qca,ar9340-wmac", .data = (void *)AR9300_DEVID_AR9340 },
+ { .compatible = "qca,qca9530-wmac", .data = (void *)AR9300_DEVID_AR953X },
+ { .compatible = "qca,qca9550-wmac", .data = (void *)AR9300_DEVID_QCA955X },
+ { .compatible = "qca,qca9560-wmac", .data = (void *)AR9300_DEVID_QCA956X },
{},
};

View file

@ -238,12 +238,12 @@
[ "0x0000", "0x0000", "0x0bda", "0xf179", 0, 0, "Realtek", "RTL8188FTV" ]
],
"compatible": {
"qca,ar9130-wmac": [ "Atheros", "AR9130" ],
"qca,ar9330-wmac": [ "Atheros", "AR9330" ],
"qca,ar9340-wmac": [ "Atheros", "AR9340" ],
"qca,qca9530-wmac": [ "Qualcomm Atheros", "QCA9530" ],
"qca,qca9550-wmac": [ "Qualcomm Atheros", "QCA9550" ],
"qca,qca9560-wmac": [ "Qualcomm Atheros", "QCA9560" ],
"qca,ar9130-wifi": [ "Atheros", "AR9130" ],
"qca,ar9330-wifi": [ "Atheros", "AR9330" ],
"qca,ar9340-wifi": [ "Atheros", "AR9340" ],
"qca,qca9530-wifi": [ "Qualcomm Atheros", "QCA9530" ],
"qca,qca9550-wifi": [ "Qualcomm Atheros", "QCA9550" ],
"qca,qca9560-wifi": [ "Qualcomm Atheros", "QCA9560" ],
"qcom,ipq4019-wifi": [ "Qualcomm Atheros", "IPQ4019" ],
"qcom,ipq6018-wifi": [ "Qualcomm Atheros", "IPQ6018" ],
"qcom,ipq8074-wifi": [ "Qualcomm Atheros", "IPQ8074" ],

View file

@ -175,8 +175,8 @@
#size-cells = <0>;
};
wmac: wmac@180c0000 {
compatible = "qca,ar9130-wmac";
wmac: wifi@180c0000 {
compatible = "qca,ar9130-wifi";
reg = <0x180c0000 0x230000>;
interrupts = <2>;

View file

@ -152,8 +152,8 @@
reg = <0x18070000 0x4>;
};
wmac: wmac@18100000 {
compatible = "qca,ar9330-wmac";
wmac: wifi@18100000 {
compatible = "qca,ar9330-wifi";
reg = <0x18100000 0x20000>;
interrupts = <2>;

View file

@ -153,8 +153,8 @@
reg = <0x18070000 0x14>;
};
wmac: wmac@18100000 {
compatible = "qca,ar9340-wmac";
wmac: wifi@18100000 {
compatible = "qca,ar9340-wifi";
reg = <0x18100000 0x20000>;
status = "disabled";

View file

@ -177,8 +177,8 @@
status = "disabled";
};
wmac: wmac@18100000 {
compatible = "qca,qca9530-wmac";
wmac: wifi@18100000 {
compatible = "qca,qca9530-wifi";
reg = <0x18100000 0x20000>;
interrupt-parent = <&intc2>;

View file

@ -229,8 +229,8 @@
status = "disabled";
};
wmac: wmac@18100000 {
compatible = "qca,qca9550-wmac";
wmac: wifi@18100000 {
compatible = "qca,qca9550-wifi";
reg = <0x18100000 0x10000>;
interrupt-parent = <&intc2>;

View file

@ -147,8 +147,8 @@
reg = <0x18070000 0x64>;
};
wmac: wmac@18100000 {
compatible = "qca,qca9560-wmac";
wmac: wifi@18100000 {
compatible = "qca,qca9560-wifi";
reg = <0x18100000 0x10000>;
interrupt-parent = <&cpuintc>;