Commit 1b4e3ca2 authored by Rob Herring's avatar Rob Herring

dt-bindings: arm,vexpress-juno: Fix 'motherboard' node name

Commit 9d0a36dd ("arm64: dts: fvp/juno: Fix bus node names") changed
'motherboard' to 'motherboard-bus', but didn't update the schema. In the
mean time, the simple-bus schema started requiring child nodes to have a
unit-address. Update the schema to address both of these issues.

Cc: Andre Przywara <andre.przywara@arm.com>
Cc: Sudeep Holla <sudeep.holla@arm.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: default avatarRob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20210819184239.1192395-2-robh@kernel.org
parent bb667205
...@@ -154,9 +154,9 @@ patternProperties: ...@@ -154,9 +154,9 @@ patternProperties:
description: Static Memory Bus (SMB) node, if this exists it describes description: Static Memory Bus (SMB) node, if this exists it describes
the connection between the motherboard and any tiles. Sometimes the the connection between the motherboard and any tiles. Sometimes the
compatible is placed directly under this node, sometimes it is placed compatible is placed directly under this node, sometimes it is placed
in a subnode named "motherboard". Sometimes the compatible includes in a subnode named "motherboard-bus". Sometimes the compatible includes
"arm,vexpress,v2?-p1" sometimes (on software models) is is just "arm,vexpress,v2?-p1" sometimes (on software models) is is just
"simple-bus". If the compatible is placed in the "motherboard" node, "simple-bus". If the compatible is placed in the "motherboard-bus" node,
it is stricter and always has two compatibles. it is stricter and always has two compatibles.
type: object type: object
$ref: '/schemas/simple-bus.yaml' $ref: '/schemas/simple-bus.yaml'
...@@ -170,7 +170,9 @@ patternProperties: ...@@ -170,7 +170,9 @@ patternProperties:
- arm,vexpress,v2p-p1 - arm,vexpress,v2p-p1
- const: simple-bus - const: simple-bus
- const: simple-bus - const: simple-bus
motherboard:
patternProperties:
'^motherboard-bus@':
type: object type: object
description: The motherboard description provides a single "motherboard" description: The motherboard description provides a single "motherboard"
node using 2 address cells corresponding to the Static Memory Bus node using 2 address cells corresponding to the Static Memory Bus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment