mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 05:34:00 +08:00
09c978bc7b
This atomic commit changes the Integrator clock implementation and the machines to register clocks from the device tree and use these instead of the previous hard-coded clocks. In the clock implementation all hard-coded clocks and the special initialization function call goes away, and is replaced by two compatible strings for the two clocks available on the core module. Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
35 lines
799 B
Plaintext
35 lines
799 B
Plaintext
Clock bindings for ARM Integrator Core Module clocks
|
|
|
|
Auxilary Oscillator Clock
|
|
|
|
This is a configurable clock fed from a 24 MHz chrystal,
|
|
used for generating e.g. video clocks. It is located on the
|
|
core module and there is only one of these.
|
|
|
|
This clock node *must* be a subnode of the core module, since
|
|
it obtains the base address for it's address range from its
|
|
parent node.
|
|
|
|
|
|
Required properties:
|
|
- compatible: must be "arm,integrator-cm-auxosc"
|
|
- #clock-cells: must be <0>
|
|
|
|
Optional properties:
|
|
- clocks: parent clock(s)
|
|
|
|
Example:
|
|
|
|
core-module@10000000 {
|
|
xtal24mhz: xtal24mhz@24M {
|
|
#clock-cells = <0>;
|
|
compatible = "fixed-clock";
|
|
clock-frequency = <24000000>;
|
|
};
|
|
auxosc: cm_aux_osc@25M {
|
|
#clock-cells = <0>;
|
|
compatible = "arm,integrator-cm-auxosc";
|
|
clocks = <&xtal24mhz>;
|
|
};
|
|
};
|