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/imx31 4 $id: http://devicetree.org/schemas/clock/imx31-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.MX31 Clock Controller 7 title: Freescale i.MX31 Clock Controller 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. The followi 14 ID in its "clocks" phandle cell. The following is a full list of i.MX31 15 clocks and IDs. 15 clocks and IDs. 16 16 17 Clock ID 17 Clock ID 18 ----------------------- 18 ----------------------- 19 dummy 0 19 dummy 0 20 ckih 1 20 ckih 1 21 ckil 2 21 ckil 2 22 mpll 3 22 mpll 3 23 spll 4 23 spll 4 24 upll 5 24 upll 5 25 mcu_main 6 25 mcu_main 6 26 hsp 7 26 hsp 7 27 ahb 8 27 ahb 8 28 nfc 9 28 nfc 9 29 ipg 10 29 ipg 10 30 per_div 11 30 per_div 11 31 per 12 31 per 12 32 csi_sel 13 32 csi_sel 13 33 fir_sel 14 33 fir_sel 14 34 csi_div 15 34 csi_div 15 35 usb_div_pre 16 35 usb_div_pre 16 36 usb_div_post 17 36 usb_div_post 17 37 fir_div_pre 18 37 fir_div_pre 18 38 fir_div_post 19 38 fir_div_post 19 39 sdhc1_gate 20 39 sdhc1_gate 20 40 sdhc2_gate 21 40 sdhc2_gate 21 41 gpt_gate 22 41 gpt_gate 22 42 epit1_gate 23 42 epit1_gate 23 43 epit2_gate 24 43 epit2_gate 24 44 iim_gate 25 44 iim_gate 25 45 ata_gate 26 45 ata_gate 26 46 sdma_gate 27 46 sdma_gate 27 47 cspi3_gate 28 47 cspi3_gate 28 48 rng_gate 29 48 rng_gate 29 49 uart1_gate 30 49 uart1_gate 30 50 uart2_gate 31 50 uart2_gate 31 51 ssi1_gate 32 51 ssi1_gate 32 52 i2c1_gate 33 52 i2c1_gate 33 53 i2c2_gate 34 53 i2c2_gate 34 54 i2c3_gate 35 54 i2c3_gate 35 55 hantro_gate 36 55 hantro_gate 36 56 mstick1_gate 37 56 mstick1_gate 37 57 mstick2_gate 38 57 mstick2_gate 38 58 csi_gate 39 58 csi_gate 39 59 rtc_gate 40 59 rtc_gate 40 60 wdog_gate 41 60 wdog_gate 41 61 pwm_gate 42 61 pwm_gate 42 62 sim_gate 43 62 sim_gate 43 63 ect_gate 44 63 ect_gate 44 64 usb_gate 45 64 usb_gate 45 65 kpp_gate 46 65 kpp_gate 46 66 ipu_gate 47 66 ipu_gate 47 67 uart3_gate 48 67 uart3_gate 48 68 uart4_gate 49 68 uart4_gate 49 69 uart5_gate 50 69 uart5_gate 50 70 owire_gate 51 70 owire_gate 51 71 ssi2_gate 52 71 ssi2_gate 52 72 cspi1_gate 53 72 cspi1_gate 53 73 cspi2_gate 54 73 cspi2_gate 54 74 gacc_gate 55 74 gacc_gate 55 75 emi_gate 56 75 emi_gate 56 76 rtic_gate 57 76 rtic_gate 57 77 firi_gate 58 77 firi_gate 58 78 78 79 properties: 79 properties: 80 compatible: 80 compatible: 81 const: fsl,imx31-ccm 81 const: fsl,imx31-ccm 82 82 83 reg: 83 reg: 84 maxItems: 1 84 maxItems: 1 85 85 86 interrupts: 86 interrupts: 87 description: CCM provides 2 interrupt requ 87 description: CCM provides 2 interrupt requests, request 1 is to generate 88 interrupt for DVFS when a frequency chan 88 interrupt for DVFS when a frequency change is requested, request 2 is 89 to generate interrupt for DPTC when a vo 89 to generate interrupt for DPTC when a voltage change is requested. 90 items: 90 items: 91 - description: CCM DVFS interrupt reques 91 - description: CCM DVFS interrupt request 1 92 - description: CCM DPTC interrupt reques 92 - description: CCM DPTC interrupt request 2 93 93 94 '#clock-cells': 94 '#clock-cells': 95 const: 1 95 const: 1 96 96 97 required: 97 required: 98 - compatible 98 - compatible 99 - reg 99 - reg 100 - interrupts 100 - interrupts 101 - '#clock-cells' 101 - '#clock-cells' 102 102 103 additionalProperties: false 103 additionalProperties: false 104 104 105 examples: 105 examples: 106 - | 106 - | 107 clock-controller@53f80000 { 107 clock-controller@53f80000 { 108 compatible = "fsl,imx31-ccm"; 108 compatible = "fsl,imx31-ccm"; 109 reg = <0x53f80000 0x4000>; 109 reg = <0x53f80000 0x4000>; 110 interrupts = <31>, <53>; 110 interrupts = <31>, <53>; 111 #clock-cells = <1>; 111 #clock-cells = <1>; 112 }; 112 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.