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 7*dd3cb467SAndrew Lunntitle: Allwinner A20 GMAC 84b859450SMaxime Ripard 94b859450SMaxime RipardallOf: 104b859450SMaxime Ripard - $ref: "snps,dwmac.yaml#" 114b859450SMaxime Ripard 124b859450SMaxime Ripardmaintainers: 134b859450SMaxime Ripard - Chen-Yu Tsai <wens@csie.org> 145c7404bbSMaxime Ripard - Maxime Ripard <mripard@kernel.org> 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 52454f5d9dSMaxime RipardunevaluatedProperties: false 53454f5d9dSMaxime Ripard 544b859450SMaxime Ripardexamples: 554b859450SMaxime Ripard - | 564b859450SMaxime Ripard gmac: ethernet@1c50000 { 574b859450SMaxime Ripard compatible = "allwinner,sun7i-a20-gmac"; 584b859450SMaxime Ripard reg = <0x01c50000 0x10000>; 594b859450SMaxime Ripard interrupts = <0 85 1>; 604b859450SMaxime Ripard interrupt-names = "macirq"; 614b859450SMaxime Ripard clocks = <&ahb_gates 49>, <&gmac_tx>; 624b859450SMaxime Ripard clock-names = "stmmaceth", "allwinner_gmac_tx"; 6367d0da99SMaxime Ripard phy-mode = "mii"; 644b859450SMaxime Ripard }; 654b859450SMaxime Ripard 664b859450SMaxime Ripard... 67