Debian Codegraph @

Documentation/devicetree/bindings/net/fsl,cpm-enet.yaml

raw
1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/net/fsl,cpm-enet.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Network for cpm enet
8
9 maintainers:
10 - Frank Li <[email protected]>
11
12 properties:
13 compatible:
14 oneOf:
15 - enum:
16 - fsl,cpm1-scc-enet
17 - fsl,cpm2-scc-enet
18 - fsl,cpm1-fec-enet
19 - fsl,cpm2-fcc-enet
20 - fsl,qe-enet
21 - items:
22 - enum:
23 - fsl,mpc8272-fcc-enet
24 - const: fsl,cpm2-fcc-enet
25
26 reg:
27 minItems: 1
28 maxItems: 3
29
30 interrupts:
31 maxItems: 1
32
33 fsl,cpm-command:
34 $ref: /schemas/types.yaml#/definitions/uint32
35 description: cpm command
36
37 required:
38 - compatible
39 - reg
40 - interrupts
41
42 allOf:
43 - $ref: ethernet-controller.yaml
44
45 unevaluatedProperties: false
46
47 examples:
48 - |
49 ethernet@11300 {
50 compatible = "fsl,mpc8272-fcc-enet",
51 "fsl,cpm2-fcc-enet";
52 reg = <0x11300 0x20 0x8400 0x100 0x11390 1>;
53 local-mac-address = [ 00 00 00 00 00 00 ];
54 interrupts = <20 8>;
55 interrupt-parent = <&pic>;
56 phy-handle = <&phy0>;
57 fsl,cpm-command = <0x12000300>;
58 };
59