1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 $id: http://devicetree.org/schemas/net/ingenic,mac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Bindings for MAC in Ingenic SoCs
10 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
13 The Ethernet Media Access Controller in Ingenic SoCs.
40 $ref: /schemas/types.yaml#/definitions/phandle
41 description: An extra syscon register that control ethernet interface and timing delay
44 description: RGMII receive clock delay defined in pico seconds
47 description: RGMII transmit clock delay defined in pico seconds
58 additionalProperties: false
62 #include <dt-bindings/clock/ingenic,x1000-cgu.h>
64 mac: ethernet@134b0000 {
65 compatible = "ingenic,x1000-mac";
66 reg = <0x134b0000 0x2000>;
68 interrupt-parent = <&intc>;
70 interrupt-names = "macirq";
72 clocks = <&cgu X1000_CLK_MAC>;
73 clock-names = "stmmaceth";
75 mode-reg = <&mac_phy_ctrl>;