Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1* Clock bindings for Freescale i.MX6 Quad
2
3Required 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
9Optional 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- clocks: list of clock specifiers, must contain an entry for each entry
17 in clock-names
18- clock-names: valid names are "osc", "ckil", "ckih1", "anaclk1" and "anaclk2"
19
20The clock consumer should specify the desired clock by having the clock
21ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx6qdl-clock.h
22for the full list of i.MX6 Quad and DualLite clock IDs.
23
24Examples:
25
26#include <dt-bindings/clock/imx6qdl-clock.h>
27
28clks: ccm@20c4000 {
29 compatible = "fsl,imx6q-ccm";
30 reg = <0x020c4000 0x4000>;
31 interrupts = <0 87 0x04 0 88 0x04>;
32 #clock-cells = <1>;
33};
34
35uart1: serial@2020000 {
36 compatible = "fsl,imx6q-uart", "fsl,imx21-uart";
37 reg = <0x02020000 0x4000>;
38 interrupts = <0 26 0x04>;
39 clocks = <&clks IMX6QDL_CLK_UART_IPG>, <&clks IMX6QDL_CLK_UART_SERIAL>;
40 clock-names = "ipg", "per";
41};