forked from anholt/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'clk/clk-bcm2835' into bcm2835-dt-next
The DT changes for enabling the clock driver on 2835 require that the clock driver be present. Stephen Boyd has said that these commits would be stable for merging. Signed-off-by: Eric Anholt <[email protected]>
- Loading branch information
Showing
6 changed files
with
1,668 additions
and
56 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
Documentation/devicetree/bindings/clock/brcm,bcm2835-cprman.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Broadcom BCM2835 CPRMAN clocks | ||
|
||
This binding uses the common clock binding: | ||
Documentation/devicetree/bindings/clock/clock-bindings.txt | ||
|
||
The CPRMAN clock controller generates clocks in the audio power domain | ||
of the BCM2835. There is a level of PLLs deriving from an external | ||
oscillator, a level of PLL dividers that produce channels off of the | ||
few PLLs, and a level of mostly-generic clock generators sourcing from | ||
the PLL channels. Most other hardware components source from the | ||
clock generators, but a few (like the ARM or HDMI) will source from | ||
the PLL dividers directly. | ||
|
||
Required properties: | ||
- compatible: Should be "brcm,bcm2835-cprman" | ||
- #clock-cells: Should be <1>. The permitted clock-specifier values can be | ||
found in include/dt-bindings/clock/bcm2835.h | ||
- reg: Specifies base physical address and size of the registers | ||
- clocks: The external oscillator clock phandle | ||
|
||
Example: | ||
|
||
clk_osc: clock@3 { | ||
compatible = "fixed-clock"; | ||
reg = <3>; | ||
#clock-cells = <0>; | ||
clock-output-names = "osc"; | ||
clock-frequency = <19200000>; | ||
}; | ||
|
||
clocks: cprman@7e101000 { | ||
compatible = "brcm,bcm2835-cprman"; | ||
#clock-cells = <1>; | ||
reg = <0x7e101000 0x2000>; | ||
clocks = <&clk_osc>; | ||
}; | ||
|
||
i2c0: i2c@7e205000 { | ||
compatible = "brcm,bcm2835-i2c"; | ||
reg = <0x7e205000 0x1000>; | ||
interrupts = <2 21>; | ||
clocks = <&clocks BCM2835_CLOCK_VPU>; | ||
#address-cells = <1>; | ||
#size-cells = <0>; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.