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