summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power/r8a77995-sysc.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-12-13 17:58:27 -0500
committerTom Rini <trini@konsulko.com>2017-12-13 17:58:27 -0500
commitfd12455643dbe68e2a3675b1d2adb384ebacd251 (patch)
tree5443a5bf5ce690221833baa46aea645d6f598622 /include/dt-bindings/power/r8a77995-sysc.h
parent9ebc54b8a67b4112e7978493d1d588b3f4e3069b (diff)
parent7387d4c23465d1a997c594e9603326f1a50db78d (diff)
Merge branch 'rmobile-mx' of git://git.denx.de/u-boot-sh
Diffstat (limited to 'include/dt-bindings/power/r8a77995-sysc.h')
-rw-r--r--include/dt-bindings/power/r8a77995-sysc.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/dt-bindings/power/r8a77995-sysc.h b/include/dt-bindings/power/r8a77995-sysc.h
new file mode 100644
index 0000000000..09d0ed575b
--- /dev/null
+++ b/include/dt-bindings/power/r8a77995-sysc.h
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2017 Glider bvba
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; version 2 of the License.
+ */
+#ifndef __DT_BINDINGS_POWER_R8A77995_SYSC_H__
+#define __DT_BINDINGS_POWER_R8A77995_SYSC_H__
+
+/*
+ * These power domain indices match the numbers of the interrupt bits
+ * representing the power areas in the various Interrupt Registers
+ * (e.g. SYSCISR, Interrupt Status Register)
+ */
+
+#define R8A77995_PD_CA53_CPU0 5
+#define R8A77995_PD_CA53_SCU 21
+
+/* Always-on power area */
+#define R8A77995_PD_ALWAYS_ON 32
+
+#endif /* __DT_BINDINGS_POWER_R8A77995_SYSC_H__ */