xref: /freebsd-src/sys/contrib/device-tree/Bindings/clock/armada3700-xtal-clock.txt (revision c66ec88fed842fbaad62c30d510644ceb7bd2d71)
1*c66ec88fSEmmanuel Vadot* Xtal Clock bindings for Marvell Armada 37xx SoCs
2*c66ec88fSEmmanuel Vadot
3*c66ec88fSEmmanuel VadotMarvell Armada 37xx SoCs allow to determine the xtal clock frequencies by
4*c66ec88fSEmmanuel Vadotreading the gpio latch register.
5*c66ec88fSEmmanuel Vadot
6*c66ec88fSEmmanuel VadotThis node must be a subnode of the node exposing the register address
7*c66ec88fSEmmanuel Vadotof the GPIO block where the gpio latch is located.
8*c66ec88fSEmmanuel VadotSee Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt
9*c66ec88fSEmmanuel Vadot
10*c66ec88fSEmmanuel VadotRequired properties:
11*c66ec88fSEmmanuel Vadot- compatible : shall be one of the following:
12*c66ec88fSEmmanuel Vadot	"marvell,armada-3700-xtal-clock"
13*c66ec88fSEmmanuel Vadot- #clock-cells : from common clock binding; shall be set to 0
14*c66ec88fSEmmanuel Vadot
15*c66ec88fSEmmanuel VadotOptional properties:
16*c66ec88fSEmmanuel Vadot- clock-output-names : from common clock binding; allows overwrite default clock
17*c66ec88fSEmmanuel Vadot	output names ("xtal")
18*c66ec88fSEmmanuel Vadot
19*c66ec88fSEmmanuel VadotExample:
20*c66ec88fSEmmanuel Vadotpinctrl_nb: pinctrl-nb@13800 {
21*c66ec88fSEmmanuel Vadot	compatible = "armada3710-nb-pinctrl", "syscon", "simple-mfd";
22*c66ec88fSEmmanuel Vadot	reg = <0x13800 0x100>, <0x13C00 0x20>;
23*c66ec88fSEmmanuel Vadot
24*c66ec88fSEmmanuel Vadot	xtalclk: xtal-clk {
25*c66ec88fSEmmanuel Vadot		compatible = "marvell,armada-3700-xtal-clock";
26*c66ec88fSEmmanuel Vadot		clock-output-names = "xtal";
27*c66ec88fSEmmanuel Vadot		#clock-cells = <0>;
28*c66ec88fSEmmanuel Vadot	};
29*c66ec88fSEmmanuel Vadot};
30