Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 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 |
Lucas Stach | 490dd88 | 2013-11-14 11:18:57 +0100 | [diff] [blame] | 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. |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 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>; |
Lucas Stach | 490dd88 | 2013-11-14 11:18:57 +0100 | [diff] [blame] | 26 | clocks = <&clks IMX5_CLK_CAN1_IPG_GATE>, <&clks IMX5_CLK_CAN1_SERIAL_GATE>; |
Fabio Estevam | f40f38d | 2012-11-21 13:43:05 -0200 | [diff] [blame] | 27 | clock-names = "ipg", "per"; |
| 28 | status = "disabled"; |
| 29 | }; |