1 # SPDX-License-Identifier: (GPL-2.0-only OR BS 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/clock/imx5- 4 $id: http://devicetree.org/schemas/clock/imx5-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Freescale i.MX5 Clock Controller !! 7 title: Clock bindings for Freescale i.MX5 8 8 9 maintainers: 9 maintainers: 10 - Fabio Estevam <festevam@gmail.com> 10 - Fabio Estevam <festevam@gmail.com> 11 11 12 description: | 12 description: | 13 The clock consumer should specify the desire 13 The clock consumer should specify the desired clock by having the clock 14 ID in its "clocks" phandle cell. See include 14 ID in its "clocks" phandle cell. See include/dt-bindings/clock/imx5-clock.h 15 for the full list of i.MX5 clock IDs. 15 for the full list of i.MX5 clock IDs. 16 16 17 properties: 17 properties: 18 compatible: 18 compatible: 19 enum: 19 enum: 20 - fsl,imx53-ccm 20 - fsl,imx53-ccm 21 - fsl,imx51-ccm 21 - fsl,imx51-ccm 22 - fsl,imx50-ccm 22 - fsl,imx50-ccm 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 interrupts: 27 interrupts: 28 description: CCM provides 2 interrupt requ 28 description: CCM provides 2 interrupt requests, request 1 is to generate 29 interrupt for frequency or mux change, r 29 interrupt for frequency or mux change, request 2 is to generate 30 interrupt for oscillator read or PLL loc 30 interrupt for oscillator read or PLL lock. 31 items: 31 items: 32 - description: CCM interrupt request 1 32 - description: CCM interrupt request 1 33 - description: CCM interrupt request 2 33 - description: CCM interrupt request 2 34 34 35 '#clock-cells': 35 '#clock-cells': 36 const: 1 36 const: 1 37 37 38 required: 38 required: 39 - compatible 39 - compatible 40 - reg 40 - reg 41 - interrupts 41 - interrupts 42 - '#clock-cells' 42 - '#clock-cells' 43 43 44 additionalProperties: false 44 additionalProperties: false 45 45 46 examples: 46 examples: 47 - | 47 - | 48 #include <dt-bindings/clock/imx5-clock.h> 48 #include <dt-bindings/clock/imx5-clock.h> 49 #include <dt-bindings/interrupt-controller 49 #include <dt-bindings/interrupt-controller/arm-gic.h> 50 50 51 clock-controller@53fd4000{ 51 clock-controller@53fd4000{ 52 compatible = "fsl,imx53-ccm"; 52 compatible = "fsl,imx53-ccm"; 53 reg = <0x53fd4000 0x4000>; 53 reg = <0x53fd4000 0x4000>; 54 interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH 54 interrupts = <0 71 IRQ_TYPE_LEVEL_HIGH>, 55 <0 72 IRQ_TYPE_LEVEL_HIGH 55 <0 72 IRQ_TYPE_LEVEL_HIGH>; 56 #clock-cells = <1>; 56 #clock-cells = <1>; 57 }; 57 }; 58 ... !! 58 >> 59 can@53fc8000 { >> 60 compatible = "fsl,imx53-flexcan", "fsl,imx25-flexcan"; >> 61 reg = <0x53fc8000 0x4000>; >> 62 interrupts = <82>; >> 63 clocks = <&clks IMX5_CLK_CAN1_IPG_GATE>, <&clks IMX5_CLK_CAN1_SERIAL_GATE>; >> 64 clock-names = "ipg", "per"; >> 65 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.