Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | Device Tree Clock bindings for Marvell Berlin |
| 2 | |
| 3 | This binding uses the common clock binding[1]. |
| 4 | |
| 5 | [1] Documentation/devicetree/bindings/clock/clock-bindings.txt |
| 6 | |
| 7 | Clock related registers are spread among the chip control registers. Berlin |
| 8 | clock node should be a sub-node of the chip controller node. Marvell Berlin2 |
| 9 | (BG2, BG2CD, BG2Q) SoCs share the same IP for PLLs and clocks, with some |
| 10 | minor differences in features and register layout. |
| 11 | |
| 12 | Required properties: |
| 13 | - compatible: must be "marvell,berlin2-clk" or "marvell,berlin2q-clk" |
| 14 | - #clock-cells: must be 1 |
| 15 | - clocks: must be the input parent clock phandle |
| 16 | - clock-names: name of the input parent clock |
| 17 | Allowed clock-names for the reference clocks are |
| 18 | "refclk" for the SoCs oscillator input on all SoCs, |
| 19 | and SoC-specific input clocks for |
| 20 | BG2/BG2CD: "video_ext0" for the external video clock input |
| 21 | |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | chip_clk: clock { |
| 26 | compatible = "marvell,berlin2q-clk"; |
| 27 | |
| 28 | #clock-cells = <1>; |
| 29 | clocks = <&refclk>; |
| 30 | clock-names = "refclk"; |
| 31 | }; |