summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/arm/calxeda/hb-sregs.yaml
blob: dfdc97083efb85ddcd2f8289ff15ece74bb0ba1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
%YAML 1.2
---
$id: http://devicetree.org/schemas/arm/calxeda/hb-sregs.yaml#
$schema: http://devicetree.org/meta-schemas/core.yaml#

title: Calxeda Highbank system registers

description: |
  The Calxeda Highbank system has a block of MMIO registers controlling
  several generic system aspects. Those can be used to control some power
  management, they also contain some gate and PLL clocks.

maintainers:
  - Andre Przywara <andre.przywara@arm.com>

properties:
  compatible:
    const: calxeda,hb-sregs

  reg:
    maxItems: 1

  clocks:
    type: object

required:
  - compatible
  - reg

additionalProperties: false

examples:
  - |
    sregs@fff3c000 {
        compatible = "calxeda,hb-sregs";
        reg = <0xfff3c000 0x1000>;

        clocks {
            #address-cells = <1>;
            #size-cells = <0>;

            osc: oscillator {
                #clock-cells = <0>;
                compatible = "fixed-clock";
                clock-frequency = <33333000>;
            };
        };
    };