blob: b36ccf9082d207373887a1d6a3381b508164cabd [file] [log] [blame]
Binding for fixed-rate clock sources with readable configuration.
This binding uses the common clock binding[1].
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt
Required properties:
- compatible : Shall be "specified-clock".
- #clock-cells : From common clock binding; shall be set to 0.
- reg : Address of configuration register.
- shift : Shift of config value field in configuration register.
- width : Width of config value field in configuration register.
- clock-frequency : Frequency mapping of clock. Consecutive pairs of cells
represent the config value to match and the clock
frequency in Hz for that config value.
Optional properties:
- clock-output-names : From common clock binding.
Example:
clock {
compatible = "specified-clock";
#clock-cells = <0>;
reg = <0x02004004 0x4>; /* CR_PERIP_RESET_CFG */
shift = <8>; /* FXTAL */
width = <4>;
clock-frequency =
/* FXTAL Frequency */
<0 16384000>,
<1 19200000>,
<2 24000000>,
<3 24576000>,
<4 26000000>,
<5 36000000>,
<6 36864000>,
<7 38400000>,
<8 40000000>;
clock-output-names = "xtal1";
};