xref: /linux/Documentation/devicetree/bindings/clock/raspberrypi,rp1-clocks.yaml (revision 115e74a29b530d121891238e9551c4bcdf7b04b5)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/raspberrypi,rp1-clocks.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: RaspberryPi RP1 clock generator
8
9maintainers:
10  - A. della Porta <andrea.porta@suse.com>
11
12description: |
13  The RP1 contains a clock generator designed as three PLLs (CORE, AUDIO,
14  VIDEO), and each PLL output can be programmed through dividers to generate
15  the clocks to drive the sub-peripherals embedded inside the chipset.
16
17  Link to datasheet:
18  https://datasheets.raspberrypi.com/rp1/rp1-peripherals.pdf
19
20properties:
21  compatible:
22    const: raspberrypi,rp1-clocks
23
24  reg:
25    maxItems: 1
26
27  '#clock-cells':
28    const: 1
29    description:
30      The available clocks are defined in
31      include/dt-bindings/clock/raspberrypi,rp1-clocks.h.
32
33  clocks:
34    maxItems: 1
35
36required:
37  - compatible
38  - reg
39  - '#clock-cells'
40  - clocks
41
42additionalProperties: false
43
44examples:
45  - |
46    #include <dt-bindings/clock/raspberrypi,rp1-clocks.h>
47
48    rp1 {
49        #address-cells = <2>;
50        #size-cells = <2>;
51
52        clocks@c040018000 {
53            compatible = "raspberrypi,rp1-clocks";
54            reg = <0xc0 0x40018000 0x0 0x10038>;
55            #clock-cells = <1>;
56            clocks = <&clk_rp1_xosc>;
57        };
58    };
59