blob: 9e0b03a6519b3e823b67570d137c3ab001fdb0ae [file] [log] [blame]
Tom Rini53633a82024-02-29 12:33:36 -05001Broadcom BCM2835 CPRMAN clocks
2
3This binding uses the common clock binding:
4 Documentation/devicetree/bindings/clock/clock-bindings.txt
5
6The CPRMAN clock controller generates clocks in the audio power domain
7of the BCM2835. There is a level of PLLs deriving from an external
8oscillator, a level of PLL dividers that produce channels off of the
9few PLLs, and a level of mostly-generic clock generators sourcing from
10the PLL channels. Most other hardware components source from the
11clock generators, but a few (like the ARM or HDMI) will source from
12the PLL dividers directly.
13
14Required properties:
15- compatible: should be one of the following,
16 "brcm,bcm2711-cprman"
17 "brcm,bcm2835-cprman"
18- #clock-cells: Should be <1>. The permitted clock-specifier values can be
19 found in include/dt-bindings/clock/bcm2835.h
20- reg: Specifies base physical address and size of the registers
21- clocks: phandles to the parent clocks used as input to the module, in
22 the following order:
23
24 - External oscillator
25 - DSI0 byte clock
26 - DSI0 DDR2 clock
27 - DSI0 DDR clock
28 - DSI1 byte clock
29 - DSI1 DDR2 clock
30 - DSI1 DDR clock
31
32 Only external oscillator is required. The DSI clocks may
33 not be present, in which case their children will be
34 unusable.
35
36Example:
37
38 clk_osc: clock@3 {
39 compatible = "fixed-clock";
40 reg = <3>;
41 #clock-cells = <0>;
42 clock-output-names = "osc";
43 clock-frequency = <19200000>;
44 };
45
46 clocks: cprman@7e101000 {
47 compatible = "brcm,bcm2835-cprman";
48 #clock-cells = <1>;
49 reg = <0x7e101000 0x2000>;
50 clocks = <&clk_osc>;
51 };
52
53 i2c0: i2c@7e205000 {
54 compatible = "brcm,bcm2835-i2c";
55 reg = <0x7e205000 0x1000>;
56 interrupts = <2 21>;
57 clocks = <&clocks BCM2835_CLOCK_VPU>;
58 #address-cells = <1>;
59 #size-cells = <0>;
60 };