Skip to content

Commit 91e217d

Browse files
amergnatmbgg
authored andcommitted
arm64: dts: mediatek: add ethernet support for mt8365 SoC
This IP is a 10/100 MAC controller compliant with IEEE 802.3 standards. It supports power management with Energy Efficient Ethernet and Wake-on-LAN specification. Flow control is provided for half-duplex and full-duplex mode. For packet transmission and reception, the controller supports IPv4/UDP/TCP checksum offload and VLAN tag insertion. Signed-off-by: Alexandre Mergnat <amergnat@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20230203-evk-board-support-v3-12-0003e80e0095@baylibre.com Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
1 parent 8b5db51 commit 91e217d

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

arch/arm64/boot/dts/mediatek/mt8365.dtsi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,18 @@
427427
status = "disabled";
428428
};
429429

430+
ethernet: ethernet@112a0000 {
431+
compatible = "mediatek,mt8365-eth";
432+
reg = <0 0x112a0000 0 0x1000>;
433+
mediatek,pericfg = <&infracfg>;
434+
interrupts = <GIC_SPI 25 IRQ_TYPE_LEVEL_HIGH>;
435+
clocks = <&topckgen CLK_TOP_ETH_SEL>,
436+
<&infracfg CLK_IFR_NIC_AXI>,
437+
<&infracfg CLK_IFR_NIC_SLV_AXI>;
438+
clock-names = "core", "reg", "trans";
439+
status = "disabled";
440+
};
441+
430442
u3phy: t-phy@11cc0000 {
431443
compatible = "mediatek,mt8365-tphy", "mediatek,generic-tphy-v2";
432444
#address-cells = <1>;

0 commit comments

Comments
 (0)