1e8e3faa0SAlexander Shiyan /* 2e8e3faa0SAlexander Shiyan * Copyright (C) 2014 Alexander Shiyan <shc_work@mail.ru> 3e8e3faa0SAlexander Shiyan * 4e8e3faa0SAlexander Shiyan * This program is free software; you can redistribute it and/or modify 5e8e3faa0SAlexander Shiyan * it under the terms of the GNU General Public License version 2 as 6e8e3faa0SAlexander Shiyan * published by the Free Software Foundation. 7e8e3faa0SAlexander Shiyan * 8e8e3faa0SAlexander Shiyan */ 9e8e3faa0SAlexander Shiyan 10e8e3faa0SAlexander Shiyan #ifndef __DT_BINDINGS_CLOCK_IMX27_H 11e8e3faa0SAlexander Shiyan #define __DT_BINDINGS_CLOCK_IMX27_H 12e8e3faa0SAlexander Shiyan 13e8e3faa0SAlexander Shiyan #define IMX27_CLK_DUMMY 0 14e8e3faa0SAlexander Shiyan #define IMX27_CLK_CKIH 1 15e8e3faa0SAlexander Shiyan #define IMX27_CLK_CKIL 2 16e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL 3 17e8e3faa0SAlexander Shiyan #define IMX27_CLK_SPLL 4 18e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL_MAIN2 5 19e8e3faa0SAlexander Shiyan #define IMX27_CLK_AHB 6 20e8e3faa0SAlexander Shiyan #define IMX27_CLK_IPG 7 21e8e3faa0SAlexander Shiyan #define IMX27_CLK_NFC_DIV 8 22e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER1_DIV 9 23e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER2_DIV 10 24e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER3_DIV 11 25e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER4_DIV 12 26e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_SEL 13 27e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_DIV 14 28e8e3faa0SAlexander Shiyan #define IMX27_CLK_USB_DIV 15 29e8e3faa0SAlexander Shiyan #define IMX27_CLK_CPU_SEL 16 30e8e3faa0SAlexander Shiyan #define IMX27_CLK_CLKO_SEL 17 31e8e3faa0SAlexander Shiyan #define IMX27_CLK_CPU_DIV 18 32e8e3faa0SAlexander Shiyan #define IMX27_CLK_CLKO_DIV 19 33e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_SEL 20 34e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_SEL 21 35e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_DIV 22 36e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_DIV 23 37e8e3faa0SAlexander Shiyan #define IMX27_CLK_CLKO_EN 24 38e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_IPG_GATE 25 39e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_IPG_GATE 26 40e8e3faa0SAlexander Shiyan #define IMX27_CLK_SLCDC_IPG_GATE 27 41e8e3faa0SAlexander Shiyan #define IMX27_CLK_SDHC3_IPG_GATE 28 42e8e3faa0SAlexander Shiyan #define IMX27_CLK_SDHC2_IPG_GATE 29 43e8e3faa0SAlexander Shiyan #define IMX27_CLK_SDHC1_IPG_GATE 30 44e8e3faa0SAlexander Shiyan #define IMX27_CLK_SCC_IPG_GATE 31 45e8e3faa0SAlexander Shiyan #define IMX27_CLK_SAHARA_IPG_GATE 32 46e8e3faa0SAlexander Shiyan #define IMX27_CLK_RTC_IPG_GATE 33 47e8e3faa0SAlexander Shiyan #define IMX27_CLK_PWM_IPG_GATE 34 48e8e3faa0SAlexander Shiyan #define IMX27_CLK_OWIRE_IPG_GATE 35 49e8e3faa0SAlexander Shiyan #define IMX27_CLK_LCDC_IPG_GATE 36 50e8e3faa0SAlexander Shiyan #define IMX27_CLK_KPP_IPG_GATE 37 51e8e3faa0SAlexander Shiyan #define IMX27_CLK_IIM_IPG_GATE 38 52e8e3faa0SAlexander Shiyan #define IMX27_CLK_I2C2_IPG_GATE 39 53e8e3faa0SAlexander Shiyan #define IMX27_CLK_I2C1_IPG_GATE 40 54e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT6_IPG_GATE 41 55e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT5_IPG_GATE 42 56e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT4_IPG_GATE 43 57e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT3_IPG_GATE 44 58e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT2_IPG_GATE 45 59e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPT1_IPG_GATE 46 60e8e3faa0SAlexander Shiyan #define IMX27_CLK_GPIO_IPG_GATE 47 61e8e3faa0SAlexander Shiyan #define IMX27_CLK_FEC_IPG_GATE 48 62e8e3faa0SAlexander Shiyan #define IMX27_CLK_EMMA_IPG_GATE 49 63e8e3faa0SAlexander Shiyan #define IMX27_CLK_DMA_IPG_GATE 50 64e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSPI3_IPG_GATE 51 65e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSPI2_IPG_GATE 52 66e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSPI1_IPG_GATE 53 67e8e3faa0SAlexander Shiyan #define IMX27_CLK_NFC_BAUD_GATE 54 68e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI2_BAUD_GATE 55 69e8e3faa0SAlexander Shiyan #define IMX27_CLK_SSI1_BAUD_GATE 56 70e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_BAUD_GATE 57 71e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER4_GATE 58 72e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER3_GATE 59 73e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER2_GATE 60 74e8e3faa0SAlexander Shiyan #define IMX27_CLK_PER1_GATE 61 75e8e3faa0SAlexander Shiyan #define IMX27_CLK_USB_AHB_GATE 62 76e8e3faa0SAlexander Shiyan #define IMX27_CLK_SLCDC_AHB_GATE 63 77e8e3faa0SAlexander Shiyan #define IMX27_CLK_SAHARA_AHB_GATE 64 78e8e3faa0SAlexander Shiyan #define IMX27_CLK_LCDC_AHB_GATE 65 79e8e3faa0SAlexander Shiyan #define IMX27_CLK_VPU_AHB_GATE 66 80e8e3faa0SAlexander Shiyan #define IMX27_CLK_FEC_AHB_GATE 67 81e8e3faa0SAlexander Shiyan #define IMX27_CLK_EMMA_AHB_GATE 68 82e8e3faa0SAlexander Shiyan #define IMX27_CLK_EMI_AHB_GATE 69 83e8e3faa0SAlexander Shiyan #define IMX27_CLK_DMA_AHB_GATE 70 84e8e3faa0SAlexander Shiyan #define IMX27_CLK_CSI_AHB_GATE 71 85e8e3faa0SAlexander Shiyan #define IMX27_CLK_BROM_AHB_GATE 72 86e8e3faa0SAlexander Shiyan #define IMX27_CLK_ATA_AHB_GATE 73 87e8e3faa0SAlexander Shiyan #define IMX27_CLK_WDOG_IPG_GATE 74 88e8e3faa0SAlexander Shiyan #define IMX27_CLK_USB_IPG_GATE 75 89e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART6_IPG_GATE 76 90e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART5_IPG_GATE 77 91e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART4_IPG_GATE 78 92e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART3_IPG_GATE 79 93e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART2_IPG_GATE 80 94e8e3faa0SAlexander Shiyan #define IMX27_CLK_UART1_IPG_GATE 81 95e8e3faa0SAlexander Shiyan #define IMX27_CLK_CKIH_DIV1P5 82 96e8e3faa0SAlexander Shiyan #define IMX27_CLK_FPM 83 97e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL_OSC_SEL 84 98e8e3faa0SAlexander Shiyan #define IMX27_CLK_MPLL_SEL 85 99e8e3faa0SAlexander Shiyan #define IMX27_CLK_SPLL_GATE 86 100e8e3faa0SAlexander Shiyan #define IMX27_CLK_MSHC_DIV 87 101e8e3faa0SAlexander Shiyan #define IMX27_CLK_RTIC_IPG_GATE 88 102e8e3faa0SAlexander Shiyan #define IMX27_CLK_MSHC_IPG_GATE 89 103e8e3faa0SAlexander Shiyan #define IMX27_CLK_RTIC_AHB_GATE 90 104e8e3faa0SAlexander Shiyan #define IMX27_CLK_MSHC_BAUD_GATE 91 105*b4de5317SAlexander Shiyan #define IMX27_CLK_CKIH_GATE 92 106*b4de5317SAlexander Shiyan #define IMX27_CLK_MAX 93 107e8e3faa0SAlexander Shiyan 108e8e3faa0SAlexander Shiyan #endif 109