dt-bindings: mtd: physmap: Ensure all properties are defined

Device specific schemas should not allow undefined properties which is
what 'additionalProperties: true' allows. Add the missing 'ranges'
property, and fix this constraint.

Signed-off-by: Rob Herring (Arm) <robh@kernel.org>
Acked-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
This commit is contained in:
Rob Herring (Arm)
2025-02-03 15:30:35 -06:00
committed by Miquel Raynal
parent 2014c95afe
commit 9ea13d9e40
@@ -122,6 +122,8 @@ properties:
'#size-cells':
const: 1
ranges: true
big-endian: true
little-endian: true
@@ -143,8 +145,7 @@ then:
required:
- syscon
# FIXME: A parent bus may define timing properties
additionalProperties: true
unevaluatedProperties: false
examples:
- |