Merge tag 'linux-kselftest-kunit-fixes-5.11-rc3' of git://git.kernel.org/pub/scm...
[linux/fpc-iii.git] / Documentation / devicetree / bindings / net / allwinner,sun4i-a10-emac.yaml
blob8d8560a67abf2750787afa144c06c2e43b702a62
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#
7 title: Allwinner A10 EMAC Ethernet Controller Device Tree Bindings
9 allOf:
10   - $ref: "ethernet-controller.yaml#"
12 maintainers:
13   - Chen-Yu Tsai <wens@csie.org>
14   - Maxime Ripard <mripard@kernel.org>
16 properties:
17   compatible:
18     const: allwinner,sun4i-a10-emac
20   reg:
21     maxItems: 1
23   interrupts:
24     maxItems: 1
26   clocks:
27     maxItems: 1
29   allwinner,sram:
30     description: Phandle to the device SRAM
31     $ref: /schemas/types.yaml#/definitions/phandle-array
33 required:
34   - compatible
35   - reg
36   - interrupts
37   - clocks
38   - phy-handle
39   - allwinner,sram
41 unevaluatedProperties: false
43 examples:
44   - |
45     emac: ethernet@1c0b000 {
46         compatible = "allwinner,sun4i-a10-emac";
47         reg = <0x01c0b000 0x1000>;
48         interrupts = <55>;
49         clocks = <&ahb_gates 17>;
50         phy-handle = <&phy0>;
51         allwinner,sram = <&emac_sram 1>;
52     };
54 ...