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