This patch adds integrated ethernet controller support to en7523 dts

Signed-off-by: Mikhail Kshevetskiy <[email protected]>
---
 arch/arm/dts/en7523-u-boot.dtsi | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/arch/arm/dts/en7523-u-boot.dtsi b/arch/arm/dts/en7523-u-boot.dtsi
index e5a84dc56eb..e22938ac5d7 100644
--- a/arch/arm/dts/en7523-u-boot.dtsi
+++ b/arch/arm/dts/en7523-u-boot.dtsi
@@ -22,6 +22,27 @@
                #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 {
-- 
2.51.0

Reply via email to