15956d97fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 25956d97fSEmmanuel Vadot%YAML 1.2 35956d97fSEmmanuel Vadot--- 45956d97fSEmmanuel Vadot$id: http://devicetree.org/schemas/net/ingenic,mac.yaml# 55956d97fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 65956d97fSEmmanuel Vadot 7*8bab661aSEmmanuel Vadottitle: MAC in Ingenic SoCs 85956d97fSEmmanuel Vadot 95956d97fSEmmanuel Vadotmaintainers: 105956d97fSEmmanuel Vadot - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com> 115956d97fSEmmanuel Vadot 125956d97fSEmmanuel Vadotdescription: 135956d97fSEmmanuel Vadot The Ethernet Media Access Controller in Ingenic SoCs. 145956d97fSEmmanuel Vadot 155956d97fSEmmanuel Vadotproperties: 165956d97fSEmmanuel Vadot compatible: 175956d97fSEmmanuel Vadot enum: 185956d97fSEmmanuel Vadot - ingenic,jz4775-mac 195956d97fSEmmanuel Vadot - ingenic,x1000-mac 205956d97fSEmmanuel Vadot - ingenic,x1600-mac 215956d97fSEmmanuel Vadot - ingenic,x1830-mac 225956d97fSEmmanuel Vadot - ingenic,x2000-mac 235956d97fSEmmanuel Vadot 245956d97fSEmmanuel Vadot reg: 255956d97fSEmmanuel Vadot maxItems: 1 265956d97fSEmmanuel Vadot 275956d97fSEmmanuel Vadot interrupts: 285956d97fSEmmanuel Vadot maxItems: 1 295956d97fSEmmanuel Vadot 305956d97fSEmmanuel Vadot interrupt-names: 315956d97fSEmmanuel Vadot const: macirq 325956d97fSEmmanuel Vadot 335956d97fSEmmanuel Vadot clocks: 345956d97fSEmmanuel Vadot maxItems: 1 355956d97fSEmmanuel Vadot 365956d97fSEmmanuel Vadot clock-names: 375956d97fSEmmanuel Vadot const: stmmaceth 385956d97fSEmmanuel Vadot 395956d97fSEmmanuel Vadot mode-reg: 40d5b0e70fSEmmanuel Vadot $ref: /schemas/types.yaml#/definitions/phandle 415956d97fSEmmanuel Vadot description: An extra syscon register that control ethernet interface and timing delay 425956d97fSEmmanuel Vadot 435956d97fSEmmanuel Vadot rx-clk-delay-ps: 445956d97fSEmmanuel Vadot description: RGMII receive clock delay defined in pico seconds 455956d97fSEmmanuel Vadot 465956d97fSEmmanuel Vadot tx-clk-delay-ps: 475956d97fSEmmanuel Vadot description: RGMII transmit clock delay defined in pico seconds 485956d97fSEmmanuel Vadot 495956d97fSEmmanuel Vadotrequired: 505956d97fSEmmanuel Vadot - compatible 515956d97fSEmmanuel Vadot - reg 525956d97fSEmmanuel Vadot - interrupts 535956d97fSEmmanuel Vadot - interrupt-names 545956d97fSEmmanuel Vadot - clocks 555956d97fSEmmanuel Vadot - clock-names 565956d97fSEmmanuel Vadot - mode-reg 575956d97fSEmmanuel Vadot 585956d97fSEmmanuel VadotadditionalProperties: false 595956d97fSEmmanuel Vadot 605956d97fSEmmanuel Vadotexamples: 615956d97fSEmmanuel Vadot - | 628cc087a1SEmmanuel Vadot #include <dt-bindings/clock/ingenic,x1000-cgu.h> 635956d97fSEmmanuel Vadot 645956d97fSEmmanuel Vadot mac: ethernet@134b0000 { 655956d97fSEmmanuel Vadot compatible = "ingenic,x1000-mac"; 665956d97fSEmmanuel Vadot reg = <0x134b0000 0x2000>; 675956d97fSEmmanuel Vadot 685956d97fSEmmanuel Vadot interrupt-parent = <&intc>; 695956d97fSEmmanuel Vadot interrupts = <55>; 705956d97fSEmmanuel Vadot interrupt-names = "macirq"; 715956d97fSEmmanuel Vadot 725956d97fSEmmanuel Vadot clocks = <&cgu X1000_CLK_MAC>; 735956d97fSEmmanuel Vadot clock-names = "stmmaceth"; 745956d97fSEmmanuel Vadot 755956d97fSEmmanuel Vadot mode-reg = <&mac_phy_ctrl>; 765956d97fSEmmanuel Vadot }; 775956d97fSEmmanuel Vadot... 78