summaryrefslogtreecommitdiff
path: root/include/dt-bindings/mfd/st-lpc.h
diff options
context:
space:
mode:
authorPatrice Chotard <patrice.chotard@st.com>2017-02-21 13:37:11 +0100
committerTom Rini <trini@konsulko.com>2017-03-14 20:40:21 -0400
commit51cb23d45263eb0c0dd7e8e22e9a6e10c8b81f3e (patch)
treed36f2170df55c83e60132943402f688b83f29fad /include/dt-bindings/mfd/st-lpc.h
parent0c56310252b6fc3c942ec569fefc0dfbc1c38a74 (diff)
STiH410-B2260: Add device tree
This device tree has been extracted from v4.9 kernel Signed-off-by: Patrice Chotard <patrice.chotard@st.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/dt-bindings/mfd/st-lpc.h')
-rw-r--r--include/dt-bindings/mfd/st-lpc.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/dt-bindings/mfd/st-lpc.h b/include/dt-bindings/mfd/st-lpc.h
new file mode 100644
index 0000000000..d05894afa7
--- /dev/null
+++ b/include/dt-bindings/mfd/st-lpc.h
@@ -0,0 +1,16 @@
+/*
+ * 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__ */