summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorzhangqing <zhangqing@rock-chips.com>2016-01-11 13:36:38 +0300
committerHeiko Stuebner <heiko@sntech.de>2016-01-25 01:42:14 +0300
commit3e33d4e46d8d920c817b18f72c9a41911850c61f (patch)
tree23b762a94e2b19a8ecd680910a2298491f178382 /include/dt-bindings/power
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
downloadlinux-3e33d4e46d8d920c817b18f72c9a41911850c61f.tar.xz
dt-bindings: add power-domain header for RK3368 SoCs
According to a description from TRM, add all the power domains. Signed-off-by: zhangqing <zhangqing@rock-chips.com> Reviewed-by: Caesar Wang <wxt@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'include/dt-bindings/power')
-rw-r--r--include/dt-bindings/power/rk3368-power.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3368-power.h b/include/dt-bindings/power/rk3368-power.h
new file mode 100644
index 000000000000..93633d57ed84
--- /dev/null
+++ b/include/dt-bindings/power/rk3368-power.h
@@ -0,0 +1,28 @@
+#ifndef __DT_BINDINGS_POWER_RK3368_POWER_H__
+#define __DT_BINDINGS_POWER_RK3368_POWER_H__
+
+/* VD_CORE */
+#define RK3368_PD_A53_L0 0
+#define RK3368_PD_A53_L1 1
+#define RK3368_PD_A53_L2 2
+#define RK3368_PD_A53_L3 3
+#define RK3368_PD_SCU_L 4
+#define RK3368_PD_A53_B0 5
+#define RK3368_PD_A53_B1 6
+#define RK3368_PD_A53_B2 7
+#define RK3368_PD_A53_B3 8
+#define RK3368_PD_SCU_B 9
+
+/* VD_LOGIC */
+#define RK3368_PD_BUS 10
+#define RK3368_PD_PERI 11
+#define RK3368_PD_VIO 12
+#define RK3368_PD_ALIVE 13
+#define RK3368_PD_VIDEO 14
+#define RK3368_PD_GPU_0 15
+#define RK3368_PD_GPU_1 16
+
+/* VD_PMU */
+#define RK3368_PD_PMU 17
+
+#endif