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

Benjamin Larsson benjamin.larsson at genexis.eu
Tue Mar 10 10:33:19 PDT 2026


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 at kernel.org>
> ---
> Changes in v2:
> - Fix ethernet-phy node name
> - Remove unnecessary phy-mode property in ethernet-phy nodes.
> [...]

> 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 at 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




More information about the Linux-mediatek mailing list