]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt
Merge remote-tracking branch 'drm-tegra/drm/tegra/for-next'
[karo-tx-linux.git] / Documentation / devicetree / bindings / clock / brcm,bcm2835-cprman.txt
1 Broadcom BCM2835 CPRMAN clocks
2
3 This binding uses the common clock binding:
4     Documentation/devicetree/bindings/clock/clock-bindings.txt
5
6 The CPRMAN clock controller generates clocks in the audio power domain
7 of the BCM2835.  There is a level of PLLs deriving from an external
8 oscillator, a level of PLL dividers that produce channels off of the
9 few PLLs, and a level of mostly-generic clock generators sourcing from
10 the PLL channels.  Most other hardware components source from the
11 clock generators, but a few (like the ARM or HDMI) will source from
12 the PLL dividers directly.
13
14 Required properties:
15 - compatible:   Should be "brcm,bcm2835-cprman"
16 - #clock-cells: Should be <1>. The permitted clock-specifier values can be
17                   found in include/dt-bindings/clock/bcm2835.h
18 - reg:          Specifies base physical address and size of the registers
19 - clocks:       The external oscillator clock phandle
20
21 Example:
22
23         clk_osc: clock@3 {
24                 compatible = "fixed-clock";
25                 reg = <3>;
26                 #clock-cells = <0>;
27                 clock-output-names = "osc";
28                 clock-frequency = <19200000>;
29         };
30
31         clocks: cprman@7e101000 {
32                 compatible = "brcm,bcm2835-cprman";
33                 #clock-cells = <1>;
34                 reg = <0x7e101000 0x2000>;
35                 clocks = <&clk_osc>;
36         };
37
38         i2c0: i2c@7e205000 {
39                 compatible = "brcm,bcm2835-i2c";
40                 reg = <0x7e205000 0x1000>;
41                 interrupts = <2 21>;
42                 clocks = <&clocks BCM2835_CLOCK_VPU>;
43                 #address-cells = <1>;
44                 #size-cells = <0>;
45         };