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