]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
dt-bindings: PCI: mediatek: Add support for EcoNet EN7528
authorCaleb James DeLisle <cjd@cjdns.fr>
Thu, 21 May 2026 17:19:50 +0000 (17:19 +0000)
committerManivannan Sadhasivam <mani@kernel.org>
Thu, 11 Jun 2026 07:09:43 +0000 (12:39 +0530)
Introduce EcoNet EN7528 SoC compatible in MediaTek PCIe controller
binding.

EcoNet PCIe controller has the same configuration model as
Mediatek v2 but is initialized more similarly to an MT7621
PCIe.

Signed-off-by: Caleb James DeLisle <cjd@cjdns.fr>
Signed-off-by: Manivannan Sadhasivam <mani@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Link: https://patch.msgid.link/20260521171951.1495781-3-cjd@cjdns.fr
Documentation/devicetree/bindings/pci/mediatek-pcie.yaml

index 0b8c78ec4f91b2493fcc2069493536c15936aca3..c009a7a52bc63e7fcf1b6e2501d24d354de4f3f2 100644 (file)
@@ -14,6 +14,7 @@ properties:
     oneOf:
       - enum:
           - airoha,an7583-pcie
+          - econet,en7528-pcie
           - mediatek,mt2712-pcie
           - mediatek,mt7622-pcie
           - mediatek,mt7629-pcie
@@ -226,6 +227,31 @@ allOf:
 
         mediatek,pbus-csr: false
 
+  - if:
+      properties:
+        compatible:
+          contains:
+            const: econet,en7528-pcie
+    then:
+      properties:
+        clocks:
+          maxItems: 1
+
+        clock-names:
+          maxItems: 1
+
+        resets: false
+
+        reset-names: false
+
+        power-domains: false
+
+        mediatek,pbus-csr: false
+
+      required:
+        - phys
+        - phy-names
+
 unevaluatedProperties: false
 
 examples: