dt-bindings: reset: npcm: add GCR syscon property
Describe syscon property that handles general control registers (GCR) in Nuvoton BMC NPCM reset driver. Signed-off-by: Tomer Maimon <tmaimon77@gmail.com> Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
This commit is contained in:
committed by
Arnd Bergmann
parent
08e950449c
commit
40b88f32cc
@@ -19,6 +19,10 @@ properties:
|
|||||||
'#reset-cells':
|
'#reset-cells':
|
||||||
const: 2
|
const: 2
|
||||||
|
|
||||||
|
nuvoton,sysgcr:
|
||||||
|
$ref: /schemas/types.yaml#/definitions/phandle
|
||||||
|
description: a phandle to access GCR registers.
|
||||||
|
|
||||||
nuvoton,sw-reset-number:
|
nuvoton,sw-reset-number:
|
||||||
$ref: /schemas/types.yaml#/definitions/uint32
|
$ref: /schemas/types.yaml#/definitions/uint32
|
||||||
minimum: 1
|
minimum: 1
|
||||||
@@ -31,6 +35,7 @@ required:
|
|||||||
- compatible
|
- compatible
|
||||||
- reg
|
- reg
|
||||||
- '#reset-cells'
|
- '#reset-cells'
|
||||||
|
- nuvoton,sysgcr
|
||||||
|
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
|
|
||||||
@@ -41,6 +46,7 @@ examples:
|
|||||||
compatible = "nuvoton,npcm750-reset";
|
compatible = "nuvoton,npcm750-reset";
|
||||||
reg = <0xf0801000 0x70>;
|
reg = <0xf0801000 0x70>;
|
||||||
#reset-cells = <2>;
|
#reset-cells = <2>;
|
||||||
|
nuvoton,sysgcr = <&gcr>;
|
||||||
nuvoton,sw-reset-number = <2>;
|
nuvoton,sw-reset-number = <2>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user