aboutsummaryrefslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorHeiko Stuebner2017-08-28 00:33:23 +0200
committerHeiko Stuebner2018-11-05 09:39:26 +0100
commita9beb0a21c8b740ab611c4385e2c59f5911a4da6 (patch)
tree0110ee26a0d4033ffc907747ed7e8adf893ec2dd /include/dt-bindings/power
parent651022382c7f8da46cb4872a545ee1da6d097d2a (diff)
dt-bindings: add power-domain header for RK3188 SoCs
Add rk3188 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/rk3188-power.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3188-power.h b/include/dt-bindings/power/rk3188-power.h
new file mode 100644
index 000000000000..93d23dfba33f
--- /dev/null
+++ b/include/dt-bindings/power/rk3188-power.h
@@ -0,0 +1,24 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_RK3188_POWER_H__
+#define __DT_BINDINGS_POWER_RK3188_POWER_H__
+
+/* VD_CORE */
+#define RK3188_PD_A9_0 0
+#define RK3188_PD_A9_1 1
+#define RK3188_PD_A9_2 2
+#define RK3188_PD_A9_3 3
+#define RK3188_PD_DBG 4
+#define RK3188_PD_SCU 5
+
+/* VD_LOGIC */
+#define RK3188_PD_VIDEO 6
+#define RK3188_PD_VIO 7
+#define RK3188_PD_GPU 8
+#define RK3188_PD_PERI 9
+#define RK3188_PD_CPU 10
+#define RK3188_PD_ALIVE 11
+
+/* VD_PMU */
+#define RK3188_PD_RTC 12
+
+#endif