GNU Linux-libre 6.1.90-gnu
[releases.git] / Documentation / devicetree / bindings / clock / nuvoton,npcm845-clk.yaml
1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2 %YAML 1.2
3 ---
4 $id: http://devicetree.org/schemas/clock/nuvoton,npcm845-clk.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
6
7 title: Nuvoton NPCM8XX Clock Controller Binding
8
9 maintainers:
10   - Tomer Maimon <tmaimon77@gmail.com>
11
12 description: |
13   Nuvoton Arbel BMC NPCM8XX contains an integrated clock controller, which
14   generates and supplies clocks to all modules within the BMC.
15
16 properties:
17   compatible:
18     enum:
19       - nuvoton,npcm845-clk
20
21   reg:
22     maxItems: 1
23
24   '#clock-cells':
25     const: 1
26     description:
27       See include/dt-bindings/clock/nuvoton,npcm8xx-clock.h for the full
28       list of NPCM8XX clock IDs.
29
30 required:
31   - compatible
32   - reg
33   - '#clock-cells'
34
35 additionalProperties: false
36
37 examples:
38   - |
39     ahb {
40         #address-cells = <2>;
41         #size-cells = <2>;
42
43         clock-controller@f0801000 {
44             compatible = "nuvoton,npcm845-clk";
45             reg = <0x0 0xf0801000 0x0 0x1000>;
46             #clock-cells = <1>;
47         };
48     };
49 ...