1 # SPDX-License-Identifier: GPL-2.0
4 $id: http://devicetree.org/schemas/clock/imx8mn-clock.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: NXP i.MX8M Nano Clock Control Module Binding
10 - Anson Huang <Anson.Huang@nxp.com>
13 NXP i.MX8M Nano clock control module is an integrated clock controller, which
14 generates and supplies to all modules.
25 - description: 32k osc
26 - description: 24m osc
27 - description: ext1 clock input
28 - description: ext2 clock input
29 - description: ext3 clock input
30 - description: ext4 clock input
44 The clock consumer should specify the desired clock by having the clock
45 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mn-clock.h
46 for the full list of i.MX8M Nano clock IDs.
55 additionalProperties: false
58 # Clock Control Module node:
60 clk: clock-controller@30380000 {
61 compatible = "fsl,imx8mn-ccm";
62 reg = <0x0 0x30380000 0x0 0x10000>;
64 clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>,
65 <&clk_ext2>, <&clk_ext3>, <&clk_ext4>;
66 clock-names = "osc_32k", "osc_24m", "clk_ext1",
67 "clk_ext2", "clk_ext3", "clk_ext4";
70 # Required external clocks for Clock Control Module node:
72 osc_32k: clock-osc-32k {
73 compatible = "fixed-clock";
75 clock-frequency = <32768>;
76 clock-output-names = "osc_32k";
79 osc_24m: clock-osc-24m {
80 compatible = "fixed-clock";
82 clock-frequency = <24000000>;
83 clock-output-names = "osc_24m";
86 clk_ext1: clock-ext1 {
87 compatible = "fixed-clock";
89 clock-frequency = <133000000>;
90 clock-output-names = "clk_ext1";
93 clk_ext2: clock-ext2 {
94 compatible = "fixed-clock";
96 clock-frequency = <133000000>;
97 clock-output-names = "clk_ext2";
100 clk_ext3: clock-ext3 {
101 compatible = "fixed-clock";
103 clock-frequency = <133000000>;
104 clock-output-names = "clk_ext3";
107 clk_ext4: clock-ext4 {
108 compatible = "fixed-clock";
110 clock-frequency= <133000000>;
111 clock-output-names = "clk_ext4";