aboutsummaryrefslogtreecommitdiffstats
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorOlof Johansson <olof@lixom.net>2018-01-04 22:36:42 -0800
committerOlof Johansson <olof@lixom.net>2018-01-04 22:36:42 -0800
commit09fa4ba5e2fc21e524f27c606a7d093b4bab382f (patch)
tree239f208fd0516a7a0eb5b4a83e3191437526c88c /include/dt-bindings/power
parentMerge tag 'actions-arm-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions into next/dt (diff)
parentarm64: dts: actions: Add S700 and CubieBoard7 (diff)
downloadlinux-dev-09fa4ba5e2fc21e524f27c606a7d093b4bab382f.tar.xz
linux-dev-09fa4ba5e2fc21e524f27c606a7d093b4bab382f.zip
Merge tag 'actions-arm64-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions into next/dt
Actions Semi arm64 based SoC DT for v4.16 This adds S700 SoC and CubieBoard7. * tag 'actions-arm64-dt-for-4.16' of git://git.kernel.org/pub/scm/linux/kernel/git/afaerber/linux-actions: arm64: dts: actions: Add S700 and CubieBoard7 dt-bindings: power: Add Actions Semi S700 SPS dt-bindings: arm: actions: Add S700 and CubieBoard7 Signed-off-by: Olof Johansson <olof@lixom.net>
Diffstat (limited to 'include/dt-bindings/power')
-rw-r--r--include/dt-bindings/power/owl-s700-powergate.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/dt-bindings/power/owl-s700-powergate.h b/include/dt-bindings/power/owl-s700-powergate.h
new file mode 100644
index 000000000000..4cf1aefbf09c
--- /dev/null
+++ b/include/dt-bindings/power/owl-s700-powergate.h
@@ -0,0 +1,19 @@
+// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
+/*
+ * Actions Semi S700 SPS
+ *
+ * Copyright (c) 2017 Andreas Färber
+ */
+#ifndef DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+#define DT_BINDINGS_POWER_OWL_S700_POWERGATE_H
+
+#define S700_PD_VDE 0
+#define S700_PD_VCE_SI 1
+#define S700_PD_USB2_1 2
+#define S700_PD_HDE 3
+#define S700_PD_DMA 4
+#define S700_PD_DS 5
+#define S700_PD_USB3 6
+#define S700_PD_USB2_0 7
+
+#endif