1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: GPL-2.0 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/imx8mq-clock.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: NXP i.MX8M Quad Clock Control Module Binding 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Anson Huang <Anson.Huang@nxp.com> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot NXP i.MX8M Quad clock control module is an integrated clock controller, which 14*c66ec88fSEmmanuel Vadot generates and supplies to all modules. 15*c66ec88fSEmmanuel Vadot 16*c66ec88fSEmmanuel Vadotproperties: 17*c66ec88fSEmmanuel Vadot compatible: 18*c66ec88fSEmmanuel Vadot const: fsl,imx8mq-ccm 19*c66ec88fSEmmanuel Vadot 20*c66ec88fSEmmanuel Vadot reg: 21*c66ec88fSEmmanuel Vadot maxItems: 1 22*c66ec88fSEmmanuel Vadot 23*c66ec88fSEmmanuel Vadot clocks: 24*c66ec88fSEmmanuel Vadot items: 25*c66ec88fSEmmanuel Vadot - description: 32k osc 26*c66ec88fSEmmanuel Vadot - description: 25m osc 27*c66ec88fSEmmanuel Vadot - description: 27m osc 28*c66ec88fSEmmanuel Vadot - description: ext1 clock input 29*c66ec88fSEmmanuel Vadot - description: ext2 clock input 30*c66ec88fSEmmanuel Vadot - description: ext3 clock input 31*c66ec88fSEmmanuel Vadot - description: ext4 clock input 32*c66ec88fSEmmanuel Vadot 33*c66ec88fSEmmanuel Vadot clock-names: 34*c66ec88fSEmmanuel Vadot items: 35*c66ec88fSEmmanuel Vadot - const: ckil 36*c66ec88fSEmmanuel Vadot - const: osc_25m 37*c66ec88fSEmmanuel Vadot - const: osc_27m 38*c66ec88fSEmmanuel Vadot - const: clk_ext1 39*c66ec88fSEmmanuel Vadot - const: clk_ext2 40*c66ec88fSEmmanuel Vadot - const: clk_ext3 41*c66ec88fSEmmanuel Vadot - const: clk_ext4 42*c66ec88fSEmmanuel Vadot 43*c66ec88fSEmmanuel Vadot '#clock-cells': 44*c66ec88fSEmmanuel Vadot const: 1 45*c66ec88fSEmmanuel Vadot description: 46*c66ec88fSEmmanuel Vadot The clock consumer should specify the desired clock by having the clock 47*c66ec88fSEmmanuel Vadot ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mq-clock.h 48*c66ec88fSEmmanuel Vadot for the full list of i.MX8M Quad clock IDs. 49*c66ec88fSEmmanuel Vadot 50*c66ec88fSEmmanuel Vadotrequired: 51*c66ec88fSEmmanuel Vadot - compatible 52*c66ec88fSEmmanuel Vadot - reg 53*c66ec88fSEmmanuel Vadot - clocks 54*c66ec88fSEmmanuel Vadot - clock-names 55*c66ec88fSEmmanuel Vadot - '#clock-cells' 56*c66ec88fSEmmanuel Vadot 57*c66ec88fSEmmanuel Vadotexamples: 58*c66ec88fSEmmanuel Vadot # Clock Control Module node: 59*c66ec88fSEmmanuel Vadot - | 60*c66ec88fSEmmanuel Vadot clk: clock-controller@30380000 { 61*c66ec88fSEmmanuel Vadot compatible = "fsl,imx8mq-ccm"; 62*c66ec88fSEmmanuel Vadot reg = <0x30380000 0x10000>; 63*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 64*c66ec88fSEmmanuel Vadot clocks = <&ckil>, <&osc_25m>, <&osc_27m>, 65*c66ec88fSEmmanuel Vadot <&clk_ext1>, <&clk_ext2>, 66*c66ec88fSEmmanuel Vadot <&clk_ext3>, <&clk_ext4>; 67*c66ec88fSEmmanuel Vadot clock-names = "ckil", "osc_25m", "osc_27m", 68*c66ec88fSEmmanuel Vadot "clk_ext1", "clk_ext2", 69*c66ec88fSEmmanuel Vadot "clk_ext3", "clk_ext4"; 70*c66ec88fSEmmanuel Vadot }; 71*c66ec88fSEmmanuel Vadot 72*c66ec88fSEmmanuel Vadot... 73