]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blob - Documentation/devicetree/bindings/clock/imx5-clock.txt
Merge branch 'slab/next' of git://git.kernel.org/pub/scm/linux/kernel/git/penberg...
[mirror_ubuntu-zesty-kernel.git] / Documentation / devicetree / bindings / clock / imx5-clock.txt
1 * Clock bindings for Freescale i.MX5
2
3 Required properties:
4 - compatible: Should be "fsl,<soc>-ccm" , where <soc> can be imx51 or imx53
5 - reg: Address and length of the register set
6 - interrupts: Should contain CCM interrupt
7 - #clock-cells: Should be <1>
8
9 The clock consumer should specify the desired clock by having the clock
10 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx5-clock.h
11 for the full list of i.MX5 clock IDs.
12
13 Examples (for mx53):
14
15 clks: ccm@53fd4000{
16 compatible = "fsl,imx53-ccm";
17 reg = <0x53fd4000 0x4000>;
18 interrupts = <0 71 0x04 0 72 0x04>;
19 #clock-cells = <1>;
20 };
21
22 can1: can@53fc8000 {
23 compatible = "fsl,imx53-flexcan", "fsl,p1010-flexcan";
24 reg = <0x53fc8000 0x4000>;
25 interrupts = <82>;
26 clocks = <&clks IMX5_CLK_CAN1_IPG_GATE>, <&clks IMX5_CLK_CAN1_SERIAL_GATE>;
27 clock-names = "ipg", "per";
28 status = "disabled";
29 };