brintos

brintos / linux-shallow public Read only

0
0
Text · 1.4 KiB · d82e65e 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/nuvoton,npcm750-reset.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Nuvoton NPCM Reset controller8 9maintainers:10  - Tomer Maimon <tmaimon77@gmail.com>11 12properties:13  compatible:14    enum:15      - nuvoton,npcm750-reset        # Poleg NPCM7XX SoC16      - nuvoton,npcm845-reset        # Arbel NPCM8XX SoC17 18  reg:19    maxItems: 120 21  '#reset-cells':22    const: 223 24  nuvoton,sysgcr:25    $ref: /schemas/types.yaml#/definitions/phandle26    description: a phandle to access GCR registers.27 28  nuvoton,sw-reset-number:29    $ref: /schemas/types.yaml#/definitions/uint3230    minimum: 131    maximum: 432    description: |33      Contains the software reset number to restart the SoC.34      If not specified, software reset is disabled.35 36required:37  - compatible38  - reg39  - '#reset-cells'40  - nuvoton,sysgcr41 42additionalProperties: false43 44examples:45  - |46    #include <dt-bindings/reset/nuvoton,npcm7xx-reset.h>47    rstc: rstc@f0801000 {48        compatible = "nuvoton,npcm750-reset";49        reg = <0xf0801000 0x70>;50        #reset-cells = <2>;51        nuvoton,sysgcr = <&gcr>;52        nuvoton,sw-reset-number = <2>;53    };54 55    // Specifying reset lines connected to IP NPCM7XX modules56    spi0: spi {57        resets = <&rstc NPCM7XX_RESET_IPSRST2 NPCM7XX_RESET_PSPI1>;58    };59