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 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: 32 items: 33 - items: 33 - items: 34 - description: phandle to SRAM 34 - description: phandle to SRAM 35 - description: register value for de 35 - description: register value for device 36 36 37 required: 37 required: 38 - compatible 38 - compatible 39 - reg 39 - reg 40 - interrupts 40 - interrupts 41 - clocks 41 - clocks 42 - phy-handle 42 - phy-handle 43 - allwinner,sram 43 - allwinner,sram 44 44 45 unevaluatedProperties: false 45 unevaluatedProperties: false 46 46 47 examples: 47 examples: 48 - | 48 - | 49 emac: ethernet@1c0b000 { 49 emac: ethernet@1c0b000 { 50 compatible = "allwinner,sun4i-a10-emac 50 compatible = "allwinner,sun4i-a10-emac"; 51 reg = <0x01c0b000 0x1000>; 51 reg = <0x01c0b000 0x1000>; 52 interrupts = <55>; 52 interrupts = <55>; 53 clocks = <&ahb_gates 17>; 53 clocks = <&ahb_gates 17>; 54 phy-handle = <&phy0>; 54 phy-handle = <&phy0>; 55 allwinner,sram = <&emac_sram 1>; 55 allwinner,sram = <&emac_sram 1>; 56 }; 56 }; 57 57 58 ... 58 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.