1c66ec88fSEmmanuel Vadot# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2c66ec88fSEmmanuel Vadot%YAML 1.2 3c66ec88fSEmmanuel Vadot--- 4c66ec88fSEmmanuel Vadot$id: http://devicetree.org/schemas/clock/imx27-clock.yaml# 5c66ec88fSEmmanuel Vadot$schema: http://devicetree.org/meta-schemas/core.yaml# 6c66ec88fSEmmanuel Vadot 7c66ec88fSEmmanuel Vadottitle: Clock bindings for Freescale i.MX27 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadotmaintainers: 10*5def4c47SEmmanuel Vadot - Fabio Estevam <festevam@gmail.com> 11c66ec88fSEmmanuel Vadot 12c66ec88fSEmmanuel Vadotdescription: | 13c66ec88fSEmmanuel Vadot The clock consumer should specify the desired clock by having the clock 14c66ec88fSEmmanuel Vadot ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx27-clock.h 15c66ec88fSEmmanuel Vadot for the full list of i.MX27 clock IDs. 16c66ec88fSEmmanuel Vadot 17c66ec88fSEmmanuel Vadotproperties: 18c66ec88fSEmmanuel Vadot compatible: 19c66ec88fSEmmanuel Vadot const: fsl,imx27-ccm 20c66ec88fSEmmanuel Vadot 21c66ec88fSEmmanuel Vadot reg: 22c66ec88fSEmmanuel Vadot maxItems: 1 23c66ec88fSEmmanuel Vadot 24c66ec88fSEmmanuel Vadot interrupts: 25c66ec88fSEmmanuel Vadot maxItems: 1 26c66ec88fSEmmanuel Vadot 27c66ec88fSEmmanuel Vadot '#clock-cells': 28c66ec88fSEmmanuel Vadot const: 1 29c66ec88fSEmmanuel Vadot 30c66ec88fSEmmanuel Vadotrequired: 31c66ec88fSEmmanuel Vadot - compatible 32c66ec88fSEmmanuel Vadot - reg 33c66ec88fSEmmanuel Vadot - '#clock-cells' 34c66ec88fSEmmanuel Vadot 35c66ec88fSEmmanuel VadotadditionalProperties: false 36c66ec88fSEmmanuel Vadot 37c66ec88fSEmmanuel Vadotexamples: 38c66ec88fSEmmanuel Vadot - | 39c66ec88fSEmmanuel Vadot #include <dt-bindings/clock/imx27-clock.h> 40c66ec88fSEmmanuel Vadot 41c66ec88fSEmmanuel Vadot clock-controller@10027000 { 42c66ec88fSEmmanuel Vadot compatible = "fsl,imx27-ccm"; 43c66ec88fSEmmanuel Vadot reg = <0x10027000 0x1000>; 44c66ec88fSEmmanuel Vadot interrupts = <31>; 45c66ec88fSEmmanuel Vadot #clock-cells = <1>; 46c66ec88fSEmmanuel Vadot }; 47c66ec88fSEmmanuel Vadot 48c66ec88fSEmmanuel Vadot serial@1000a000 { 49c66ec88fSEmmanuel Vadot compatible = "fsl,imx27-uart", "fsl,imx21-uart"; 50c66ec88fSEmmanuel Vadot reg = <0x1000a000 0x1000>; 51c66ec88fSEmmanuel Vadot interrupts = <20>; 52c66ec88fSEmmanuel Vadot clocks = <&clks IMX27_CLK_UART1_IPG_GATE>, 53c66ec88fSEmmanuel Vadot <&clks IMX27_CLK_PER1_GATE>; 54c66ec88fSEmmanuel Vadot clock-names = "ipg", "per"; 55c66ec88fSEmmanuel Vadot }; 56