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