[PATCH v3 1/2] dt-bindings: PCI: mediatek-gen3: Add support for Airoha AN7583
Christian Marangi
ansuelsmth at gmail.com
Fri Nov 7 08:22:18 PST 2025
On Thu, Sep 25, 2025 at 05:53:08PM +0200, Christian Marangi wrote:
> Introduce Airoha AN7583 SoC compatible in mediatek-gen3 PCIe controller
> binding.
>
> This differ from the Airoha EN7581 SoC by the fact that only one Gen3
> PCIe controller is present on the SoC.
>
> The compatible have -gen3 tag as the Airoha AN7583 SoC have both GEN2
> and GEN3 PCIe controller and it's required to differentiate them as
> different schema are required for the 2 PCIe Controller variant.
>
> Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
Any chance this can be picked? All the 2 patch got review tag.
> ---
> Changes v3:
> - Add review tag
> - Add comments for compatible inconsistency
> Changes v2:
> - Fix alphabetical order
>
> .../bindings/pci/mediatek-pcie-gen3.yaml | 21 +++++++++++++++++++
> 1 file changed, 21 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
> index 0278845701ce..1ca9594a9739 100644
> --- a/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
> +++ b/Documentation/devicetree/bindings/pci/mediatek-pcie-gen3.yaml
> @@ -58,6 +58,7 @@ properties:
> - const: mediatek,mt8196-pcie
> - const: mediatek,mt8192-pcie
> - const: mediatek,mt8196-pcie
> + - const: airoha,an7583-pcie-gen3
> - const: airoha,en7581-pcie
>
> reg:
> @@ -276,6 +277,26 @@ allOf:
>
> mediatek,pbus-csr: false
>
> + - if:
> + properties:
> + compatible:
> + const: airoha,an7583-pcie-gen3
> + then:
> + properties:
> + clocks:
> + maxItems: 1
> +
> + clock-names:
> + items:
> + - const: sys-ck
> +
> + resets:
> + minItems: 1
> +
> + reset-names:
> + items:
> + - const: phy-lane0
> +
> - if:
> properties:
> compatible:
> --
> 2.51.0
>
--
Ansuel
More information about the Linux-mediatek
mailing list