xref: /freebsd/sys/contrib/device-tree/Bindings/net/fsl,qoriq-mc-dpmac.yaml (revision b2d2a78ad80ec68d4a17f5aef97d21686cb1e29b)
15def4c47SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
25def4c47SEmmanuel Vadot%YAML 1.2
35def4c47SEmmanuel Vadot---
45def4c47SEmmanuel Vadot$id: http://devicetree.org/schemas/net/fsl,qoriq-mc-dpmac.yaml#
55def4c47SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
65def4c47SEmmanuel Vadot
78bab661aSEmmanuel Vadottitle: DPAA2 MAC
85def4c47SEmmanuel Vadot
95def4c47SEmmanuel Vadotmaintainers:
105def4c47SEmmanuel Vadot  - Ioana Ciornei <ioana.ciornei@nxp.com>
115def4c47SEmmanuel Vadot
125def4c47SEmmanuel Vadotdescription:
135def4c47SEmmanuel Vadot  This binding represents the DPAA2 MAC objects found on the fsl-mc bus and
145def4c47SEmmanuel Vadot  located under the 'dpmacs' node for the fsl-mc bus DTS node.
155def4c47SEmmanuel Vadot
165def4c47SEmmanuel VadotallOf:
17fac71e4eSEmmanuel Vadot  - $ref: ethernet-controller.yaml#
185def4c47SEmmanuel Vadot
195def4c47SEmmanuel Vadotproperties:
205def4c47SEmmanuel Vadot  compatible:
215def4c47SEmmanuel Vadot    const: fsl,qoriq-mc-dpmac
225def4c47SEmmanuel Vadot
235def4c47SEmmanuel Vadot  reg:
245def4c47SEmmanuel Vadot    maxItems: 1
255def4c47SEmmanuel Vadot    description: The DPMAC number
265def4c47SEmmanuel Vadot
275def4c47SEmmanuel Vadot  pcs-handle:
288bab661aSEmmanuel Vadot    maxItems: 1
295def4c47SEmmanuel Vadot    description:
305def4c47SEmmanuel Vadot      A reference to a node representing a PCS PHY device found on
315def4c47SEmmanuel Vadot      the internal MDIO bus.
325def4c47SEmmanuel Vadot
330e8011faSEmmanuel Vadot  phys:
340e8011faSEmmanuel Vadot    description: A reference to the SerDes lane(s)
350e8011faSEmmanuel Vadot    maxItems: 1
360e8011faSEmmanuel Vadot
375def4c47SEmmanuel Vadotrequired:
385def4c47SEmmanuel Vadot  - reg
395def4c47SEmmanuel Vadot
40*b2d2a78aSEmmanuel VadotunevaluatedProperties: false
415def4c47SEmmanuel Vadot
425def4c47SEmmanuel Vadotexamples:
435def4c47SEmmanuel Vadot  - |
445def4c47SEmmanuel Vadot    dpmacs {
455def4c47SEmmanuel Vadot      #address-cells = <1>;
465def4c47SEmmanuel Vadot      #size-cells = <0>;
475def4c47SEmmanuel Vadot
485def4c47SEmmanuel Vadot      ethernet@4 {
495def4c47SEmmanuel Vadot        compatible = "fsl,qoriq-mc-dpmac";
505def4c47SEmmanuel Vadot        reg = <0x4>;
515def4c47SEmmanuel Vadot        phy-handle = <&mdio1_phy6>;
525def4c47SEmmanuel Vadot        phy-connection-type = "qsgmii";
535def4c47SEmmanuel Vadot        managed = "in-band-status";
545def4c47SEmmanuel Vadot        pcs-handle = <&pcs3_1>;
555def4c47SEmmanuel Vadot      };
565def4c47SEmmanuel Vadot    };
57