Gregory CLEMENT | cedfbc3 | 2016-07-19 15:42:17 +0200 | [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 | |
| 9 | Required properties: |
| 10 | - compatible : shall be one of the following: |
| 11 | "marvell,armada-3700-xtal-clock" |
| 12 | - #clock-cells : from common clock binding; shall be set to 0 |
| 13 | |
| 14 | Optional properties: |
| 15 | - clock-output-names : from common clock binding; allows overwrite default clock |
| 16 | output names ("xtal") |
| 17 | |
| 18 | Example: |
| 19 | gpio1: gpio@13800 { |
| 20 | compatible = "marvell,armada-3700-gpio", "syscon", "simple-mfd"; |
| 21 | reg = <0x13800 0x1000>; |
| 22 | |
| 23 | xtalclk: xtal-clk { |
| 24 | compatible = "marvell,armada-3700-xtal-clock"; |
| 25 | clock-output-names = "xtal"; |
| 26 | #clock-cells = <0>; |
| 27 | }; |
| 28 | }; |