| 1 |
Binding for Texas Instruments ADPLL clock. |
| 2 |
|
| 3 |
This binding uses the common clock binding[1]. It assumes a |
| 4 |
register-mapped ADPLL with two to three selectable input clocks |
| 5 |
and three to four children. |
| 6 |
|
| 7 |
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 8 |
|
| 9 |
Required properties: |
| 10 |
- compatible : shall be one of "ti,dm814-adpll-s-clock" or |
| 11 |
"ti,dm814-adpll-lj-clock" depending on the type of the ADPLL |
| 12 |
- #clock-cells : from common clock binding; shall be set to 1. |
| 13 |
- clocks : link phandles of parent clocks clkinp and clkinpulow, note |
| 14 |
that the adpll-s-clock also has an optional clkinphif |
| 15 |
- reg : address and length of the register set for controlling the ADPLL. |
| 16 |
|
| 17 |
Examples: |
| 18 |
adpll_mpu_ck: adpll@40 { |
| 19 |
#clock-cells = <1>; |
| 20 |
compatible = "ti,dm814-adpll-s-clock"; |
| 21 |
reg = <0x40 0x40>; |
| 22 |
clocks = <&devosc_ck &devosc_ck &devosc_ck>; |
| 23 |
clock-names = "clkinp", "clkinpulow", "clkinphif"; |
| 24 |
clock-output-names = "481c5040.adpll.dcoclkldo", |
| 25 |
"481c5040.adpll.clkout", |
| 26 |
"481c5040.adpll.clkoutx2", |
| 27 |
"481c5040.adpll.clkouthif"; |
| 28 |
}; |
| 29 |
|
| 30 |
adpll_dsp_ck: adpll@80 { |
| 31 |
#clock-cells = <1>; |
| 32 |
compatible = "ti,dm814-adpll-lj-clock"; |
| 33 |
reg = <0x80 0x30>; |
| 34 |
clocks = <&devosc_ck &devosc_ck>; |
| 35 |
clock-names = "clkinp", "clkinpulow"; |
| 36 |
clock-output-names = "481c5080.adpll.dcoclkldo", |
| 37 |
"481c5080.adpll.clkout", |
| 38 |
"481c5080.adpll.clkoutldo"; |
| 39 |
}; |