xref: /linux/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml (revision d53b8e36925256097a08d7cb749198d85cbf9b2b)
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
7title: DPAA2 MAC
8
9maintainers:
10  - Ioana Ciornei <ioana.ciornei@nxp.com>
11
12description:
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
16allOf:
17  - $ref: ethernet-controller.yaml#
18
19properties:
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:
34    maxItems: 1
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  phys:
42    description: A reference to the SerDes lane(s)
43    maxItems: 1
44
45required:
46  - reg
47
48additionalProperties: false
49
50examples:
51  - |
52    dpmacs {
53      #address-cells = <1>;
54      #size-cells = <0>;
55
56      ethernet@4 {
57        compatible = "fsl,qoriq-mc-dpmac";
58        reg = <0x4>;
59        phy-handle = <&mdio1_phy6>;
60        phy-connection-type = "qsgmii";
61        managed = "in-band-status";
62        pcs-handle = <&pcs3_1>;
63      };
64    };
65