67 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/net/allwinner,sun7i-a20-gmac.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A20 GMAC8 9allOf:10 - $ref: snps,dwmac.yaml#11 12maintainers:13 - Chen-Yu Tsai <wens@csie.org>14 - Maxime Ripard <mripard@kernel.org>15 16properties:17 compatible:18 const: allwinner,sun7i-a20-gmac19 20 reg:21 maxItems: 122 23 interrupts:24 maxItems: 125 26 interrupt-names:27 const: macirq28 29 clocks:30 items:31 - description: GMAC main clock32 - description: TX clock33 34 clock-names:35 items:36 - const: stmmaceth37 - const: allwinner_gmac_tx38 39 phy-supply:40 description:41 PHY regulator42 43required:44 - compatible45 - reg46 - interrupts47 - interrupt-names48 - clocks49 - clock-names50 - phy-mode51 52unevaluatedProperties: false53 54examples:55 - |56 gmac: ethernet@1c50000 {57 compatible = "allwinner,sun7i-a20-gmac";58 reg = <0x01c50000 0x10000>;59 interrupts = <0 85 1>;60 interrupt-names = "macirq";61 clocks = <&ahb_gates 49>, <&gmac_tx>;62 clock-names = "stmmaceth", "allwinner_gmac_tx";63 phy-mode = "mii";64 };65 66...67