mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-16 15:56:44 +07:00
5690879d93
Add support for the clock unit found in the A23. Due to the similarities with the A33, it also shares its clock IDs to allow sharing the DTSI. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Acked-by: Chen-Yu Tsai <wens@csie.org>
28 lines
863 B
Plaintext
28 lines
863 B
Plaintext
Allwinner Clock Control Unit Binding
|
|
------------------------------------
|
|
|
|
Required properties :
|
|
- compatible: must contain one of the following compatibles:
|
|
- "allwinner,sun6i-a31-ccu"
|
|
- "allwinner,sun8i-a23-ccu"
|
|
- "allwinner,sun8i-a33-ccu"
|
|
- "allwinner,sun8i-h3-ccu"
|
|
|
|
- reg: Must contain the registers base address and length
|
|
- clocks: phandle to the oscillators feeding the CCU. Two are needed:
|
|
- "hosc": the high frequency oscillator (usually at 24MHz)
|
|
- "losc": the low frequency oscillator (usually at 32kHz)
|
|
- clock-names: Must contain the clock names described just above
|
|
- #clock-cells : must contain 1
|
|
- #reset-cells : must contain 1
|
|
|
|
Example:
|
|
ccu: clock@01c20000 {
|
|
compatible = "allwinner,sun8i-h3-ccu";
|
|
reg = <0x01c20000 0x400>;
|
|
clocks = <&osc24M>, <&osc32k>;
|
|
clock-names = "hosc", "losc";
|
|
#clock-cells = <1>;
|
|
#reset-cells = <1>;
|
|
};
|