59 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/net/allwinner,sun4i-a10-emac.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A10 EMAC Ethernet Controller8 9allOf:10 - $ref: ethernet-controller.yaml#11 12maintainers:13 - Chen-Yu Tsai <wens@csie.org>14 - Maxime Ripard <mripard@kernel.org>15 16properties:17 compatible:18 const: allwinner,sun4i-a10-emac19 20 reg:21 maxItems: 122 23 interrupts:24 maxItems: 125 26 clocks:27 maxItems: 128 29 allwinner,sram:30 description: Phandle to the device SRAM31 $ref: /schemas/types.yaml#/definitions/phandle-array32 items:33 - items:34 - description: phandle to SRAM35 - description: register value for device36 37required:38 - compatible39 - reg40 - interrupts41 - clocks42 - phy-handle43 - allwinner,sram44 45unevaluatedProperties: false46 47examples:48 - |49 emac: ethernet@1c0b000 {50 compatible = "allwinner,sun4i-a10-emac";51 reg = <0x01c0b000 0x1000>;52 interrupts = <55>;53 clocks = <&ahb_gates 17>;54 phy-handle = <&phy0>;55 allwinner,sram = <&emac_sram 1>;56 };57 58...59