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,sun4i-a10-emac.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Allwinner A10 EMAC Ethernet Controller !! 7 title: Allwinner A10 EMAC Ethernet Controller Device Tree Bindings 8 8 9 allOf: 9 allOf: 10 - $ref: ethernet-controller.yaml# !! 10 - $ref: "ethernet-controller.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 <mripard@kernel.org> 15 15 16 properties: 16 properties: 17 compatible: 17 compatible: 18 const: allwinner,sun4i-a10-emac 18 const: allwinner,sun4i-a10-emac 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 clocks: 26 clocks: 27 maxItems: 1 27 maxItems: 1 28 28 29 allwinner,sram: 29 allwinner,sram: 30 description: Phandle to the device SRAM 30 description: Phandle to the device SRAM 31 $ref: /schemas/types.yaml#/definitions/pha 31 $ref: /schemas/types.yaml#/definitions/phandle-array 32 items: << 33 - items: << 34 - description: phandle to SRAM << 35 - description: register value for de << 36 32 37 required: 33 required: 38 - compatible 34 - compatible 39 - reg 35 - reg 40 - interrupts 36 - interrupts 41 - clocks 37 - clocks 42 - phy-handle 38 - phy-handle 43 - allwinner,sram 39 - allwinner,sram 44 40 45 unevaluatedProperties: false 41 unevaluatedProperties: false 46 42 47 examples: 43 examples: 48 - | 44 - | 49 emac: ethernet@1c0b000 { 45 emac: ethernet@1c0b000 { 50 compatible = "allwinner,sun4i-a10-emac 46 compatible = "allwinner,sun4i-a10-emac"; 51 reg = <0x01c0b000 0x1000>; 47 reg = <0x01c0b000 0x1000>; 52 interrupts = <55>; 48 interrupts = <55>; 53 clocks = <&ahb_gates 17>; 49 clocks = <&ahb_gates 17>; 54 phy-handle = <&phy0>; 50 phy-handle = <&phy0>; 55 allwinner,sram = <&emac_sram 1>; 51 allwinner,sram = <&emac_sram 1>; 56 }; 52 }; 57 53 58 ... 54 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.