]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
mac80211: fix wmac node names 19328/head
authorRosen Penev <rosenp@gmail.com>
Sun, 6 Jul 2025 19:07:23 +0000 (12:07 -0700)
committerRobert Marko <robimarko@gmail.com>
Mon, 7 Jul 2025 15:28:14 +0000 (17:28 +0200)
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>
package/kernel/mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch [deleted file]
package/network/config/wifi-scripts/files-ucode/usr/share/wifi_devices.json
target/linux/ath79/dts/ar9132.dtsi
target/linux/ath79/dts/ar9330.dtsi
target/linux/ath79/dts/ar934x.dtsi
target/linux/ath79/dts/qca953x.dtsi
target/linux/ath79/dts/qca955x.dtsi
target/linux/ath79/dts/qca956x.dtsi

diff --git a/package/kernel/mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch b/package/kernel/mac80211/patches/ath9k/553-ath9k-ahb_of_compat.patch
deleted file mode 100644 (file)
index 20e351d..0000000
+++ /dev/null
@@ -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 },
-       {},
- };
index d1331efee60b143d876a5f164b794ed449b55ac5..64218b6e4ff8abdb35755353a2fb1a2c307f7cea 100644 (file)
                [ "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" ],
index 2ea689fac16bd5c09751d07b79673cd3406fb4c4..38e7798883952caa5ddd64fa99a865ac25e59ba3 100644 (file)
                        #size-cells = <0>;
                };
 
-               wmac: wmac@180c0000 {
-                       compatible = "qca,ar9130-wmac";
+               wmac: wifi@180c0000 {
+                       compatible = "qca,ar9130-wifi";
                        reg = <0x180c0000 0x230000>;
 
                        interrupts = <2>;
index e4d78b9251cefbec0bf91f94cbb5c6144f65b171..09e1d29396472f9c2a9ba8be4c509802d7235b70 100644 (file)
                        reg = <0x18070000 0x4>;
                };
 
-               wmac: wmac@18100000 {
-                       compatible = "qca,ar9330-wmac";
+               wmac: wifi@18100000 {
+                       compatible = "qca,ar9330-wifi";
                        reg = <0x18100000 0x20000>;
 
                        interrupts = <2>;
index b2106fcdaa03192c00b61a5afe1ffbb8ac3dce49..586eecff7fe2092b8f8b776123660ba380a92d10 100644 (file)
                        reg = <0x18070000 0x14>;
                };
 
-               wmac: wmac@18100000 {
-                       compatible = "qca,ar9340-wmac";
+               wmac: wifi@18100000 {
+                       compatible = "qca,ar9340-wifi";
                        reg = <0x18100000 0x20000>;
 
                        status = "disabled";
index 782b0949ca72004f5b0ec8e56a2ce3c141c71cda..f3a9d59fb8e7136f3fe32eee0e521b02db8bf134 100644 (file)
                        status = "disabled";
                };
 
-               wmac: wmac@18100000 {
-                       compatible = "qca,qca9530-wmac";
+               wmac: wifi@18100000 {
+                       compatible = "qca,qca9530-wifi";
                        reg = <0x18100000 0x20000>;
 
                        interrupt-parent = <&intc2>;
index d697b0476906b07c35ead27f6596ab7c7c186803..002a5c518a322301c3dba37e19b610c461d39963 100644 (file)
                        status = "disabled";
                };
 
-               wmac: wmac@18100000 {
-                       compatible = "qca,qca9550-wmac";
+               wmac: wifi@18100000 {
+                       compatible = "qca,qca9550-wifi";
                        reg = <0x18100000 0x10000>;
 
                        interrupt-parent = <&intc2>;
index 8070fefbb71e7daf6a2741cb74707e4f13134b2e..ab7c55ab1a52e24275c67162780d1f6a9525f369 100644 (file)
                        reg = <0x18070000 0x64>;
                };
 
-               wmac: wmac@18100000 {
-                       compatible = "qca,qca9560-wmac";
+               wmac: wifi@18100000 {
+                       compatible = "qca,qca9560-wifi";
                        reg = <0x18100000 0x10000>;
 
                        interrupt-parent = <&cpuintc>;