Thread (3 messages) 3 messages, 3 authors, 2026-03-10

Re: [PATCH v2] arm64: dts: airoha: en7581: Add switch node to to EN7581 SoC

From: Benjamin Larsson <hidden>
Date: 2026-03-10 17:33:24
Also in: linux-devicetree, linux-mediatek

Hi.

On 10/03/2026 17:12, Lorenzo Bianconi wrote:
Introduce dsa switch controller node to EN7581 SoC and EN7581
evaluation board.

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
Changes in v2:
- Fix ethernet-phy node name
- Remove unnecessary phy-mode property in ethernet-phy nodes.
[...]
quoted hunk ↗ jump to hunk
diff --git a/arch/arm64/boot/dts/airoha/en7581.dtsi b/arch/arm64/boot/dts/airoha/en7581.dtsi
index ff6908a76e8eb6cf91343495d1fe531a868e41fb..c84c8d4a6662e24531e0c22ef3a4eb13da2d52fd 100644
--- a/arch/arm64/boot/dts/airoha/en7581.dtsi
+++ b/arch/arm64/boot/dts/airoha/en7581.dtsi
@@ -395,5 +395,89 @@ fixed-link {
  				};
  			};
  		};
+
+		switch: switch@1fb58000 {
+			compatible = "airoha,en7581-switch";
+			reg = <0 0x1fb58000 0 0x8000>;
+			resets = <&scuclk EN7581_GSW_RST>;
+
+			interrupt-controller;
+			#interrupt-cells = <1>;
+			interrupt-parent = <&gic>;
+			interrupts = <GIC_SPI 209 IRQ_TYPE_LEVEL_HIGH>;
This is the wrong IRQ, should be 31. This is also what is in openwrt:

https://github.com/openwrt/openwrt/blob/main/target/linux/airoha/dts/an7581.dtsi#L947


MvH

Benjamin Larsson

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help