dts: airoha: en7523: add ethernet controller support
authorMikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
Sat, 1 Nov 2025 00:45:00 +0000 (03:45 +0300)
committerTom Rini <trini@konsulko.com>
Fri, 7 Nov 2025 22:00:59 +0000 (16:00 -0600)
This patch adds integrated ethernet controller support to en7523 dts

Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@iopsys.eu>
arch/arm/dts/en7523-u-boot.dtsi

index e5a84dc..e22938a 100644 (file)
                #reset-cells = <1>;
        };
 
+       eth: ethernet@1fb50000 {
+               compatible = "airoha,en7523-eth";
+               reg = <0x1fb50000 0x2600>,
+                     <0x1fb54000 0x2000>,
+                     <0x1fb56000 0x2000>;
+               reg-names = "fe", "qdma0", "qdma1";
+
+               resets = <&scu EN7523_FE_RST>,
+                        <&scu EN7523_FE_PDMA_RST>,
+                        <&scu EN7523_FE_QDMA_RST>,
+                        <&scu EN7523_DUAL_HSI0_MAC_RST>,
+                        <&scu EN7523_DUAL_HSI1_MAC_RST>,
+                        <&scu EN7523_HSI_MAC_RST>;
+               reset-names = "fe", "pdma", "qdma",
+                             "hsi0-mac", "hsi1-mac", "hsi-mac";
+       };
+
+       switch: switch@1fb58000 {
+               compatible = "airoha,en7523-switch";
+               reg = <0x1fb58000 0x8000>;
+       };
 };
 
 &uart1 {