]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
MIPS: dts: ralink: mt7620a: add wifi
authorRosen Penev <rosenp@gmail.com>
Tue, 22 Jul 2025 21:28:55 +0000 (14:28 -0700)
committerJohannes Berg <johannes.berg@intel.com>
Wed, 23 Jul 2025 10:29:08 +0000 (12:29 +0200)
MT7620A devices all contain a wifi device as part of the SOC. Add it
here to get it working.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Link: https://patch.msgid.link/20250722212856.11343-7-rosenp@gmail.com
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/mips/boot/dts/ralink/mt7620a.dtsi

index d66045948a8331d7775b1ffec6aae9f1e35de392..460164bdd430dc8e0f18163b8771cdd1e7c596dd 100644 (file)
                        reg-shift = <2>;
                };
        };
+
+       wmac: wifi@10180000 {
+               compatible = "ralink,rt2880-wifi";
+               reg = <0x10180000 0x40000>;
+
+               clocks = <&sysc 16>;
+
+               interrupt-parent = <&cpuintc>;
+               interrupts = <6>;
+       };
 };