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:
17*fac71e4eSEmmanuel 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  phy-handle: true
285def4c47SEmmanuel Vadot
295def4c47SEmmanuel Vadot  phy-connection-type: true
305def4c47SEmmanuel Vadot
315def4c47SEmmanuel Vadot  phy-mode: true
325def4c47SEmmanuel Vadot
335def4c47SEmmanuel Vadot  pcs-handle:
348bab661aSEmmanuel Vadot    maxItems: 1
355def4c47SEmmanuel Vadot    description:
365def4c47SEmmanuel Vadot      A reference to a node representing a PCS PHY device found on
375def4c47SEmmanuel Vadot      the internal MDIO bus.
385def4c47SEmmanuel Vadot
395def4c47SEmmanuel Vadot  managed: true
405def4c47SEmmanuel Vadot
415def4c47SEmmanuel Vadotrequired:
425def4c47SEmmanuel Vadot  - reg
435def4c47SEmmanuel Vadot
445def4c47SEmmanuel VadotadditionalProperties: false
455def4c47SEmmanuel Vadot
465def4c47SEmmanuel Vadotexamples:
475def4c47SEmmanuel Vadot  - |
485def4c47SEmmanuel Vadot    dpmacs {
495def4c47SEmmanuel Vadot      #address-cells = <1>;
505def4c47SEmmanuel Vadot      #size-cells = <0>;
515def4c47SEmmanuel Vadot
525def4c47SEmmanuel Vadot      ethernet@4 {
535def4c47SEmmanuel Vadot        compatible = "fsl,qoriq-mc-dpmac";
545def4c47SEmmanuel Vadot        reg = <0x4>;
555def4c47SEmmanuel Vadot        phy-handle = <&mdio1_phy6>;
565def4c47SEmmanuel Vadot        phy-connection-type = "qsgmii";
575def4c47SEmmanuel Vadot        managed = "in-band-status";
585def4c47SEmmanuel Vadot        pcs-handle = <&pcs3_1>;
595def4c47SEmmanuel Vadot      };
605def4c47SEmmanuel Vadot    };
61