1*c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2*c66ec88fSEmmanuel Vadot%YAML 1.2 3*c66ec88fSEmmanuel Vadot--- 4*c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/imx1-clock.yaml# 5*c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6*c66ec88fSEmmanuel Vadot 7*c66ec88fSEmmanuel Vadottitle: Clock bindings for Freescale i.MX1 CPUs 8*c66ec88fSEmmanuel Vadot 9*c66ec88fSEmmanuel Vadotmaintainers: 10*c66ec88fSEmmanuel Vadot - Alexander Shiyan <shc_work@mail.ru> 11*c66ec88fSEmmanuel Vadot 12*c66ec88fSEmmanuel Vadotdescription: | 13*c66ec88fSEmmanuel Vadot The clock consumer should specify the desired clock by having the clock 14*c66ec88fSEmmanuel Vadot ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx1-clock.h 15*c66ec88fSEmmanuel Vadot for the full list of i.MX1 clock IDs. 16*c66ec88fSEmmanuel Vadot 17*c66ec88fSEmmanuel Vadotproperties: 18*c66ec88fSEmmanuel Vadot compatible: 19*c66ec88fSEmmanuel Vadot const: fsl,imx1-ccm 20*c66ec88fSEmmanuel Vadot 21*c66ec88fSEmmanuel Vadot reg: 22*c66ec88fSEmmanuel Vadot maxItems: 1 23*c66ec88fSEmmanuel Vadot 24*c66ec88fSEmmanuel Vadot '#clock-cells': 25*c66ec88fSEmmanuel Vadot const: 1 26*c66ec88fSEmmanuel Vadot 27*c66ec88fSEmmanuel Vadotrequired: 28*c66ec88fSEmmanuel Vadot - compatible 29*c66ec88fSEmmanuel Vadot - reg 30*c66ec88fSEmmanuel Vadot - '#clock-cells' 31*c66ec88fSEmmanuel Vadot 32*c66ec88fSEmmanuel VadotadditionalProperties: false 33*c66ec88fSEmmanuel Vadot 34*c66ec88fSEmmanuel Vadotexamples: 35*c66ec88fSEmmanuel Vadot - | 36*c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/imx1-clock.h> 37*c66ec88fSEmmanuel Vadot 38*c66ec88fSEmmanuel Vadot clock-controller@21b000 { 39*c66ec88fSEmmanuel Vadot #clock-cells = <1>; 40*c66ec88fSEmmanuel Vadot compatible = "fsl,imx1-ccm"; 41*c66ec88fSEmmanuel Vadot reg = <0x0021b000 0x1000>; 42*c66ec88fSEmmanuel Vadot }; 43*c66ec88fSEmmanuel Vadot 44*c66ec88fSEmmanuel Vadot pwm@208000 { 45*c66ec88fSEmmanuel Vadot #pwm-cells = <2>; 46*c66ec88fSEmmanuel Vadot compatible = "fsl,imx1-pwm"; 47*c66ec88fSEmmanuel Vadot reg = <0x00208000 0x1000>; 48*c66ec88fSEmmanuel Vadot interrupts = <34>; 49*c66ec88fSEmmanuel Vadot clocks = <&clks IMX1_CLK_DUMMY>, <&clks IMX1_CLK_PER1>; 50*c66ec88fSEmmanuel Vadot clock-names = "ipg", "per"; 51*c66ec88fSEmmanuel Vadot }; 52