| .. | .. |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | The Actions Semi Owl Clock Management Unit generates and supplies clock |
|---|
| 4 | 4 | to various controllers within the SoC. The clock binding described here is |
|---|
| 5 | | -applicable to S900 and S700 SoC's. |
|---|
| 5 | +applicable to S900, S700 and S500 SoC's. |
|---|
| 6 | 6 | |
|---|
| 7 | 7 | Required Properties: |
|---|
| 8 | 8 | |
|---|
| 9 | 9 | - compatible: should be one of the following, |
|---|
| 10 | 10 | "actions,s900-cmu" |
|---|
| 11 | 11 | "actions,s700-cmu" |
|---|
| 12 | + "actions,s500-cmu" |
|---|
| 12 | 13 | - reg: physical base address of the controller and length of memory mapped |
|---|
| 13 | 14 | region. |
|---|
| 14 | 15 | - clocks: Reference to the parent clocks ("hosc", "losc") |
|---|
| 15 | 16 | - #clock-cells: should be 1. |
|---|
| 17 | +- #reset-cells: should be 1. |
|---|
| 16 | 18 | |
|---|
| 17 | 19 | Each clock is assigned an identifier, and client nodes can use this identifier |
|---|
| 18 | 20 | to specify the clock which they consume. |
|---|
| 19 | 21 | |
|---|
| 20 | 22 | 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 | +dt-bindings/clock/actions,s900-cmu.h or actions,s700-cmu.h or |
|---|
| 24 | +actions,s500-cmu.h header and can be used in device tree sources. |
|---|
| 23 | 25 | |
|---|
| 24 | 26 | External clocks: |
|---|
| 25 | 27 | |
|---|
| .. | .. |
|---|
| 36 | 38 | reg = <0x0 0xe0160000 0x0 0x1000>; |
|---|
| 37 | 39 | clocks = <&hosc>, <&losc>; |
|---|
| 38 | 40 | #clock-cells = <1>; |
|---|
| 41 | + #reset-cells = <1>; |
|---|
| 39 | 42 | }; |
|---|
| 40 | 43 | |
|---|
| 41 | 44 | Example: UART controller node that consumes clock generated by the clock |
|---|