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 2057b77df7SNeil Armstrong reg: 2157b77df7SNeil Armstrong maxItems: 1 2257b77df7SNeil Armstrong 234b859450SMaxime Ripard interrupts: 244b859450SMaxime Ripard maxItems: 1 254b859450SMaxime Ripard 264b859450SMaxime Ripard interrupt-names: 274b859450SMaxime Ripard const: macirq 284b859450SMaxime Ripard 294b859450SMaxime Ripard clocks: 304b859450SMaxime Ripard items: 314b859450SMaxime Ripard - description: GMAC main clock 324b859450SMaxime Ripard - description: TX clock 334b859450SMaxime Ripard 344b859450SMaxime Ripard clock-names: 354b859450SMaxime Ripard items: 364b859450SMaxime Ripard - const: stmmaceth 374b859450SMaxime Ripard - const: allwinner_gmac_tx 384b859450SMaxime Ripard 394b859450SMaxime Ripard phy-supply: 404b859450SMaxime Ripard description: 414b859450SMaxime Ripard PHY regulator 424b859450SMaxime Ripard 434b859450SMaxime Ripardrequired: 444b859450SMaxime Ripard - compatible 454b859450SMaxime Ripard - reg 464b859450SMaxime Ripard - interrupts 474b859450SMaxime Ripard - interrupt-names 484b859450SMaxime Ripard - clocks 494b859450SMaxime Ripard - clock-names 5067d0da99SMaxime Ripard - phy-mode 514b859450SMaxime Ripard 524b859450SMaxime Ripardexamples: 534b859450SMaxime Ripard - | 544b859450SMaxime Ripard gmac: ethernet@1c50000 { 554b859450SMaxime Ripard compatible = "allwinner,sun7i-a20-gmac"; 564b859450SMaxime Ripard reg = <0x01c50000 0x10000>; 574b859450SMaxime Ripard interrupts = <0 85 1>; 584b859450SMaxime Ripard interrupt-names = "macirq"; 594b859450SMaxime Ripard clocks = <&ahb_gates 49>, <&gmac_tx>; 604b859450SMaxime Ripard clock-names = "stmmaceth", "allwinner_gmac_tx"; 6167d0da99SMaxime Ripard phy-mode = "mii"; 624b859450SMaxime Ripard }; 634b859450SMaxime Ripard 644b859450SMaxime Ripard# FIXME: We should set it, but it would report all the generic 654b859450SMaxime Ripard# properties as additional properties. 664b859450SMaxime Ripard# additionalProperties: false 674b859450SMaxime Ripard 684b859450SMaxime Ripard... 69