Add bindings for the HPE GXP SoC reset controller. Consists of a single register which holds one reset line per bit. A line is asserted while its bit is set. Signed-off-by: Michal Gorlas --- .../devicetree/bindings/reset/hpe,gxp-reset.yaml | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/Documentation/devicetree/bindings/reset/hpe,gxp-reset.yaml b/Documentation/devicetree/bindings/reset/hpe,gxp-reset.yaml new file mode 100644 index 000000000000..715e26f8fe41 --- /dev/null +++ b/Documentation/devicetree/bindings/reset/hpe,gxp-reset.yaml @@ -0,0 +1,40 @@ +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/reset/hpe,gxp-reset.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: HPE GXP Reset controller + +maintainers: + - Michal Gorlas + +description: | + Reset controller of the HPE GXP SoC. The register holds one reset + line per bit. A line is asserted while the bit is set. + +properties: + compatible: + const: hpe,gxp-reset + + reg: + maxItems: 1 + + '#reset-cells': + const: 1 + description: Bit number of the reset line. + +required: + - compatible + - reg + - '#reset-cells' + +additionalProperties: false + +examples: + - | + reset-controller@c00000c0 { + compatible = "hpe,gxp-reset"; + reg = <0xc00000c0 0x4>; + #reset-cells = <1>; + }; -- 2.56.0