]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: dts: mediatek: add infracfg registers to support GMAC/USB3 Co-PHY
authorWeijie Gao <weijie.gao@mediatek.com>
Wed, 19 Jul 2023 09:17:27 +0000 (17:17 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 3 Aug 2023 13:40:50 +0000 (09:40 -0400)
This patch adds infracfg to eth node to support enabling GMAC2.

Signed-off-by: Weijie Gao <weijie.gao@mediatek.com>
arch/arm/dts/mt7981.dtsi

index 2053e2ca00200ea7ecd8f7cfe00ae35074708c09..7aaa7770f833a64800749b4cb9343269e51e43e4 100644 (file)
                reset-names = "fe";
                mediatek,ethsys = <&ethsys>;
                mediatek,sgmiisys = <&sgmiisys0>;
+               mediatek,infracfg = <&topmisc>;
                #address-cells = <1>;
                #size-cells = <0>;
                status = "disabled";
                #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>;