[PATCH 1/2] dt-bindings: PCI: Add generic PCI Endpoint Controller

From: Manivannan Sadhasivam via B4 Relay

Date: Fri Dec 04 2026 - 09:01:29 EST


From: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>

Add a devicetree binding for PCI Endpoint Controllers that are initialised
by firmware or provided by an emulation such as QEMU. These controllers
need no clock, regulator or PHY as all resources are supposed to be
initialised by the firmware. So the binding only describes the
memory-mapped 'ctrl' region used to configure the Functions and the
'outbound' region used to communicate with the Root Complex.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
---
.../devicetree/bindings/pci/pci-ep-generic.yaml | 48 ++++++++++++++++++++++
1 file changed, 48 insertions(+)

diff --git a/Documentation/devicetree/bindings/pci/pci-ep-generic.yaml b/Documentation/devicetree/bindings/pci/pci-ep-generic.yaml
new file mode 100644
index 000000000000..aa0ba619fe25
--- /dev/null
+++ b/Documentation/devicetree/bindings/pci/pci-ep-generic.yaml
@@ -0,0 +1,48 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/pci/pci-ep-generic.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Generic PCI Endpoint Controller
+
+maintainers:
+ - Manivannan Sadhasivam <manivannan.sadhasivam@xxxxxxxxxxxxxxxx>
+
+description:
+ A PCI Endpoint Controller that is initialised by firmware or provided by an
+ emulation, and is configured through a memory-mapped control region.
+
+properties:
+ compatible:
+ const: pci-ep-generic
+
+ reg:
+ items:
+ - description: control region
+ - description: outbound window
+
+ reg-names:
+ items:
+ - const: ctrl
+ - const: outbound
+
+required:
+ - compatible
+ - reg
+ - reg-names
+
+allOf:
+ - $ref: pci-ep.yaml#
+
+unevaluatedProperties: false
+
+examples:
+ - |
+ pcie-ep@10000000 {
+ compatible = "pci-ep-generic";
+ reg = <0x10000000 0x1000>,
+ <0x20000000 0x8000000>;
+ reg-names = "ctrl", "outbound";
+ };
+...

--
2.53.0