xref: /freebsd/sys/contrib/device-tree/Bindings/clock/nuvoton,npcm845-clk.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
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
7title: Nuvoton NPCM8XX Clock Controller
8
9maintainers:
10  - Tomer Maimon <tmaimon77@gmail.com>
11
12description: |
13  Nuvoton Arbel BMC NPCM8XX contains an integrated clock controller, which
14  generates and supplies clocks to all modules within the BMC.
15
16properties:
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
30required:
31  - compatible
32  - reg
33  - '#clock-cells'
34
35additionalProperties: false
36
37examples:
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...
50