1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
2# Copyright 2019 BayLibre, SAS
3%YAML 1.2
4---
5$id: "http://devicetree.org/schemas/reset/amlogic,meson-reset.yaml#"
6$schema: "http://devicetree.org/meta-schemas/core.yaml#"
7
8title: Amlogic Meson SoC Reset Controller
9
10maintainers:
11  - Neil Armstrong <narmstrong@baylibre.com>
12
13properties:
14  compatible:
15    enum:
16      - amlogic,meson8b-reset # Reset Controller on Meson8b and compatible SoCs
17      - amlogic,meson-gxbb-reset # Reset Controller on GXBB and compatible SoCs
18      - amlogic,meson-axg-reset # Reset Controller on AXG and compatible SoCs
19      - amlogic,meson-a1-reset # Reset Controller on A1 and compatible SoCs
20      - amlogic,meson-s4-reset # Reset Controller on S4 and compatible SoCs
21
22  reg:
23    maxItems: 1
24
25  "#reset-cells":
26    const: 1
27
28required:
29  - compatible
30  - reg
31  - "#reset-cells"
32
33additionalProperties: false
34
35examples:
36  - |
37    reset-controller@c884404 {
38          compatible = "amlogic,meson-gxbb-reset";
39          reg = <0xc884404 0x20>;
40          #reset-cells = <1>;
41    };
42