Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
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,npcm750-clk.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Nuvoton NPCM7XX Clock Controller
8
9maintainers:
10 - Tali Perry <tali.perry1@gmail.com>
11
12description: >
13 Nuvoton Poleg BMC NPCM7XX contains an integrated clock controller, which
14 generates and supplies clocks to all modules within the BMC.
15
16 External clocks:
17
18 There are six fixed clocks that are generated outside the BMC. All clocks are of
19 a known fixed value that cannot be changed. clk_refclk, clk_mcbypck and
20 clk_sysbypck are inputs to the clock controller.
21 clk_rg1refck, clk_rg2refck and clk_xin are external clocks suppling the
22 network. They are set on the device tree, but not used by the clock module. The
23 network devices use them directly.
24
25 All available clocks are defined as preprocessor macros in:
26 dt-bindings/clock/nuvoton,npcm7xx-clock.h
27 and can be reused as DT sources.
28
29properties:
30 compatible:
31 const: nuvoton,npcm750-clk
32
33 reg:
34 maxItems: 1
35
36 '#clock-cells':
37 const: 1
38
39 clock-names:
40 items:
41 - const: refclk
42 - const: sysbypck
43 - const: mcbypck
44
45 clocks:
46 items:
47 - description: refclk
48 - description: sysbypck
49 - description: mcbypck
50
51required:
52 - compatible
53 - reg
54 - '#clock-cells'
55
56additionalProperties: false
57
58examples:
59 - |
60 clock-controller@f0801000 {
61 compatible = "nuvoton,npcm750-clk";
62 #clock-cells = <1>;
63 reg = <0xf0801000 0x1000>;
64 clock-names = "refclk", "sysbypck", "mcbypck";
65 clocks = <&clk_refclk>, <&clk_sysbypck>, <&clk_mcbypck>;
66 };