[PATCH 1/6] dt-bindings: arm: keystone: ti,sci: Update nodename pattern

Beleswar Padhi b-padhi at ti.com
Wed Sep 30 12:41:26 PDT 2026


The $nodename pattern for TI-SCI controllers mandates specifying a unit
address, which in turn requires a 'reg' property. This 'reg' is only
used to describe an optional memory-mapped debug-messages region.

Some controllers may not implement this debug region, so it has no 'reg'
and unit address. Therefore, relax the $nodename pattern to allow the
unit address to be omitted for such controllers. Keep the unit address
mandatory for the existing ti,k2g-sci and ti,am654-sci controllers.

Signed-off-by: Beleswar Padhi <b-padhi at ti.com>
---
Note: This patch is independent can be applied directly.

Cc: Nishanth Menon <nm at ti.com>
Cc: Tero Kristo <kristo at kernel.org>
Cc: Santosh Shilimkar <ssantosh at kernel.org>
Cc: Rob Herring <robh at kernel.org>
Cc: Krzysztof Kozlowski <krzk+dt at kernel.org>
Cc: Conor Dooley <conor+dt at kernel.org>
Cc: linux-arm-kernel at lists.infradead.org
Cc: devicetree at vger.kernel.org
Cc: linux-kernel at vger.kernel.org

 .../devicetree/bindings/arm/keystone/ti,sci.yaml  | 15 ++++++++++++++-
 1 file changed, 14 insertions(+), 1 deletion(-)

diff --git a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
index 25a2b42105e54..67acce8a559a1 100644
--- a/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
+++ b/Documentation/devicetree/bindings/arm/keystone/ti,sci.yaml
@@ -30,7 +30,7 @@ description: |
 
 properties:
   $nodename:
-    pattern: "^system-controller@[0-9a-f]+$"
+    pattern: "^system-controller(@[0-9a-f]+)?$"
 
   compatible:
     oneOf:
@@ -84,6 +84,19 @@ required:
   - mbox-names
   - mboxes
 
+allOf:
+  - if:
+      properties:
+        compatible:
+          contains:
+            enum:
+              - ti,k2g-sci
+              - ti,am654-sci
+    then:
+      properties:
+        $nodename:
+          pattern: "^system-controller@[0-9a-f]+$"
+
 additionalProperties: false
 
 examples:
-- 
2.34.1




More information about the linux-arm-kernel mailing list