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
21  reg:
22    maxItems: 1
23
24  "#reset-cells":
25    const: 1
26
27required:
28  - compatible
29  - reg
30  - "#reset-cells"
31
32additionalProperties: false
33
34examples:
35  - |
36    reset-controller@c884404 {
37          compatible = "amlogic,meson-gxbb-reset";
38          reg = <0xc884404 0x20>;
39          #reset-cells = <1>;
40    };
41