treewide: remove redundant IS_ERR() before error code check
[linux/fpc-iii.git] / Documentation / devicetree / bindings / clock / imx6sll-clock.txt
blobfee849d5fdd13ad26005c79f82258340c7000f8b
1 * Clock bindings for Freescale i.MX6 SLL
3 Required properties:
4 - compatible: Should be "fsl,imx6sll-ccm"
5 - reg: Address and length of the register set
6 - #clock-cells: Should be <1>
7 - clocks: list of clock specifiers, must contain an entry for each required
8   entry in clock-names
9 - clock-names: should include entries "ckil", "osc", "ipp_di0" and "ipp_di1"
11 The clock consumer should specify the desired clock by having the clock
12 ID in its "clocks" phandle cell.  See include/dt-bindings/clock/imx6sll-clock.h
13 for the full list of i.MX6 SLL clock IDs.
15 Examples:
17 #include <dt-bindings/clock/imx6sll-clock.h>
19 clks: clock-controller@20c4000 {
20                 compatible = "fsl,imx6sll-ccm";
21                 reg = <0x020c4000 0x4000>;
22                 interrupts = <GIC_SPI 87 IRQ_TYPE_LEVEL_HIGH>,
23                              <GIC_SPI 88 IRQ_TYPE_LEVEL_HIGH>;
24                 #clock-cells = <1>;
25                 clocks = <&ckil>, <&osc>, <&ipp_di0>, <&ipp_di1>;
26                 clock-names = "ckil", "osc", "ipp_di0", "ipp_di1";
29 uart1: serial@2020000 {
30                 compatible = "fsl,imx6sl-uart", "fsl,imx6q-uart", "fsl,imx21-uart";
31                 reg = <0x02020000 0x4000>;
32                 interrupts = <GIC_SPI 26 IRQ_TYPE_LEVEL_HIGH>;
33                 clocks = <&clks IMX6SLL_CLK_UART1_IPG>,
34                          <&clks IMX6SLL_CLK_UART1_SERIAL>;
35                 clock-names = "ipg", "per";