Commit 3cdb0157 authored by Paul Walmsley's avatar Paul Walmsley

dt-bindings: riscv: resolve 'make dt_binding_check' warnings

Rob pointed out that one of the examples in the RISC-V 'cpus' YAML
schema results in warnings from 'make dt_binding_check'.  Fix these.

While here, make the whitespace in the second example consistent
with the first example.
Signed-off-by: default avatarPaul Walmsley <paul.walmsley@sifive.com>
Cc: Rob Herring <robh@kernel.org>
Reviewed-by: Rob Herring <robh@kernel.org> # for fixing the dtc warnings
parent 45b03df2
...@@ -152,6 +152,8 @@ examples: ...@@ -152,6 +152,8 @@ examples:
- | - |
// Example 2: Spike ISA Simulator with 1 Hart // Example 2: Spike ISA Simulator with 1 Hart
cpus { cpus {
#address-cells = <1>;
#size-cells = <0>;
cpu@0 { cpu@0 {
device_type = "cpu"; device_type = "cpu";
reg = <0>; reg = <0>;
......
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