Commit 40b88f32 authored by Tomer Maimon's avatar Tomer Maimon Committed by Arnd Bergmann
Browse files

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: default avatarTomer Maimon <tmaimon77@gmail.com>
Reviewed-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
parent 08e95044
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -19,6 +19,10 @@ properties:
  '#reset-cells':
    const: 2

  nuvoton,sysgcr:
    $ref: /schemas/types.yaml#/definitions/phandle
    description: a phandle to access GCR registers.

  nuvoton,sw-reset-number:
    $ref: /schemas/types.yaml#/definitions/uint32
    minimum: 1
@@ -31,6 +35,7 @@ required:
  - compatible
  - reg
  - '#reset-cells'
  - nuvoton,sysgcr

additionalProperties: false

@@ -41,6 +46,7 @@ examples:
        compatible = "nuvoton,npcm750-reset";
        reg = <0xf0801000 0x70>;
        #reset-cells = <2>;
        nuvoton,sysgcr = <&gcr>;
        nuvoton,sw-reset-number = <2>;
    };