Hisilicon System Reset Controller

Schema identifier ($id): "http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml#"

Schema dialect ($schema): "http://devicetree.org/meta-schemas/core.yaml#"

Maintainers (maintainers): "Wei Xu <xuwei5@hisilicon.com>"

Please also refer to reset.txt in this directory for common reset controller binding usage. The reset controller registers are part of the system-ctl block on hi3660 and hi3670 SoCs.

Properties and child nodes (properties) #

compatible — required here #

Exactly one of these rules must match (oneOf) #

Rule 1

Array item rules (items)

Item 1

Exact value (const): "hisilicon,hi3660-reset"

Rule 2

Array item rules (items)

Item 1

Exact value (const): "hisilicon,hi3670-reset"

Item 2

Exact value (const): "hisilicon,hi3660-reset"

hisi,rst-syscon — not listed as required here #

Deprecated (deprecated): true

phandle of the reset's syscon, use hisilicon,rst-syscon instead

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

hisilicon,rst-syscon — not listed as required here #

phandle of the reset's syscon.

Shared schema rule ($ref): /schemas/types.yaml#/definitions/phandle

#reset-cells — not listed as required here #

Specifies the number of cells needed to encode a reset source.
Cell #1 : offset of the reset assert control register from the syscon
          register base
          offset + 4: deassert control register
          offset + 8: status control register
Cell #2 : bit position of the reset in the reset control register

Exact value (const): 2

Required in this object (required): "compatible"

Properties not matched by properties or patternProperties in this schema (additionalProperties) #

false

Not allowed by this rule.

Examples (examples) #

iomcu_rst_controller {
    compatible = "hisilicon,hi3660-reset";
    hisilicon,rst-syscon = <&iomcu>;
    #reset-cells = <2>;
};

Source notes #

Annotations retained from the schema source

Line 1: SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)

Edit this page