forked from Minki/linux
6f2536141c
ST's Low Power Controller can now operate in three supported modes; Watchdog, Real Time Clock and most recently as a Clocksource. This new define will allow the LPC IP to be configured for Clocksource from DT. Signed-off-by: Lee Jones <lee.jones@linaro.org>
17 lines
403 B
C
17 lines
403 B
C
/*
|
|
* This header provides shared DT/Driver defines for ST's LPC device
|
|
*
|
|
* Copyright (C) 2014 STMicroelectronics -- All Rights Reserved
|
|
*
|
|
* Author: Lee Jones <lee.jones@linaro.org> for STMicroelectronics
|
|
*/
|
|
|
|
#ifndef __DT_BINDINGS_ST_LPC_H__
|
|
#define __DT_BINDINGS_ST_LPC_H__
|
|
|
|
#define ST_LPC_MODE_RTC 0
|
|
#define ST_LPC_MODE_WDT 1
|
|
#define ST_LPC_MODE_CLKSRC 2
|
|
|
|
#endif /* __DT_BINDINGS_ST_LPC_H__ */
|