Merge tag 'trace-v4.20' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / clock / imx6q-clock.txt
1 * Clock bindings for Freescale i.MX6 Quad
2
3 Required properties:
4 - compatible: Should be "fsl,imx6q-ccm"
5 - reg: Address and length of the register set
6 - interrupts: Should contain CCM interrupt
7 - #clock-cells: Should be <1>
8
9 Optional properties:
10 - fsl,pmic-stby-poweroff: Configure CCM to assert PMIC_STBY_REQ signal
11   on power off.
12   Use this property if the SoC should be powered off by external power
13   management IC (PMIC) triggered via PMIC_STBY_REQ signal.
14   Boards that are designed to initiate poweroff on PMIC_ON_REQ signal should
15   be using "syscon-poweroff" driver instead.
16
17 The clock consumer should specify the desired clock by having the clock
18 ID in its "clocks" phandle cell.  See include/dt-bindings/clock/imx6qdl-clock.h
19 for the full list of i.MX6 Quad and DualLite clock IDs.
20
21 Examples:
22
23 #include <dt-bindings/clock/imx6qdl-clock.h>
24
25 clks: ccm@20c4000 {
26         compatible = "fsl,imx6q-ccm";
27         reg = <0x020c4000 0x4000>;
28         interrupts = <0 87 0x04 0 88 0x04>;
29         #clock-cells = <1>;
30 };
31
32 uart1: serial@2020000 {
33         compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
34         reg = <0x02020000 0x4000>;
35         interrupts = <0 26 0x04>;
36         clocks = <&clks IMX6QDL_CLK_UART_IPG>, <&clks IMX6QDL_CLK_UART_SERIAL>;
37         clock-names = "ipg", "per";
38 };