dt-bindings: sram: Allow numbers in sram region node name
authorNishanth Menon <nm@ti.com>
Tue, 12 Oct 2021 15:48:33 +0000 (10:48 -0500)
committerRob Herring <robh@kernel.org>
Thu, 28 Oct 2021 12:27:26 +0000 (07:27 -0500)
Sram regions node name describes the region of reserved memory and can
be names such as l3cache@1000. Permit numbers to be used as part of the
reserved memory node name.

Signed-off-by: Nishanth Menon <nm@ti.com>
Link: https://lore.kernel.org/r/20211012154833.14111-1-nm@ti.com
Signed-off-by: Rob Herring <robh@kernel.org>
Documentation/devicetree/bindings/sram/sram.yaml

index 3eda504..939cf24 100644 (file)
@@ -60,7 +60,7 @@ properties:
     type: boolean
 
 patternProperties:
-  "^([a-z]*-)?sram(-section)?@[a-f0-9]+$":
+  "^([a-z0-9]*-)?sram(-section)?@[a-f0-9]+$":
     type: object
     description:
       Each child of the sram node specifies a region of reserved memory.