1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/net/allwinn 4 $id: http://devicetree.org/schemas/net/allwinner,sun7i-a20-gmac.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A20 GMAC !! 7 title: Allwinner A20 GMAC Device Tree Bindings 8 8 9 allOf: 9 allOf: 10 - $ref: snps,dwmac.yaml# !! 10 - $ref: "snps,dwmac.yaml#" 11 11 12 maintainers: 12 maintainers: 13 - Chen-Yu Tsai <wens@csie.org> 13 - Chen-Yu Tsai <wens@csie.org> 14 - Maxime Ripard <mripard@kernel.org> !! 14 - Maxime Ripard <maxime.ripard@bootlin.com> 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: allwinner,sun7i-a20-gmac 18 const: allwinner,sun7i-a20-gmac 19 19 20 reg: 20 reg: 21 maxItems: 1 21 maxItems: 1 22 22 23 interrupts: 23 interrupts: 24 maxItems: 1 24 maxItems: 1 25 25 26 interrupt-names: 26 interrupt-names: 27 const: macirq 27 const: macirq 28 28 29 clocks: 29 clocks: 30 items: 30 items: 31 - description: GMAC main clock 31 - description: GMAC main clock 32 - description: TX clock 32 - description: TX clock 33 33 34 clock-names: 34 clock-names: 35 items: 35 items: 36 - const: stmmaceth 36 - const: stmmaceth 37 - const: allwinner_gmac_tx 37 - const: allwinner_gmac_tx 38 38 39 phy-supply: 39 phy-supply: 40 description: 40 description: 41 PHY regulator 41 PHY regulator 42 42 43 required: 43 required: 44 - compatible 44 - compatible 45 - reg 45 - reg 46 - interrupts 46 - interrupts 47 - interrupt-names 47 - interrupt-names 48 - clocks 48 - clocks 49 - clock-names 49 - clock-names 50 - phy-mode 50 - phy-mode 51 51 52 unevaluatedProperties: false << 53 << 54 examples: 52 examples: 55 - | 53 - | 56 gmac: ethernet@1c50000 { 54 gmac: ethernet@1c50000 { 57 compatible = "allwinner,sun7i-a20-gmac 55 compatible = "allwinner,sun7i-a20-gmac"; 58 reg = <0x01c50000 0x10000>; 56 reg = <0x01c50000 0x10000>; 59 interrupts = <0 85 1>; 57 interrupts = <0 85 1>; 60 interrupt-names = "macirq"; 58 interrupt-names = "macirq"; 61 clocks = <&ahb_gates 49>, <&gmac_tx>; 59 clocks = <&ahb_gates 49>, <&gmac_tx>; 62 clock-names = "stmmaceth", "allwinner_ 60 clock-names = "stmmaceth", "allwinner_gmac_tx"; 63 phy-mode = "mii"; 61 phy-mode = "mii"; 64 }; 62 }; >> 63 >> 64 # FIXME: We should set it, but it would report all the generic >> 65 # properties as additional properties. >> 66 # additionalProperties: false 65 67 66 ... 68 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.