1c66ec88fSEmmanuel Vadot /* SPDX-License-Identifier: GPL-2.0-only */ 2c66ec88fSEmmanuel Vadot /* 3c66ec88fSEmmanuel Vadot * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 4c66ec88fSEmmanuel Vadot */ 5c66ec88fSEmmanuel Vadot 6c66ec88fSEmmanuel Vadot #ifndef _DT_BINDINGS_CLK_ASM9260_H 7c66ec88fSEmmanuel Vadot #define _DT_BINDINGS_CLK_ASM9260_H 8c66ec88fSEmmanuel Vadot 9c66ec88fSEmmanuel Vadot /* ahb gate */ 10c66ec88fSEmmanuel Vadot #define CLKID_AHB_ROM 0 11c66ec88fSEmmanuel Vadot #define CLKID_AHB_RAM 1 12c66ec88fSEmmanuel Vadot #define CLKID_AHB_GPIO 2 13c66ec88fSEmmanuel Vadot #define CLKID_AHB_MAC 3 14c66ec88fSEmmanuel Vadot #define CLKID_AHB_EMI 4 15c66ec88fSEmmanuel Vadot #define CLKID_AHB_USB0 5 16c66ec88fSEmmanuel Vadot #define CLKID_AHB_USB1 6 17c66ec88fSEmmanuel Vadot #define CLKID_AHB_DMA0 7 18c66ec88fSEmmanuel Vadot #define CLKID_AHB_DMA1 8 19c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART0 9 20c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART1 10 21c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART2 11 22c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART3 12 23c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART4 13 24c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART5 14 25c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART6 15 26c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART7 16 27c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART8 17 28c66ec88fSEmmanuel Vadot #define CLKID_AHB_UART9 18 29c66ec88fSEmmanuel Vadot #define CLKID_AHB_I2S0 19 30c66ec88fSEmmanuel Vadot #define CLKID_AHB_I2C0 20 31c66ec88fSEmmanuel Vadot #define CLKID_AHB_I2C1 21 32c66ec88fSEmmanuel Vadot #define CLKID_AHB_SSP0 22 33c66ec88fSEmmanuel Vadot #define CLKID_AHB_IOCONFIG 23 34c66ec88fSEmmanuel Vadot #define CLKID_AHB_WDT 24 35c66ec88fSEmmanuel Vadot #define CLKID_AHB_CAN0 25 36c66ec88fSEmmanuel Vadot #define CLKID_AHB_CAN1 26 37c66ec88fSEmmanuel Vadot #define CLKID_AHB_MPWM 27 38c66ec88fSEmmanuel Vadot #define CLKID_AHB_SPI0 28 39c66ec88fSEmmanuel Vadot #define CLKID_AHB_SPI1 29 40c66ec88fSEmmanuel Vadot #define CLKID_AHB_QEI 30 41c66ec88fSEmmanuel Vadot #define CLKID_AHB_QUADSPI0 31 42c66ec88fSEmmanuel Vadot #define CLKID_AHB_CAMIF 32 43c66ec88fSEmmanuel Vadot #define CLKID_AHB_LCDIF 33 44c66ec88fSEmmanuel Vadot #define CLKID_AHB_TIMER0 34 45c66ec88fSEmmanuel Vadot #define CLKID_AHB_TIMER1 35 46c66ec88fSEmmanuel Vadot #define CLKID_AHB_TIMER2 36 47c66ec88fSEmmanuel Vadot #define CLKID_AHB_TIMER3 37 48c66ec88fSEmmanuel Vadot #define CLKID_AHB_IRQ 38 49c66ec88fSEmmanuel Vadot #define CLKID_AHB_RTC 39 50c66ec88fSEmmanuel Vadot #define CLKID_AHB_NAND 40 51c66ec88fSEmmanuel Vadot #define CLKID_AHB_ADC0 41 52c66ec88fSEmmanuel Vadot #define CLKID_AHB_LED 42 53c66ec88fSEmmanuel Vadot #define CLKID_AHB_DAC0 43 54c66ec88fSEmmanuel Vadot #define CLKID_AHB_LCD 44 55c66ec88fSEmmanuel Vadot #define CLKID_AHB_I2S1 45 56c66ec88fSEmmanuel Vadot #define CLKID_AHB_MAC1 46 57c66ec88fSEmmanuel Vadot 58*c9ccf3a3SEmmanuel Vadot /* divider */ 59c66ec88fSEmmanuel Vadot #define CLKID_SYS_CPU 47 60c66ec88fSEmmanuel Vadot #define CLKID_SYS_AHB 48 61c66ec88fSEmmanuel Vadot #define CLKID_SYS_I2S0M 49 62c66ec88fSEmmanuel Vadot #define CLKID_SYS_I2S0S 50 63c66ec88fSEmmanuel Vadot #define CLKID_SYS_I2S1M 51 64c66ec88fSEmmanuel Vadot #define CLKID_SYS_I2S1S 52 65c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART0 53 66c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART1 54 67c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART2 55 68c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART3 56 69c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART4 56 70c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART5 57 71c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART6 58 72c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART7 59 73c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART8 60 74c66ec88fSEmmanuel Vadot #define CLKID_SYS_UART9 61 75c66ec88fSEmmanuel Vadot #define CLKID_SYS_SPI0 62 76c66ec88fSEmmanuel Vadot #define CLKID_SYS_SPI1 63 77c66ec88fSEmmanuel Vadot #define CLKID_SYS_QUADSPI 64 78c66ec88fSEmmanuel Vadot #define CLKID_SYS_SSP0 65 79c66ec88fSEmmanuel Vadot #define CLKID_SYS_NAND 66 80c66ec88fSEmmanuel Vadot #define CLKID_SYS_TRACE 67 81c66ec88fSEmmanuel Vadot #define CLKID_SYS_CAMM 68 82c66ec88fSEmmanuel Vadot #define CLKID_SYS_WDT 69 83c66ec88fSEmmanuel Vadot #define CLKID_SYS_CLKOUT 70 84c66ec88fSEmmanuel Vadot #define CLKID_SYS_MAC 71 85c66ec88fSEmmanuel Vadot #define CLKID_SYS_LCD 72 86c66ec88fSEmmanuel Vadot #define CLKID_SYS_ADCANA 73 87c66ec88fSEmmanuel Vadot 88c66ec88fSEmmanuel Vadot #define MAX_CLKS 74 89c66ec88fSEmmanuel Vadot #endif 90