crypto: cavium/nitrox - fix for command corruption in queue full case with backlog...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / clock / actions,owl-cmu.txt
1 * Actions Semi Owl Clock Management Unit (CMU)
2
3 The Actions Semi Owl Clock Management Unit generates and supplies clock
4 to various controllers within the SoC. The clock binding described here is
5 applicable to S900 and S700 SoC's.
6
7 Required Properties:
8
9 - compatible: should be one of the following,
10         "actions,s900-cmu"
11         "actions,s700-cmu"
12 - reg: physical base address of the controller and length of memory mapped
13   region.
14 - clocks: Reference to the parent clocks ("hosc", "losc")
15 - #clock-cells: should be 1.
16
17 Each clock is assigned an identifier, and client nodes can use this identifier
18 to specify the clock which they consume.
19
20 All available clocks are defined as preprocessor macros in corresponding
21 dt-bindings/clock/actions,s900-cmu.h or actions,s700-cmu.h header and can be
22 used in device tree sources.
23
24 External clocks:
25
26 The hosc clock used as input for the plls is generated outside the SoC. It is
27 expected that it is defined using standard clock bindings as "hosc".
28
29 Actions Semi S900 CMU also requires one more clock:
30  - "losc" - internal low frequency oscillator
31
32 Example: Clock Management Unit node:
33
34         cmu: clock-controller@e0160000 {
35                 compatible = "actions,s900-cmu";
36                 reg = <0x0 0xe0160000 0x0 0x1000>;
37                 clocks = <&hosc>, <&losc>;
38                 #clock-cells = <1>;
39         };
40
41 Example: UART controller node that consumes clock generated by the clock
42 management unit:
43
44         uart: serial@e012a000 {
45                 compatible = "actions,s900-uart", "actions,owl-uart";
46                 reg = <0x0 0xe012a000 0x0 0x2000>;
47                 interrupts = <GIC_SPI 34 IRQ_TYPE_LEVEL_HIGH>;
48                 clocks = <&cmu CLK_UART5>;
49         };