1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/net/allwinner,sun7i-a20-gmac.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Allwinner A20 GMAC Device Tree Bindings
10 - $ref: "snps,dwmac.yaml#"
13 - Chen-Yu Tsai <wens@csie.org>
14 - Maxime Ripard <maxime.ripard@bootlin.com>
18 const: allwinner,sun7i-a20-gmac
28 - description: GMAC main clock
29 - description: TX clock
34 - const: allwinner_gmac_tx
51 gmac: ethernet@1c50000 {
52 compatible = "allwinner,sun7i-a20-gmac";
53 reg = <0x01c50000 0x10000>;
54 interrupts = <0 85 1>;
55 interrupt-names = "macirq";
56 clocks = <&ahb_gates 49>, <&gmac_tx>;
57 clock-names = "stmmaceth", "allwinner_gmac_tx";
61 # FIXME: We should set it, but it would report all the generic
62 # properties as additional properties.
63 # additionalProperties: false