1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/mediatek,star-emac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: MediaTek STAR Ethernet MAC Controller
10 - Bartosz Golaszewski <bgolaszewski@baylibre.com>
13 This Ethernet MAC is used on the MT8* family of SoCs from MediaTek.
14 It's compliant with 802.3 standards and supports half- and full-duplex
15 modes with flow-control as well as CRC offloading and VLAN tags.
18 - $ref: "ethernet-controller.yaml#"
38 additionalItems: false
45 $ref: /schemas/types.yaml#/definitions/phandle
47 Phandle to the device containing the PERICFG register range. This is used
48 to control the MII mode.
52 unevaluatedProperties: false
63 unevaluatedProperties: false
67 #include <dt-bindings/interrupt-controller/arm-gic.h>
68 #include <dt-bindings/clock/mt8516-clk.h>
70 ethernet: ethernet@11180000 {
71 compatible = "mediatek,mt8516-eth";
72 reg = <0x11180000 0x1000>;
73 mediatek,pericfg = <&pericfg>;
74 interrupts = <GIC_SPI 111 IRQ_TYPE_LEVEL_LOW>;
75 clocks = <&topckgen CLK_TOP_RG_ETH>,
76 <&topckgen CLK_TOP_66M_ETH>,
77 <&topckgen CLK_TOP_133M_ETH>;
78 clock-names = "core", "reg", "trans";
79 phy-handle = <ð_phy>;
86 eth_phy: ethernet-phy@0 {