dt-bindings: sram: Allow for the childs nodes to be called sections

The generic SRAM binding currently only allows for child nodes of an SRAM
to be called sram too. However, these are also called sections in a number
of device tree, which seems a bit more accurate.

Let's change the name pattern to allow both.

Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
Maxime Ripard 2019-12-09 10:34:38 +01:00 committed by Rob Herring
parent 0b2f7ad1f2
commit b19da6636c

View file

@ -55,7 +55,7 @@ properties:
type: boolean
patternProperties:
"^([a-z]*-)?sram@[a-f0-9]+$":
"^([a-z]*-)?sram(-section)?@[a-f0-9]+$":
type: object
description:
Each child of the sram node specifies a region of reserved memory.