Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame^] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/clock/fsl,scu-clk.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: i.MX SCU Client Device Node - Clock Controller Based on SCU Message Protocol |
| 8 | |
| 9 | maintainers: |
| 10 | - Abel Vesa <abel.vesa@nxp.com> |
| 11 | |
| 12 | description: i.MX SCU Client Device Node |
| 13 | Client nodes are maintained as children of the relevant IMX-SCU device node. |
| 14 | This binding uses the common clock binding. |
| 15 | (Documentation/devicetree/bindings/clock/clock-bindings.txt) |
| 16 | The clock consumer should specify the desired clock by having the clock |
| 17 | ID in its "clocks" phandle cell. See the full list of clock IDs from |
| 18 | include/dt-bindings/clock/imx8qxp-clock.h |
| 19 | |
| 20 | properties: |
| 21 | compatible: |
| 22 | items: |
| 23 | - enum: |
| 24 | - fsl,imx8dxl-clk |
| 25 | - fsl,imx8qm-clk |
| 26 | - fsl,imx8qxp-clk |
| 27 | - const: fsl,scu-clk |
| 28 | |
| 29 | '#clock-cells': |
| 30 | const: 2 |
| 31 | |
| 32 | required: |
| 33 | - compatible |
| 34 | - '#clock-cells' |
| 35 | |
| 36 | additionalProperties: false |
| 37 | |
| 38 | examples: |
| 39 | - | |
| 40 | clock-controller { |
| 41 | compatible = "fsl,imx8qxp-clk", "fsl,scu-clk"; |
| 42 | #clock-cells = <2>; |
| 43 | }; |