1 Alphascale Clock Controller
3 The ACC (Alphascale Clock Controller) is responsible of choising proper
4 clock source, setting deviders and clock gates.
6 Required properties for the ACC node:
7 - compatible: must be "alphascale,asm9260-clock-controller"
8 - reg: must contain the ACC register base and size
9 - #clock-cells : shall be set to 1.
11 Simple one-cell clock specifier format is used, where the only cell is used
12 as an index of the clock inside the provider.
13 It is encouraged to use dt-binding for clock index definitions. SoC specific
14 dt-binding should be included to the device tree descriptor. For example
16 #include <dt-bindings/clock/alphascale,asm9260.h>
18 This binding contains two types of clock providers:
20 _SYS_ - adjustable clock source. Not all peripheral have _SYS_ clock provider.
21 All clock specific details can be found in the SoC documentation.
99 Example of clock consumer with _SYS_ and _AHB_ sinks.
100 uart4: serial@80010000 {
101 compatible = "alphascale,asm9260-uart";
102 reg = <0x80010000 0x4000>;
103 clocks = <&acc CLKID_SYS_UART4>, <&acc CLKID_AHB_UART4>;
107 Clock consumer with only one, _AHB_ sink.
108 timer0: timer@80088000 {
109 compatible = "alphascale,asm9260-timer";
110 reg = <0x80088000 0x4000>;
111 clocks = <&acc CLKID_AHB_TIMER0>;