mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-19 10:44:14 +08:00
dt-bindings: arm: hisilicon: add missing properties into sysctrl.yaml
Add properties: #reset-cells, #address-cells, #size-cells and ranges. Due to the Hisilicon system controller node may contains child nodes, change the value of "additionalProperties" from "false" to "type: object". The examples have also been updated. Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com> Link: https://lore.kernel.org/r/20201012061225.1597-10-thunder.leizhen@huawei.com Signed-off-by: Rob Herring <robh@kernel.org>
This commit is contained in:
parent
a5917fa876
commit
879baf1177
@ -71,21 +71,43 @@ properties:
|
|||||||
'#clock-cells':
|
'#clock-cells':
|
||||||
const: 1
|
const: 1
|
||||||
|
|
||||||
|
'#reset-cells':
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
'#address-cells':
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
'#size-cells':
|
||||||
|
const: 1
|
||||||
|
|
||||||
|
ranges: true
|
||||||
|
|
||||||
required:
|
required:
|
||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties:
|
||||||
|
type: object
|
||||||
|
|
||||||
examples:
|
examples:
|
||||||
- |
|
- |
|
||||||
/* Hisilicon system controller */
|
/* Hisilicon system controller */
|
||||||
system-controller@fc802000 {
|
system-controller@802000 {
|
||||||
compatible = "hisilicon,sysctrl", "syscon";
|
compatible = "hisilicon,sysctrl", "syscon";
|
||||||
reg = <0xfc802000 0x1000>;
|
#address-cells = <1>;
|
||||||
|
#size-cells = <1>;
|
||||||
|
ranges = <0 0x802000 0x1000>;
|
||||||
|
reg = <0x802000 0x1000>;
|
||||||
|
|
||||||
smp-offset = <0x31c>;
|
smp-offset = <0x31c>;
|
||||||
resume-offset = <0x308>;
|
resume-offset = <0x308>;
|
||||||
reboot-offset = <0x4>;
|
reboot-offset = <0x4>;
|
||||||
|
|
||||||
|
clock: clock@0 {
|
||||||
|
compatible = "hisilicon,hi3620-clock";
|
||||||
|
reg = <0 0x10000>;
|
||||||
|
#clock-cells = <1>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
/* HiP01 system controller */
|
/* HiP01 system controller */
|
||||||
|
Loading…
Reference in New Issue
Block a user