summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2017-08-28 01:36:25 +0300
committerHeiko Stuebner <heiko@sntech.de>2018-11-05 11:39:29 +0300
commit2e99be2874484609ade7d80f688fa8c6dc42759b (patch)
treeea12382bad3d1cd69ffeff54c47abdde984eb15e /include/dt-bindings/power
parenta9beb0a21c8b740ab611c4385e2c59f5911a4da6 (diff)
downloadlinux-2e99be2874484609ade7d80f688fa8c6dc42759b.tar.xz
dt-bindings: add power-domain header for RK3066 SoCs
Add rk3066 power-domains as described by the TRM. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Reviewed-by: Rob Herring <robh@kernel.org>
Diffstat (limited to 'include/dt-bindings/power')
-rw-r--r--include/dt-bindings/power/rk3066-power.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3066-power.h b/include/dt-bindings/power/rk3066-power.h
new file mode 100644
index 000000000000..acf9f310ac53
--- /dev/null
+++ b/include/dt-bindings/power/rk3066-power.h
@@ -0,0 +1,22 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3066_POWER_H__
+#define __DT_BINDINGS_POWER_RK3066_POWER_H__
+
+/* VD_CORE */
+#define RK3066_PD_A9_0 0
+#define RK3066_PD_A9_1 1
+#define RK3066_PD_DBG 4
+#define RK3066_PD_SCU 5
+
+/* VD_LOGIC */
+#define RK3066_PD_VIDEO 6
+#define RK3066_PD_VIO 7
+#define RK3066_PD_GPU 8
+#define RK3066_PD_PERI 9
+#define RK3066_PD_CPU 10
+#define RK3066_PD_ALIVE 11
+
+/* VD_PMU */
+#define RK3066_PD_RTC 12
+
+#endif