]>
Commit | Line | Data |
---|---|---|
0dbcd499 IC |
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,qoriq-mc-dpmac.yaml# | |
5 | $schema: http://devicetree.org/meta-schemas/core.yaml# | |
6 | ||
7 | title: DPAA2 MAC bindings | |
8 | ||
9 | maintainers: | |
10 | - Ioana Ciornei <ioana.ciornei@nxp.com> | |
11 | ||
12 | description: | |
13 | This binding represents the DPAA2 MAC objects found on the fsl-mc bus and | |
14 | located under the 'dpmacs' node for the fsl-mc bus DTS node. | |
15 | ||
16 | allOf: | |
17 | - $ref: "ethernet-controller.yaml#" | |
18 | ||
19 | properties: | |
20 | compatible: | |
21 | const: fsl,qoriq-mc-dpmac | |
22 | ||
23 | reg: | |
24 | maxItems: 1 | |
25 | description: The DPMAC number | |
26 | ||
27 | phy-handle: true | |
28 | ||
29 | phy-connection-type: true | |
30 | ||
31 | phy-mode: true | |
32 | ||
33 | pcs-handle: | |
d69c6ddd | 34 | $ref: /schemas/types.yaml#/definitions/phandle |
0dbcd499 IC |
35 | description: |
36 | A reference to a node representing a PCS PHY device found on | |
37 | the internal MDIO bus. | |
38 | ||
39 | managed: true | |
40 | ||
41 | required: | |
42 | - reg | |
43 | ||
44 | additionalProperties: false | |
45 | ||
46 | examples: | |
47 | - | | |
48 | dpmacs { | |
49 | #address-cells = <1>; | |
50 | #size-cells = <0>; | |
51 | ||
52 | ethernet@4 { | |
53 | compatible = "fsl,qoriq-mc-dpmac"; | |
54 | reg = <0x4>; | |
55 | phy-handle = <&mdio1_phy6>; | |
56 | phy-connection-type = "qsgmii"; | |
57 | managed = "in-band-status"; | |
58 | pcs-handle = <&pcs3_1>; | |
59 | }; | |
60 | }; |