162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-only */ 262306a36Sopenharmony_ci/* 362306a36Sopenharmony_ci * Copyright 2014 Oleksij Rempel <linux@rempel-privat.de> 462306a36Sopenharmony_ci */ 562306a36Sopenharmony_ci 662306a36Sopenharmony_ci#ifndef _DT_BINDINGS_CLK_ASM9260_H 762306a36Sopenharmony_ci#define _DT_BINDINGS_CLK_ASM9260_H 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci/* ahb gate */ 1062306a36Sopenharmony_ci#define CLKID_AHB_ROM 0 1162306a36Sopenharmony_ci#define CLKID_AHB_RAM 1 1262306a36Sopenharmony_ci#define CLKID_AHB_GPIO 2 1362306a36Sopenharmony_ci#define CLKID_AHB_MAC 3 1462306a36Sopenharmony_ci#define CLKID_AHB_EMI 4 1562306a36Sopenharmony_ci#define CLKID_AHB_USB0 5 1662306a36Sopenharmony_ci#define CLKID_AHB_USB1 6 1762306a36Sopenharmony_ci#define CLKID_AHB_DMA0 7 1862306a36Sopenharmony_ci#define CLKID_AHB_DMA1 8 1962306a36Sopenharmony_ci#define CLKID_AHB_UART0 9 2062306a36Sopenharmony_ci#define CLKID_AHB_UART1 10 2162306a36Sopenharmony_ci#define CLKID_AHB_UART2 11 2262306a36Sopenharmony_ci#define CLKID_AHB_UART3 12 2362306a36Sopenharmony_ci#define CLKID_AHB_UART4 13 2462306a36Sopenharmony_ci#define CLKID_AHB_UART5 14 2562306a36Sopenharmony_ci#define CLKID_AHB_UART6 15 2662306a36Sopenharmony_ci#define CLKID_AHB_UART7 16 2762306a36Sopenharmony_ci#define CLKID_AHB_UART8 17 2862306a36Sopenharmony_ci#define CLKID_AHB_UART9 18 2962306a36Sopenharmony_ci#define CLKID_AHB_I2S0 19 3062306a36Sopenharmony_ci#define CLKID_AHB_I2C0 20 3162306a36Sopenharmony_ci#define CLKID_AHB_I2C1 21 3262306a36Sopenharmony_ci#define CLKID_AHB_SSP0 22 3362306a36Sopenharmony_ci#define CLKID_AHB_IOCONFIG 23 3462306a36Sopenharmony_ci#define CLKID_AHB_WDT 24 3562306a36Sopenharmony_ci#define CLKID_AHB_CAN0 25 3662306a36Sopenharmony_ci#define CLKID_AHB_CAN1 26 3762306a36Sopenharmony_ci#define CLKID_AHB_MPWM 27 3862306a36Sopenharmony_ci#define CLKID_AHB_SPI0 28 3962306a36Sopenharmony_ci#define CLKID_AHB_SPI1 29 4062306a36Sopenharmony_ci#define CLKID_AHB_QEI 30 4162306a36Sopenharmony_ci#define CLKID_AHB_QUADSPI0 31 4262306a36Sopenharmony_ci#define CLKID_AHB_CAMIF 32 4362306a36Sopenharmony_ci#define CLKID_AHB_LCDIF 33 4462306a36Sopenharmony_ci#define CLKID_AHB_TIMER0 34 4562306a36Sopenharmony_ci#define CLKID_AHB_TIMER1 35 4662306a36Sopenharmony_ci#define CLKID_AHB_TIMER2 36 4762306a36Sopenharmony_ci#define CLKID_AHB_TIMER3 37 4862306a36Sopenharmony_ci#define CLKID_AHB_IRQ 38 4962306a36Sopenharmony_ci#define CLKID_AHB_RTC 39 5062306a36Sopenharmony_ci#define CLKID_AHB_NAND 40 5162306a36Sopenharmony_ci#define CLKID_AHB_ADC0 41 5262306a36Sopenharmony_ci#define CLKID_AHB_LED 42 5362306a36Sopenharmony_ci#define CLKID_AHB_DAC0 43 5462306a36Sopenharmony_ci#define CLKID_AHB_LCD 44 5562306a36Sopenharmony_ci#define CLKID_AHB_I2S1 45 5662306a36Sopenharmony_ci#define CLKID_AHB_MAC1 46 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ci/* divider */ 5962306a36Sopenharmony_ci#define CLKID_SYS_CPU 47 6062306a36Sopenharmony_ci#define CLKID_SYS_AHB 48 6162306a36Sopenharmony_ci#define CLKID_SYS_I2S0M 49 6262306a36Sopenharmony_ci#define CLKID_SYS_I2S0S 50 6362306a36Sopenharmony_ci#define CLKID_SYS_I2S1M 51 6462306a36Sopenharmony_ci#define CLKID_SYS_I2S1S 52 6562306a36Sopenharmony_ci#define CLKID_SYS_UART0 53 6662306a36Sopenharmony_ci#define CLKID_SYS_UART1 54 6762306a36Sopenharmony_ci#define CLKID_SYS_UART2 55 6862306a36Sopenharmony_ci#define CLKID_SYS_UART3 56 6962306a36Sopenharmony_ci#define CLKID_SYS_UART4 56 7062306a36Sopenharmony_ci#define CLKID_SYS_UART5 57 7162306a36Sopenharmony_ci#define CLKID_SYS_UART6 58 7262306a36Sopenharmony_ci#define CLKID_SYS_UART7 59 7362306a36Sopenharmony_ci#define CLKID_SYS_UART8 60 7462306a36Sopenharmony_ci#define CLKID_SYS_UART9 61 7562306a36Sopenharmony_ci#define CLKID_SYS_SPI0 62 7662306a36Sopenharmony_ci#define CLKID_SYS_SPI1 63 7762306a36Sopenharmony_ci#define CLKID_SYS_QUADSPI 64 7862306a36Sopenharmony_ci#define CLKID_SYS_SSP0 65 7962306a36Sopenharmony_ci#define CLKID_SYS_NAND 66 8062306a36Sopenharmony_ci#define CLKID_SYS_TRACE 67 8162306a36Sopenharmony_ci#define CLKID_SYS_CAMM 68 8262306a36Sopenharmony_ci#define CLKID_SYS_WDT 69 8362306a36Sopenharmony_ci#define CLKID_SYS_CLKOUT 70 8462306a36Sopenharmony_ci#define CLKID_SYS_MAC 71 8562306a36Sopenharmony_ci#define CLKID_SYS_LCD 72 8662306a36Sopenharmony_ci#define CLKID_SYS_ADCANA 73 8762306a36Sopenharmony_ci 8862306a36Sopenharmony_ci#define MAX_CLKS 74 8962306a36Sopenharmony_ci#endif 90