| 1 |
Binding for Imagination Technologies MIPS Boston clock sources. |
| 2 |
|
| 3 |
This binding uses the common clock binding[1]. |
| 4 |
|
| 5 |
[1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 6 |
|
| 7 |
The device node must be a child node of the syscon node corresponding to the |
| 8 |
Boston system's platform registers. |
| 9 |
|
| 10 |
Required properties: |
| 11 |
- compatible : Should be "img,boston-clock". |
| 12 |
- #clock-cells : Should be set to 1. |
| 13 |
Values available for clock consumers can be found in the header file: |
| 14 |
<dt-bindings/clock/boston-clock.h> |
| 15 |
|
| 16 |
Example: |
| 17 |
|
| 18 |
system-controller@17ffd000 { |
| 19 |
compatible = "img,boston-platform-regs", "syscon"; |
| 20 |
reg = <0x17ffd000 0x1000>; |
| 21 |
|
| 22 |
clk_boston: clock { |
| 23 |
compatible = "img,boston-clock"; |
| 24 |
#clock-cells = <1>; |
| 25 |
}; |
| 26 |
}; |
| 27 |
|
| 28 |
uart0: uart@17ffe000 { |
| 29 |
/* ... */ |
| 30 |
clocks = <&clk_boston BOSTON_CLK_SYS>; |
| 31 |
}; |