summaryrefslogtreecommitdiffstats
path: root/dts/include/dt-bindings/clock/at91.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-06-05 08:52:11 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2014-06-19 09:41:51 +0200
commitff3085135f74256739b154e5da8e8825fa2296d7 (patch)
tree38a67bbd21e6a88e63000be2074a132d2fc87282 /dts/include/dt-bindings/clock/at91.h
parent6e64f44b23faa12cb20877696a84c66e98f486c2 (diff)
downloadbarebox-ff3085135f74256739b154e5da8e8825fa2296d7.tar.gz
barebox-ff3085135f74256739b154e5da8e8825fa2296d7.tar.xz
dts: update to v3.15-rc6
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'dts/include/dt-bindings/clock/at91.h')
-rw-r--r--dts/include/dt-bindings/clock/at91.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/dts/include/dt-bindings/clock/at91.h b/dts/include/dt-bindings/clock/at91.h
new file mode 100644
index 0000000000..0b4cb999a3
--- /dev/null
+++ b/dts/include/dt-bindings/clock/at91.h
@@ -0,0 +1,22 @@
+/*
+ * This header provides constants for AT91 pmc status.
+ *
+ * The constants defined in this header are being used in dts.
+ *
+ * Licensed under GPLv2 or later.
+ */
+
+#ifndef _DT_BINDINGS_CLK_AT91_H
+#define _DT_BINDINGS_CLK_AT91_H
+
+#define AT91_PMC_MOSCS 0 /* MOSCS Flag */
+#define AT91_PMC_LOCKA 1 /* PLLA Lock */
+#define AT91_PMC_LOCKB 2 /* PLLB Lock */
+#define AT91_PMC_MCKRDY 3 /* Master Clock */
+#define AT91_PMC_LOCKU 6 /* UPLL Lock */
+#define AT91_PMC_PCKRDY(id) (8 + (id)) /* Programmable Clock */
+#define AT91_PMC_MOSCSELS 16 /* Main Oscillator Selection */
+#define AT91_PMC_MOSCRCS 17 /* Main On-Chip RC */
+#define AT91_PMC_CFDEV 18 /* Clock Failure Detector Event */
+
+#endif