Commit db2fb74c authored by Wei Fang's avatar Wei Fang Committed by David S. Miller
Browse files

dt-bindings: net: add i.MX95 ENETC support



The ENETC of i.MX95 has been upgraded to revision 4.1, and the vendor
ID and device ID have also changed, so add the new compatible strings
for i.MX95 ENETC. In addition, i.MX95 supports configuration of RGMII
or RMII reference clock.

Signed-off-by: default avatarWei Fang <wei.fang@nxp.com>
Reviewed-by: default avatarFrank Li <Frank.Li@nxp.com>
Reviewed-by: default avatarRob Herring (Arm) <robh@kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent da98dbbc
Loading
Loading
Loading
Loading
+25 −3
Original line number Diff line number Diff line
@@ -20,14 +20,25 @@ maintainers:

properties:
  compatible:
    items:
    oneOf:
      - items:
          - enum:
              - pci1957,e100
          - const: fsl,enetc
      - enum:
          - pci1131,e101

  reg:
    maxItems: 1

  clocks:
    items:
      - description: MAC transmit/receive reference clock

  clock-names:
    items:
      - const: ref

  mdio:
    $ref: mdio.yaml
    unevaluatedProperties: false
@@ -40,6 +51,17 @@ required:
allOf:
  - $ref: /schemas/pci/pci-device.yaml
  - $ref: ethernet-controller.yaml
  - if:
      not:
        properties:
          compatible:
            contains:
              enum:
                - pci1131,e101
    then:
      properties:
        clocks: false
        clock-names: false

unevaluatedProperties: false