14b859450SMaxime Ripard# SPDX-License-Identifier: GPL-2.0 24b859450SMaxime Ripard%YAML 1.2 34b859450SMaxime Ripard--- 44b859450SMaxime Ripard$id: http://devicetree.org/schemas/net/allwinner,sun7i-a20-gmac.yaml# 54b859450SMaxime Ripard$schema: http://devicetree.org/meta-schemas/core.yaml# 64b859450SMaxime Ripard 74b859450SMaxime Ripardtitle: Allwinner A20 GMAC Device Tree Bindings 84b859450SMaxime Ripard 94b859450SMaxime RipardallOf: 104b859450SMaxime Ripard - $ref: "snps,dwmac.yaml#" 114b859450SMaxime Ripard 124b859450SMaxime Ripardmaintainers: 134b859450SMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 144b859450SMaxime Ripard - Maxime Ripard <maxime.ripard@bootlin.com> 154b859450SMaxime Ripard 164b859450SMaxime Ripardproperties: 174b859450SMaxime Ripard compatible: 184b859450SMaxime Ripard const: allwinner,sun7i-a20-gmac 194b859450SMaxime Ripard 204b859450SMaxime Ripard interrupts: 214b859450SMaxime Ripard maxItems: 1 224b859450SMaxime Ripard 234b859450SMaxime Ripard interrupt-names: 244b859450SMaxime Ripard const: macirq 254b859450SMaxime Ripard 264b859450SMaxime Ripard clocks: 274b859450SMaxime Ripard items: 284b859450SMaxime Ripard - description: GMAC main clock 294b859450SMaxime Ripard - description: TX clock 304b859450SMaxime Ripard 314b859450SMaxime Ripard clock-names: 324b859450SMaxime Ripard items: 334b859450SMaxime Ripard - const: stmmaceth 344b859450SMaxime Ripard - const: allwinner_gmac_tx 354b859450SMaxime Ripard 364b859450SMaxime Ripard phy-supply: 374b859450SMaxime Ripard description: 384b859450SMaxime Ripard PHY regulator 394b859450SMaxime Ripard 404b859450SMaxime Ripardrequired: 414b859450SMaxime Ripard - compatible 424b859450SMaxime Ripard - reg 434b859450SMaxime Ripard - interrupts 444b859450SMaxime Ripard - interrupt-names 454b859450SMaxime Ripard - clocks 464b859450SMaxime Ripard - clock-names 474b859450SMaxime Ripard - phy-connection-type 484b859450SMaxime Ripard 494b859450SMaxime Ripardexamples: 504b859450SMaxime Ripard - | 514b859450SMaxime Ripard gmac: ethernet@1c50000 { 524b859450SMaxime Ripard compatible = "allwinner,sun7i-a20-gmac"; 534b859450SMaxime Ripard reg = <0x01c50000 0x10000>; 544b859450SMaxime Ripard interrupts = <0 85 1>; 554b859450SMaxime Ripard interrupt-names = "macirq"; 564b859450SMaxime Ripard clocks = <&ahb_gates 49>, <&gmac_tx>; 574b859450SMaxime Ripard clock-names = "stmmaceth", "allwinner_gmac_tx"; 584b859450SMaxime Ripard phy-connection-type = "mii"; 594b859450SMaxime Ripard }; 604b859450SMaxime Ripard 614b859450SMaxime Ripard# FIXME: We should set it, but it would report all the generic 624b859450SMaxime Ripard# properties as additional properties. 634b859450SMaxime Ripard# additionalProperties: false 644b859450SMaxime Ripard 654b859450SMaxime Ripard... 66