1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/clock/imx23-clock.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Clock bindings for Freescale i.MX23
8
9maintainers:
10  - Shawn Guo <shawnguo@kernel.org>
11
12description: |
13  The clock consumer should specify the desired clock by having the clock
14  ID in its "clocks" phandle cell. The following is a full list of i.MX23
15  clocks and IDs.
16
17        Clock		ID
18        ------------------
19        ref_xtal	0
20        pll		1
21        ref_cpu		2
22        ref_emi		3
23        ref_pix		4
24        ref_io		5
25        saif_sel	6
26        lcdif_sel	7
27        gpmi_sel	8
28        ssp_sel		9
29        emi_sel		10
30        cpu		11
31        etm_sel		12
32        cpu_pll		13
33        cpu_xtal	14
34        hbus		15
35        xbus		16
36        lcdif_div	17
37        ssp_div		18
38        gpmi_div	19
39        emi_pll		20
40        emi_xtal	21
41        etm_div		22
42        saif_div	23
43        clk32k_div	24
44        rtc		25
45        adc		26
46        spdif_div	27
47        clk32k		28
48        dri		29
49        pwm		30
50        filt		31
51        uart		32
52        ssp		33
53        gpmi		34
54        spdif		35
55        emi		36
56        saif		37
57        lcdif		38
58        etm		39
59        usb		40
60        usb_phy		41
61
62properties:
63  compatible:
64    const: fsl,imx23-clkctrl
65
66  reg:
67    maxItems: 1
68
69  '#clock-cells':
70    const: 1
71
72required:
73  - compatible
74  - reg
75  - '#clock-cells'
76
77additionalProperties: false
78
79examples:
80  - |
81    clock-controller@80040000 {
82        compatible = "fsl,imx23-clkctrl";
83        reg = <0x80040000 0x2000>;
84        #clock-cells = <1>;
85    };
86
87    serial@8006c000 {
88        compatible = "fsl,imx23-auart";
89        reg = <0x8006c000 0x2000>;
90        interrupts = <24>;
91        clocks = <&clks 32>;
92        dmas = <&dma_apbx 6>, <&dma_apbx 7>;
93        dma-names = "rx", "tx";
94    };
95