brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 2a248e5 Raw
69 lines · yaml
1# SPDX-License-Identifier: GPL-2.02%YAML 1.23---4$id: http://devicetree.org/schemas/reset/allwinner,sun6i-a31-clock-reset.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Allwinner A31 Peripheral Reset Controller8 9maintainers:10  - Chen-Yu Tsai <wens@csie.org>11  - Maxime Ripard <mripard@kernel.org>12 13deprecated: true14 15select:16  properties:17    compatible:18      contains:19        enum:20          - allwinner,sun6i-a31-ahb1-reset21          - allwinner,sun6i-a31-clock-reset22 23  # The PRCM on the A31 and A23 will have the reg property missing,24  # since it's set at the upper level node, and will be validated by25  # PRCM's schema. Make sure we only validate standalone nodes.26  required:27    - compatible28    - reg29 30properties:31  "#reset-cells":32    const: 133    description: >34      This additional argument passed to that reset controller is the35      offset of the bit controlling this particular reset line in the36      register.37 38  compatible:39    enum:40      - allwinner,sun6i-a31-ahb1-reset41      - allwinner,sun6i-a31-clock-reset42 43  reg:44    maxItems: 145 46required:47  - "#reset-cells"48  - compatible49  - reg50 51additionalProperties: false52 53examples:54  - |55    ahb1_rst: reset@1c202c0 {56        #reset-cells = <1>;57        compatible = "allwinner,sun6i-a31-ahb1-reset";58        reg = <0x01c202c0 0xc>;59    };60 61  - |62    apbs_rst: reset@80014b0 {63        #reset-cells = <1>;64        compatible = "allwinner,sun6i-a31-clock-reset";65        reg = <0x080014b0 0x4>;66    };67 68...69