mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
synced 2025-09-01 06:39:05 +00:00

The EMDIO 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 EMDIO. Signed-off-by: Wei Fang <wei.fang@nxp.com> Reviewed-by: Frank Li <Frank.Li@nxp.com> Reviewed-by: Vladimir Oltean <vladimir.oltean@nxp.com> Reviewed-by: Rob Herring (Arm) <robh@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
61 lines
1.4 KiB
YAML
61 lines
1.4 KiB
YAML
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
|
|
%YAML 1.2
|
|
---
|
|
$id: http://devicetree.org/schemas/net/fsl,enetc-mdio.yaml#
|
|
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
|
|
|
title: ENETC external MDIO PCIe endpoint device
|
|
|
|
description:
|
|
NETC provides an external master MDIO interface (EMDIO) for managing external
|
|
devices (PHYs). EMDIO supports both Clause 22 and 45 protocols. And the EMDIO
|
|
provides a means for different software modules to share a single set of MDIO
|
|
signals to access their PHYs.
|
|
|
|
maintainers:
|
|
- Frank Li <Frank.Li@nxp.com>
|
|
- Vladimir Oltean <vladimir.oltean@nxp.com>
|
|
- Wei Fang <wei.fang@nxp.com>
|
|
- Claudiu Manoil <claudiu.manoil@nxp.com>
|
|
|
|
properties:
|
|
compatible:
|
|
oneOf:
|
|
- items:
|
|
- enum:
|
|
- pci1957,ee01
|
|
- const: fsl,enetc-mdio
|
|
- items:
|
|
- const: pci1131,ee00
|
|
|
|
reg:
|
|
maxItems: 1
|
|
|
|
required:
|
|
- compatible
|
|
- reg
|
|
|
|
allOf:
|
|
- $ref: mdio.yaml
|
|
- $ref: /schemas/pci/pci-device.yaml
|
|
|
|
unevaluatedProperties: false
|
|
|
|
examples:
|
|
- |
|
|
pcie{
|
|
#address-cells = <3>;
|
|
#size-cells = <2>;
|
|
|
|
mdio@0,3 {
|
|
compatible = "pci1957,ee01", "fsl,enetc-mdio";
|
|
reg = <0x000300 0 0 0 0>;
|
|
#address-cells = <1>;
|
|
#size-cells = <0>;
|
|
|
|
ethernet-phy@2 {
|
|
reg = <0x2>;
|
|
};
|
|
};
|
|
};
|