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/imx8mp-clock.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: NXP i.MX8M Plus 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 Plus 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,imx8mp-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: 24m osc 27*c66ec88fSEmmanuel Vadot - description: ext1 clock input 28*c66ec88fSEmmanuel Vadot - description: ext2 clock input 29*c66ec88fSEmmanuel Vadot - description: ext3 clock input 30*c66ec88fSEmmanuel Vadot - description: ext4 clock input 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel Vadot clock-names: 33*c66ec88fSEmmanuel Vadot items: 34*c66ec88fSEmmanuel Vadot - const: osc_32k 35*c66ec88fSEmmanuel Vadot - const: osc_24m 36*c66ec88fSEmmanuel Vadot - const: clk_ext1 37*c66ec88fSEmmanuel Vadot - const: clk_ext2 38*c66ec88fSEmmanuel Vadot - const: clk_ext3 39*c66ec88fSEmmanuel Vadot - const: clk_ext4 40*c66ec88fSEmmanuel Vadot 41*c66ec88fSEmmanuel Vadot '#clock-cells': 42*c66ec88fSEmmanuel Vadot const: 1 43*c66ec88fSEmmanuel Vadot description: 44*c66ec88fSEmmanuel Vadot The clock consumer should specify the desired clock by having the clock 45*c66ec88fSEmmanuel Vadot ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx8mp-clock.h 46*c66ec88fSEmmanuel Vadot for the full list of i.MX8M Plus clock IDs. 47*c66ec88fSEmmanuel Vadot 48*c66ec88fSEmmanuel Vadotrequired: 49*c66ec88fSEmmanuel Vadot - compatible 50*c66ec88fSEmmanuel Vadot - reg 51*c66ec88fSEmmanuel Vadot - clocks 52*c66ec88fSEmmanuel Vadot - clock-names 53*c66ec88fSEmmanuel Vadot - '#clock-cells' 54*c66ec88fSEmmanuel Vadot 55*c66ec88fSEmmanuel VadotadditionalProperties: false 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,imx8mp-ccm"; 62*c66ec88fSEmmanuel Vadot reg = <0x30380000 0x10000>; 63*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 64*c66ec88fSEmmanuel Vadot clocks = <&osc_32k>, <&osc_24m>, <&clk_ext1>, 65*c66ec88fSEmmanuel Vadot <&clk_ext2>, <&clk_ext3>, <&clk_ext4>; 66*c66ec88fSEmmanuel Vadot clock-names = "osc_32k", "osc_24m", "clk_ext1", 67*c66ec88fSEmmanuel Vadot "clk_ext2", "clk_ext3", "clk_ext4"; 68*c66ec88fSEmmanuel Vadot }; 69*c66ec88fSEmmanuel Vadot 70*c66ec88fSEmmanuel Vadot... 71