xref: /linux/Documentation/devicetree/bindings/net/fsl,qoriq-mc-dpmac.yaml (revision c7546e2c3cb739a3c1a2f5acaf9bb629d401afe5)
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  pcs-handle:
28    maxItems: 1
29    description:
30      A reference to a node representing a PCS PHY device found on
31      the internal MDIO bus.
32
33  phys:
34    description: A reference to the SerDes lane(s)
35    maxItems: 1
36
37required:
38  - reg
39
40unevaluatedProperties: false
41
42examples:
43  - |
44    dpmacs {
45      #address-cells = <1>;
46      #size-cells = <0>;
47
48      ethernet@4 {
49        compatible = "fsl,qoriq-mc-dpmac";
50        reg = <0x4>;
51        phy-handle = <&mdio1_phy6>;
52        phy-connection-type = "qsgmii";
53        managed = "in-band-status";
54        pcs-handle = <&pcs3_1>;
55      };
56    };
57