[PATCH v2 10/12] dt-bindings: memory: xlnx,versal-net-ddrmc5: Add amd,num-ctrl property
From: Shubhrajyoti Datta
Date: Wed Nov 18 2026 - 09:24:58 EST
Add the amd,num-ctrl property to describe the number of DDR memory
controllers enabled in the design. Valid range is 1 to 8.
The driver then can enumerate only the enabled controllers.
Signed-off-by: Shubhrajyoti Datta <shubhrajyoti.datta@xxxxxxx>
---
Changes in v2:
Add amd,num-ctrl property to device tree
The property was requested in the discussion below
https://lore.kernel.org/all/34ffba5a-8e9a-49b9-9e36-c31d0e4369f8@xxxxxxx/
.../memory-controllers/xlnx,versal-net-ddrmc5.yaml | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-net-ddrmc5.yaml b/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-net-ddrmc5.yaml
index 479288567d0b..65feacd007a1 100644
--- a/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-net-ddrmc5.yaml
+++ b/Documentation/devicetree/bindings/memory-controllers/xlnx,versal-net-ddrmc5.yaml
@@ -27,6 +27,15 @@ properties:
with remote processor. APU primarily communicates with the RPU for
accessing the DDRMC address space and getting error notification.
+ amd,num-ctrl:
+ description:
+ Number of DDR memory controller (DDRMC) instances enabled in the
+ design.
+ $ref: /schemas/types.yaml#/definitions/uint32
+ minimum: 1
+ maximum: 8
+ default: 8
+
required:
- compatible
- amd,rproc
--
2.44.4