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