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: Wei Fang <wei.fang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Reviewed-by: Rob Herring (Arm) <robh@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Wei Fang 2024-10-30 17:39:13 +08:00 committed by David S. Miller
parent da98dbbc2c
commit db2fb74c85

View File

@ -20,14 +20,25 @@ maintainers:
properties:
compatible:
items:
oneOf:
- items:
- enum:
- pci1957,e100
- const: fsl,enetc
- enum:
- pci1957,e100
- const: fsl,enetc
- 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