162306a36Sopenharmony_ci/* 262306a36Sopenharmony_ci * Copyright (c) 2015 Vladimir Zapolskiy <vz@mleia.com> 362306a36Sopenharmony_ci * 462306a36Sopenharmony_ci * This code is released using a dual license strategy: BSD/GPL 562306a36Sopenharmony_ci * You can choose the licence that better fits your requirements. 662306a36Sopenharmony_ci * 762306a36Sopenharmony_ci * Released under the terms of 3-clause BSD License 862306a36Sopenharmony_ci * Released under the terms of GNU General Public License Version 2.0 962306a36Sopenharmony_ci * 1062306a36Sopenharmony_ci */ 1162306a36Sopenharmony_ci 1262306a36Sopenharmony_ci#ifndef __DT_BINDINGS_LPC32XX_CLOCK_H 1362306a36Sopenharmony_ci#define __DT_BINDINGS_LPC32XX_CLOCK_H 1462306a36Sopenharmony_ci 1562306a36Sopenharmony_ci/* LPC32XX System Control Block clocks */ 1662306a36Sopenharmony_ci#define LPC32XX_CLK_RTC 1 1762306a36Sopenharmony_ci#define LPC32XX_CLK_DMA 2 1862306a36Sopenharmony_ci#define LPC32XX_CLK_MLC 3 1962306a36Sopenharmony_ci#define LPC32XX_CLK_SLC 4 2062306a36Sopenharmony_ci#define LPC32XX_CLK_LCD 5 2162306a36Sopenharmony_ci#define LPC32XX_CLK_MAC 6 2262306a36Sopenharmony_ci#define LPC32XX_CLK_SD 7 2362306a36Sopenharmony_ci#define LPC32XX_CLK_DDRAM 8 2462306a36Sopenharmony_ci#define LPC32XX_CLK_SSP0 9 2562306a36Sopenharmony_ci#define LPC32XX_CLK_SSP1 10 2662306a36Sopenharmony_ci#define LPC32XX_CLK_UART3 11 2762306a36Sopenharmony_ci#define LPC32XX_CLK_UART4 12 2862306a36Sopenharmony_ci#define LPC32XX_CLK_UART5 13 2962306a36Sopenharmony_ci#define LPC32XX_CLK_UART6 14 3062306a36Sopenharmony_ci#define LPC32XX_CLK_IRDA 15 3162306a36Sopenharmony_ci#define LPC32XX_CLK_I2C1 16 3262306a36Sopenharmony_ci#define LPC32XX_CLK_I2C2 17 3362306a36Sopenharmony_ci#define LPC32XX_CLK_TIMER0 18 3462306a36Sopenharmony_ci#define LPC32XX_CLK_TIMER1 19 3562306a36Sopenharmony_ci#define LPC32XX_CLK_TIMER2 20 3662306a36Sopenharmony_ci#define LPC32XX_CLK_TIMER3 21 3762306a36Sopenharmony_ci#define LPC32XX_CLK_TIMER4 22 3862306a36Sopenharmony_ci#define LPC32XX_CLK_TIMER5 23 3962306a36Sopenharmony_ci#define LPC32XX_CLK_WDOG 24 4062306a36Sopenharmony_ci#define LPC32XX_CLK_I2S0 25 4162306a36Sopenharmony_ci#define LPC32XX_CLK_I2S1 26 4262306a36Sopenharmony_ci#define LPC32XX_CLK_SPI1 27 4362306a36Sopenharmony_ci#define LPC32XX_CLK_SPI2 28 4462306a36Sopenharmony_ci#define LPC32XX_CLK_MCPWM 29 4562306a36Sopenharmony_ci#define LPC32XX_CLK_HSTIMER 30 4662306a36Sopenharmony_ci#define LPC32XX_CLK_KEY 31 4762306a36Sopenharmony_ci#define LPC32XX_CLK_PWM1 32 4862306a36Sopenharmony_ci#define LPC32XX_CLK_PWM2 33 4962306a36Sopenharmony_ci#define LPC32XX_CLK_ADC 34 5062306a36Sopenharmony_ci#define LPC32XX_CLK_HCLK_PLL 35 5162306a36Sopenharmony_ci#define LPC32XX_CLK_PERIPH 36 5262306a36Sopenharmony_ci 5362306a36Sopenharmony_ci/* LPC32XX USB clocks */ 5462306a36Sopenharmony_ci#define LPC32XX_USB_CLK_I2C 1 5562306a36Sopenharmony_ci#define LPC32XX_USB_CLK_DEVICE 2 5662306a36Sopenharmony_ci#define LPC32XX_USB_CLK_HOST 3 5762306a36Sopenharmony_ci 5862306a36Sopenharmony_ci#endif /* __DT_BINDINGS_LPC32XX_CLOCK_H */ 59