Re: [PATCH net-next v2 1/3] dt-bindings: net: cdns,macb: add a compatible for Microchip pic64hpsc
From: Conor Dooley
Date: Wed Mar 11 2026 - 14:30:16 EST
On Tue, Mar 10, 2026 at 02:22:00PM -0700, Charles Perry wrote:
> Add "microchip,pic64hpsc-gem" for "PIC64-HPSC" and
> "microchip,pic64hx-gem" for "PIC64HX", compatible with the former.
>
> The generic compatible "cdns,gem" works but offers limited features.
> Keep it as a fallback.
>
> The GEM IPs within pic64hpsc have their MDIO controllers
> unconnected from any physical pin. Add a check to prevent adding PHYs
> under the GEM node.
>
> Signed-off-by: Charles Perry <charles.perry@xxxxxxxxxxxxx>
Acked-by: Conor Dooley <conor.dooley@xxxxxxxxxxxxx>
> ---
> .../devicetree/bindings/net/cdns,macb.yaml | 19 +++++++++++++++++++
> 1 file changed, 19 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/net/cdns,macb.yaml b/Documentation/devicetree/bindings/net/cdns,macb.yaml
> index cb14c35ba996..b934abd98e20 100644
> --- a/Documentation/devicetree/bindings/net/cdns,macb.yaml
> +++ b/Documentation/devicetree/bindings/net/cdns,macb.yaml
> @@ -70,6 +70,14 @@ properties:
> - microchip,sama7d65-gem # Microchip SAMA7D65 gigabit ethernet interface
> - const: microchip,sama7g5-gem # Microchip SAMA7G5 gigabit ethernet interface
>
> + - items:
> + - const: microchip,pic64hpsc-gem # Microchip PIC64-HPSC
> + - const: cdns,gem
> + - items:
> + - const: microchip,pic64hx-gem # Microchip PIC64HX
> + - const: microchip,pic64hpsc-gem # Microchip PIC64-HPSC
> + - const: cdns,gem
> +
> reg:
> minItems: 1
> items:
> @@ -196,6 +204,17 @@ allOf:
> required:
> - phys
>
> + - if:
> + properties:
> + compatible:
> + contains:
> + const: microchip,p64h-gem
> + then:
> + patternProperties:
> + "^ethernet-phy@[0-9a-f]$": false
> + properties:
> + mdio: false
> +
> unevaluatedProperties: false
>
> examples:
> --
> 2.47.3
>
Attachment:
signature.asc
Description: PGP signature