xref: /freebsd/sys/contrib/device-tree/Bindings/clock/fsl,scu-clk.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1b97ee269SEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2b97ee269SEmmanuel Vadot%YAML 1.2
3b97ee269SEmmanuel Vadot---
4b97ee269SEmmanuel Vadot$id: http://devicetree.org/schemas/clock/fsl,scu-clk.yaml#
5b97ee269SEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml#
6b97ee269SEmmanuel Vadot
7*8bab661aSEmmanuel Vadottitle: i.MX SCU Client Device Node - Clock Controller Based on SCU Message Protocol
8b97ee269SEmmanuel Vadot
9b97ee269SEmmanuel Vadotmaintainers:
10b97ee269SEmmanuel Vadot  - Abel Vesa <abel.vesa@nxp.com>
11b97ee269SEmmanuel Vadot
12b97ee269SEmmanuel Vadotdescription: i.MX SCU Client Device Node
13b97ee269SEmmanuel Vadot  Client nodes are maintained as children of the relevant IMX-SCU device node.
14b97ee269SEmmanuel Vadot  This binding uses the common clock binding.
15b97ee269SEmmanuel Vadot  (Documentation/devicetree/bindings/clock/clock-bindings.txt)
16b97ee269SEmmanuel Vadot  The clock consumer should specify the desired clock by having the clock
17b97ee269SEmmanuel Vadot  ID in its "clocks" phandle cell. See the full list of clock IDs from
18b97ee269SEmmanuel Vadot  include/dt-bindings/clock/imx8qxp-clock.h
19b97ee269SEmmanuel Vadot
20b97ee269SEmmanuel Vadotproperties:
21b97ee269SEmmanuel Vadot  compatible:
22b97ee269SEmmanuel Vadot    items:
23b97ee269SEmmanuel Vadot      - enum:
24b97ee269SEmmanuel Vadot          - fsl,imx8dxl-clk
25b97ee269SEmmanuel Vadot          - fsl,imx8qm-clk
26b97ee269SEmmanuel Vadot          - fsl,imx8qxp-clk
27b97ee269SEmmanuel Vadot      - const: fsl,scu-clk
28b97ee269SEmmanuel Vadot
29b97ee269SEmmanuel Vadot  '#clock-cells':
30b97ee269SEmmanuel Vadot    const: 2
31b97ee269SEmmanuel Vadot
32b97ee269SEmmanuel Vadotrequired:
33b97ee269SEmmanuel Vadot  - compatible
34b97ee269SEmmanuel Vadot  - '#clock-cells'
35b97ee269SEmmanuel Vadot
36b97ee269SEmmanuel VadotadditionalProperties: false
37b97ee269SEmmanuel Vadot
38b97ee269SEmmanuel Vadotexamples:
39b97ee269SEmmanuel Vadot  - |
40b97ee269SEmmanuel Vadot    clock-controller {
41b97ee269SEmmanuel Vadot        compatible = "fsl,imx8qxp-clk", "fsl,scu-clk";
42b97ee269SEmmanuel Vadot        #clock-cells = <2>;
43b97ee269SEmmanuel Vadot    };
44