Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1# SPDX-License-Identifier: GPL-2.0
2%YAML 1.2
3---
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 Controller Device Tree Bindings
8
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-emac
19
20 reg:
21 maxItems: 1
22
23 interrupts:
24 maxItems: 1
25
26 clocks:
27 maxItems: 1
28
29 allwinner,sram:
30 description: Phandle to the device SRAM
31 $ref: /schemas/types.yaml#/definitions/phandle-array
32 items:
33 - items:
34 - description: phandle to SRAM
35 - description: register value for device
36
37required:
38 - compatible
39 - reg
40 - interrupts
41 - clocks
42 - phy-handle
43 - allwinner,sram
44
45unevaluatedProperties: false
46
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...