summaryrefslogtreecommitdiff
path: root/include/dt-bindings
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2017-02-27 23:13:48 +0100
committerAndreas Färber <afaerber@suse.de>2017-06-23 17:42:31 +0200
commit4ca3fbd981efde78e64643672d493b4ede458e72 (patch)
tree886035e5b1628597932f4a336d763584087595fd /include/dt-bindings
parent2ea659a9ef488125eb46da6eb571de5eae5c43f6 (diff)
dt-bindings: power: Add Owl SPS power domains
Define power domains for all non-reserved S500 power gates. Acked-by: Rob Herring <robh@kernel.org> Signed-off-by: Andreas Färber <afaerber@suse.de>
Diffstat (limited to 'include/dt-bindings')
-rw-r--r--include/dt-bindings/power/owl-s500-powergate.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/power/owl-s500-powergate.h b/include/dt-bindings/power/owl-s500-powergate.h
new file mode 100644
index 000000000000..0a1c451865ea
--- /dev/null
+++ b/include/dt-bindings/power/owl-s500-powergate.h
@@ -0,0 +1,19 @@
+/*
+ * Copyright (c) 2017 Andreas Färber
+ *
+ * SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+ */
+#ifndef DT_BINDINGS_POWER_OWL_S500_POWERGATE_H
+#define DT_BINDINGS_POWER_OWL_S500_POWERGATE_H
+
+#define S500_PD_VDE 0
+#define S500_PD_VCE_SI 1
+#define S500_PD_USB2_1 2
+#define S500_PD_CPU2 3
+#define S500_PD_CPU3 4
+#define S500_PD_DMA 5
+#define S500_PD_DS 6
+#define S500_PD_USB3 7
+#define S500_PD_USB2_0 8
+
+#endif