95eb29957624f69c2fb798ab1f664b85043d87ef
[openwrt/staging/neocturne.git] /
1 From 10c1e714a68b45b124157aa02d80abe244a2a61a Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Wed, 17 Jun 2020 12:50:34 +0200
4 Subject: [PATCH 2/9] dt-bindings: reset: add BCM6345 reset controller bindings
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Add device tree binding documentation for BCM6345 reset controller.
10
11 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
12 Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
13 Reviewed-by: Rob Herring <robh@kernel.org>
14 Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
15 ---
16 .../bindings/reset/brcm,bcm6345-reset.yaml | 37 +++++++++++++++++++
17 1 file changed, 37 insertions(+)
18 create mode 100644 Documentation/devicetree/bindings/reset/brcm,bcm6345-reset.yaml
19
20 --- /dev/null
21 +++ b/Documentation/devicetree/bindings/reset/brcm,bcm6345-reset.yaml
22 @@ -0,0 +1,37 @@
23 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
24 +%YAML 1.2
25 +---
26 +$id: "http://devicetree.org/schemas/reset/brcm,bcm6345-reset.yaml#"
27 +$schema: "http://devicetree.org/meta-schemas/core.yaml#"
28 +
29 +title: BCM6345 reset controller
30 +
31 +description: This document describes the BCM6345 reset controller.
32 +
33 +maintainers:
34 + - Álvaro Fernández Rojas <noltari@gmail.com>
35 +
36 +properties:
37 + compatible:
38 + const: brcm,bcm6345-reset
39 +
40 + reg:
41 + maxItems: 1
42 +
43 + "#reset-cells":
44 + const: 1
45 +
46 +required:
47 + - compatible
48 + - reg
49 + - "#reset-cells"
50 +
51 +additionalProperties: false
52 +
53 +examples:
54 + - |
55 + reset-controller@10000010 {
56 + compatible = "brcm,bcm6345-reset";
57 + reg = <0x10000010 0x4>;
58 + #reset-cells = <1>;
59 + };