From 118855e859a075907aad0b36aa8d8fa6874a35c1 Mon Sep 17 00:00:00 2001 From: Weijie Gao Date: Wed, 19 Jul 2023 17:17:27 +0800 Subject: [PATCH] arm: dts: mediatek: add infracfg registers to support GMAC/USB3 Co-PHY This patch adds infracfg to eth node to support enabling GMAC2. Signed-off-by: Weijie Gao --- arch/arm/dts/mt7981.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/dts/mt7981.dtsi b/arch/arm/dts/mt7981.dtsi index 2053e2ca00..7aaa7770f8 100644 --- a/arch/arm/dts/mt7981.dtsi +++ b/arch/arm/dts/mt7981.dtsi @@ -237,6 +237,7 @@ reset-names = "fe"; mediatek,ethsys = <ðsys>; mediatek,sgmiisys = <&sgmiisys0>; + mediatek,infracfg = <&topmisc>; #address-cells = <1>; #size-cells = <0>; status = "disabled"; @@ -255,6 +256,12 @@ #clock-cells = <1>; }; + topmisc: topmisc@11d10000 { + compatible = "mediatek,mt7981-topmisc", "syscon"; + reg = <0x11d10000 0x10000>; + #clock-cells = <1>; + }; + spi0: spi@1100a000 { compatible = "mediatek,ipm-spi"; reg = <0x1100a000 0x100>; -- 2.39.5