dt-bindings: arm: hisilicon: add missing properties into cpuctrl.yaml
Add properties: #address-cells, #size-cells and ranges. Due to the Hisilicon CPU controller node may contains child nodes, change the value of "additionalProperties" from "false" to "type: object". The corresponding examples are also added. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20201012061225.1597-11-thunder.leizhen@huawei.com Signed-off-by: Rob Herring <robh@kernel.org>zero-sugar-mainline-defconfig
parent
879baf1177
commit
0450d1f9a2
|
@ -21,9 +21,34 @@ properties:
|
||||||
reg:
|
reg:
|
||||||
maxItems: 1
|
maxItems: 1
|
||||||
|
|
||||||
|
"#address-cells":
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
"#size-cells":
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
ranges: true
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
|
||||||
|
examples:
|
||||||
|
- |
|
||||||
|
cpuctrl@a22000 {
|
||||||
|
compatible = "hisilicon,cpuctrl";
|
||||||
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
reg = <0x00a22000 0x2000>;
|
||||||
|
ranges = <0 0x00a22000 0x2000>;
|
||||||
|
|
||||||
|
clock: clock@0 {
|
||||||
|
compatible = "hisilicon,hix5hd2-clock";
|
||||||
|
reg = <0 0x2000>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
|
};
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in New Issue