Back to home page

OSCL-LXR

 
 

    


0001 Broadcom BCM2835 CPRMAN clocks
0002 
0003 This binding uses the common clock binding:
0004     Documentation/devicetree/bindings/clock/clock-bindings.txt
0005 
0006 The CPRMAN clock controller generates clocks in the audio power domain
0007 of the BCM2835.  There is a level of PLLs deriving from an external
0008 oscillator, a level of PLL dividers that produce channels off of the
0009 few PLLs, and a level of mostly-generic clock generators sourcing from
0010 the PLL channels.  Most other hardware components source from the
0011 clock generators, but a few (like the ARM or HDMI) will source from
0012 the PLL dividers directly.
0013 
0014 Required properties:
0015 - compatible:   should be one of the following,
0016         "brcm,bcm2711-cprman"
0017         "brcm,bcm2835-cprman"
0018 - #clock-cells: Should be <1>. The permitted clock-specifier values can be
0019                   found in include/dt-bindings/clock/bcm2835.h
0020 - reg:          Specifies base physical address and size of the registers
0021 - clocks:       phandles to the parent clocks used as input to the module, in
0022                   the following order:
0023 
0024                   - External oscillator
0025                   - DSI0 byte clock
0026                   - DSI0 DDR2 clock
0027                   - DSI0 DDR clock
0028                   - DSI1 byte clock
0029                   - DSI1 DDR2 clock
0030                   - DSI1 DDR clock
0031 
0032                   Only external oscillator is required.  The DSI clocks may
0033                   not be present, in which case their children will be
0034                   unusable.
0035 
0036 Example:
0037 
0038         clk_osc: clock@3 {
0039                 compatible = "fixed-clock";
0040                 reg = <3>;
0041                 #clock-cells = <0>;
0042                 clock-output-names = "osc";
0043                 clock-frequency = <19200000>;
0044         };
0045 
0046         clocks: cprman@7e101000 {
0047                 compatible = "brcm,bcm2835-cprman";
0048                 #clock-cells = <1>;
0049                 reg = <0x7e101000 0x2000>;
0050                 clocks = <&clk_osc>;
0051         };
0052 
0053         i2c0: i2c@7e205000 {
0054                 compatible = "brcm,bcm2835-i2c";
0055                 reg = <0x7e205000 0x1000>;
0056                 interrupts = <2 21>;
0057                 clocks = <&clocks BCM2835_CLOCK_VPU>;
0058                 #address-cells = <1>;
0059                 #size-cells = <0>;
0060         };