Skip to content

Commit ce74095

Browse files
Wolfram Sangrobherring
authored andcommitted
dt-bindings: bus: renesas-bsc: allow additional properties
Allow additional properties to enable devices attached to the bus. Fixes warnings like these: arch/arm/boot/dts/renesas/sh73a0-kzm9g.dtb: bus@fec10000 (renesas,bsc-sh73a0): Unevaluated properties are not allowed ('ethernet@10000000' was unexpected) arch/arm/boot/dts/renesas/r8a73a4-ape6evm.dtb: bus@fec10000 (renesas,bsc-r8a73a4): Unevaluated properties are not allowed ('ethernet@8000000', 'flash@0' were unexpected) Reviewed-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Wolfram Sang <[email protected]> Signed-off-by: Rob Herring (Arm) <[email protected]>
1 parent f704538 commit ce74095

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Documentation/devicetree/bindings/bus/renesas,bsc.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ properties:
4141
interrupts:
4242
maxItems: 1
4343

44+
patternProperties:
45+
# All other properties should be child nodes with unit-address and 'reg'
46+
"@[0-9a-f]+$":
47+
type: object
48+
additionalProperties: true
49+
properties:
50+
reg:
51+
maxItems: 1
52+
53+
required:
54+
- reg
55+
4456
required:
4557
- reg
4658

0 commit comments

Comments
 (0)