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
41required:
42  - reg
43
44additionalProperties: false
45
46examples:
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    };
61