ARM64: dts: mediatek: add the ethernet node to mt8516.dtsi
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 22 May 2020 12:06:57 +0000 (14:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 May 2020 21:20:11 +0000 (14:20 -0700)
Add the Ethernet MAC node to mt8516.dtsi. This defines parameters common
to all the boards based on this SoC.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/arm64/boot/dts/mediatek/mt8516.dtsi

index 8cedaf7..89af661 100644 (file)
                        status = "disabled";
                };
 
+               ethernet: ethernet@11180000 {
+                       compatible = "mediatek,mt8516-eth";
+                       reg = <0 0x11180000 0 0x1000>;
+                       mediatek,pericfg = <&pericfg>;
+                       interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_LOW>;
+                       clocks = <&topckgen CLK_TOP_RG_ETH>,
+                                <&topckgen CLK_TOP_66M_ETH>,
+                                <&topckgen CLK_TOP_133M_ETH>;
+                       clock-names = "core", "reg", "trans";
+                       status = "disabled";
+               };
+
                rng: rng@1020c000 {
                        compatible = "mediatek,mt8516-rng",
                                     "mediatek,mt7623-rng";