bmips: add linux v5.15 support
[openwrt/staging/dedeckeh.git] / target / linux / bmips / patches-5.15 / 112-dt-bindings-clock-Add-BCM63268-timer-binding.patch
1 From c17702bad18a085ae913752b45bcc20c2cea879e Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?=C3=81lvaro=20Fern=C3=A1ndez=20Rojas?= <noltari@gmail.com>
3 Date: Thu, 25 Feb 2021 19:53:08 +0100
4 Subject: [PATCH 3/4] dt-bindings: clock: Add BCM63268 timer binding
5 MIME-Version: 1.0
6 Content-Type: text/plain; charset=UTF-8
7 Content-Transfer-Encoding: 8bit
8
9 Document the Broadcom BCM63268 Clock and Reset controller.
10
11 Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
12 ---
13 .../clock/brcm,bcm63268-timer-clocks.yaml | 40 +++++++++++++++++++
14 1 file changed, 40 insertions(+)
15 create mode 100644 Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml
16
17 --- /dev/null
18 +++ b/Documentation/devicetree/bindings/clock/brcm,bcm63268-timer-clocks.yaml
19 @@ -0,0 +1,40 @@
20 +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
21 +%YAML 1.2
22 +---
23 +$id: http://devicetree.org/schemas/clock/brcm,bcm63268-timer-clocks.yaml#
24 +$schema: http://devicetree.org/meta-schemas/core.yaml#
25 +
26 +title: Broadcom BCM63268 Timer Clock and Reset Device Tree Bindings
27 +
28 +maintainers:
29 + - Álvaro Fernández Rojas <noltari@gmail.com>
30 +
31 +properties:
32 + compatible:
33 + const: brcm,bcm63268-timer-clocks
34 +
35 + reg:
36 + maxItems: 1
37 +
38 + "#clock-cells":
39 + const: 1
40 +
41 + "#reset-cells":
42 + const: 1
43 +
44 +required:
45 + - compatible
46 + - reg
47 + - "#clock-cells"
48 + - "#reset-cells"
49 +
50 +additionalProperties: false
51 +
52 +examples:
53 + - |
54 + timer_clk: clock-controller@100000ac {
55 + compatible = "brcm,bcm63268-timer-clocks";
56 + reg = <0x100000ac 0x4>;
57 + #clock-cells = <1>;
58 + #reset-cells = <1>;
59 + };