xref: /openbmc/linux/Documentation/devicetree/bindings/clock/armada3700-tbg-clock.txt (revision 8be98d2f2a0a262f8bf8a0bc1fdf522b3c7aab17)
1c302588eSGregory CLEMENT* Time Base Generator Clock bindings for Marvell Armada 37xx SoCs
2c302588eSGregory CLEMENT
3*592485bcSBhaskar ChowdhuryMarvell Armada 37xx SoCs provide Time Base Generator clocks which are
4c302588eSGregory CLEMENTused as parent clocks for the peripheral clocks.
5c302588eSGregory CLEMENT
6c302588eSGregory CLEMENTThe TBG clock consumer should specify the desired clock by having the
7c302588eSGregory CLEMENTclock ID in its "clocks" phandle cell.
8c302588eSGregory CLEMENT
9c302588eSGregory CLEMENTThe following is a list of provided IDs and clock names on Armada 3700:
10c302588eSGregory CLEMENT 0 = TBG A P
11c302588eSGregory CLEMENT 1 = TBG B P
12c302588eSGregory CLEMENT 2 = TBG A S
13c302588eSGregory CLEMENT 3 = TBG B S
14c302588eSGregory CLEMENT
15c302588eSGregory CLEMENTRequired properties:
16c302588eSGregory CLEMENT- compatible : shall be "marvell,armada-3700-tbg-clock"
17c302588eSGregory CLEMENT- reg : must be the register address of North Bridge PLL register
18c302588eSGregory CLEMENT- #clock-cells : from common clock binding; shall be set to 1
19c302588eSGregory CLEMENT
20c302588eSGregory CLEMENTExample:
21c302588eSGregory CLEMENT
22c302588eSGregory CLEMENTtbg: tbg@13200 {
23c302588eSGregory CLEMENT	compatible = "marvell,armada-3700-tbg-clock";
24c302588eSGregory CLEMENT	reg = <0x13200 0x1000>;
25c302588eSGregory CLEMENT	clocks = <&xtalclk>;
26c302588eSGregory CLEMENT	#clock-cells = <1>;
27c302588eSGregory CLEMENT};
28