arm64: dts: mediatek: mt7981: add watchdog & WiFi controllers
Subsystems (3)
PATCH 1/1 arm64: dts: mediatek: mt7981: add watchdog & WiFi controllers
From: Rafał Miłecki <[email protected]>
MT7981 (Filogic 820) is a low cost version of MT7986 (Filogic 830) with the same watchdog controller. It also comes with on-SoC 802.11ax wireless.
Signed-off-by Rafał Miłecki <[email protected]>
--- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 26 ++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-)
arch/arm64/boot/dts/mediatek/mt7981b.dtsi +25 -1
@@ -2,6 +2,7 @@ #include <dt-bindings/clock/mediatek,mt7981-clk.h> #include <dt-bindings/interrupt-controller/arm-gic.h> +#include <dt-bindings/reset/mt7986-resets.h> / { compatible = "mediatek,mt7981b";
@@ -62,12 +63,19 @@ infracfg: clock-controller@10001000 { #clock-cells = <1>; }; - clock-controller@1001b000 { + topckgen: clock-controller@1001b000 { compatible = "mediatek,mt7981-topckgen", "syscon"; reg = <0 0x1001b000 0 0x1000>; #clock-cells = <1>; }; + watchdog: watchdog@1001c000 { + compatible = "mediatek,mt7986-wdt"; + reg = <0 0x1001c000 0 0x1000>; + interrupts = <GIC_SPI 110 IRQ_TYPE_LEVEL_HIGH>; + #reset-cells = <1>; + }; + clock-controller@1001e000 { compatible = "mediatek,mt7981-apmixedsys"; reg = <0 0x1001e000 0 0x1000>;
@@ -142,6 +150,22 @@ clock-controller@15000000 { #clock-cells = <1>; #reset-cells = <1>; }; + + wifi@18000000 { + compatible = "mediatek,mt7981-wmac"; + reg = <0 0x18000000 0 0x1000000>, + <0 0x10003000 0 0x1000>, + <0 0x11d10000 0 0x1000>; + interrupts = <GIC_SPI 213 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 214 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 215 IRQ_TYPE_LEVEL_HIGH>, + <GIC_SPI 216 IRQ_TYPE_LEVEL_HIGH>; + clocks = <&topckgen CLK_TOP_NETSYS_MCU_SEL>, + <&topckgen CLK_TOP_AP2CNN_HOST_SEL>; + clock-names = "mcu", "ap2conn"; + resets = <&watchdog MT7986_TOPRGU_CONSYS_SW_RST>; + reset-names = "consys"; + }; }; timer {
Signature · 1 line
2.35.3
Il 21/02/24 09:55, Rafał Miłecki ha scritto:
Quoted 7 lines
From: Rafał Miłecki <[email protected]>
MT7981 (Filogic 820) is a low cost version of MT7986 (Filogic 830) with the same watchdog controller. It also comes with on-SoC 802.11ax wireless.
Signed-off-by Rafał Miłecki <[email protected]>
Reviewed-by AngeloGioacchino Del Regno <[email protected]>
Quoted 5 lines · Rafał Miłecki
MT7981 (Filogic 820) is a low cost version of MT7986 (Filogic 830) with the same watchdog controller. It also comes with on-SoC 802.11ax wireless.
Applied to v6.9-next/dts64, thanks!
[1/1] arm64: dts: mediatek: mt7981: add watchdog & WiFi controllers
commit: 452f39543ce4cebda3471931b0efc6a46e765458
Cheers,
Angelo