Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cedfbc30 authored by Gregory CLEMENT's avatar Gregory CLEMENT Committed by Stephen Boyd
Browse files

dt-bindings: clock: add DT binding for the Xtal clock on Armada 3700



This commit adds the DT binding documentation for the the Xtal clock on
Armada 3700 used in the Marvell Armada 3700 SoCs.

Signed-off-by: default avatarGregory CLEMENT <gregory.clement@free-electrons.com>
Acked-by: default avatarRob Herring <robh@kernel.org>
Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 7e37deb7
Loading
Loading
Loading
Loading
+28 −0
Original line number Original line Diff line number Diff line
* Xtal Clock bindings for Marvell Armada 37xx SoCs

Marvell Armada 37xx SoCs allow to determine the xtal clock frequencies by
reading the gpio latch register.

This node must be a subnode of the node exposing the register address
of the GPIO block where the gpio latch is located.

Required properties:
- compatible : shall be one of the following:
	"marvell,armada-3700-xtal-clock"
- #clock-cells : from common clock binding; shall be set to 0

Optional properties:
- clock-output-names : from common clock binding; allows overwrite default clock
	output names ("xtal")

Example:
gpio1: gpio@13800 {
	compatible = "marvell,armada-3700-gpio", "syscon", "simple-mfd";
	reg = <0x13800 0x1000>;

	xtalclk: xtal-clk {
		compatible = "marvell,armada-3700-xtal-clock";
		clock-output-names = "xtal";
		#clock-cells = <0>;
	};
};