brintos

brintos / linux-shallow public Read only

0
0
Text · 1.6 KiB · e4de002 Raw
59 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/reset/hisilicon,hi3660-reset.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Hisilicon System Reset Controller8 9maintainers:10  - Wei Xu <xuwei5@hisilicon.com>11 12description: |13  Please also refer to reset.txt in this directory for common reset14  controller binding usage.15  The reset controller registers are part of the system-ctl block on16  hi3660 and hi3670 SoCs.17 18properties:19  compatible:20    oneOf:21      - items:22          - const: hisilicon,hi3660-reset23      - items:24          - const: hisilicon,hi3670-reset25          - const: hisilicon,hi3660-reset26 27  hisi,rst-syscon:28    deprecated: true29    description: phandle of the reset's syscon, use hisilicon,rst-syscon instead30    $ref: /schemas/types.yaml#/definitions/phandle31 32  hisilicon,rst-syscon:33    description: phandle of the reset's syscon.34    $ref: /schemas/types.yaml#/definitions/phandle35 36  '#reset-cells':37    description: |38      Specifies the number of cells needed to encode a reset source.39      Cell #1 : offset of the reset assert control register from the syscon40                register base41                offset + 4: deassert control register42                offset + 8: status control register43      Cell #2 : bit position of the reset in the reset control register44    const: 245 46required:47  - compatible48 49additionalProperties: false50 51examples:52  - |53    iomcu_rst_controller {54        compatible = "hisilicon,hi3660-reset";55        hisilicon,rst-syscon = <&iomcu>;56        #reset-cells = <2>;57    };58...59