Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | * Xtal Clock bindings for Marvell Armada 37xx SoCs |
| 2 | |
| 3 | Marvell Armada 37xx SoCs allow to determine the xtal clock frequencies by |
| 4 | reading the gpio latch register. |
| 5 | |
| 6 | This node must be a subnode of the node exposing the register address |
| 7 | of the GPIO block where the gpio latch is located. |
| 8 | See Documentation/devicetree/bindings/pinctrl/marvell,armada-37xx-pinctrl.txt |
| 9 | |
| 10 | Required 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 | |
| 15 | Optional properties: |
| 16 | - clock-output-names : from common clock binding; allows overwrite default clock |
| 17 | output names ("xtal") |
| 18 | |
| 19 | Example: |
| 20 | pinctrl_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 | }; |