summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorElaine Zhang <zhangqing@rock-chips.com>2017-07-14 15:02:41 +0800
committerHeiko Stuebner <heiko@sntech.de>2017-07-20 22:40:48 +0200
commit8bf3560f6c66832baaae6eba43da552550ed82c9 (patch)
treeed11f93a070a6f15a5d827f45b10fd80e3afc0da /include
parent5771a8c08880cdca3bfb4a3fc6d309d6bba20877 (diff)
dt-bindings: power: add RK3366 SoCs header for power-domain
According to a description from TRM, add all the power domains. Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'include')
-rw-r--r--include/dt-bindings/power/rk3366-power.h24
1 files changed, 24 insertions, 0 deletions
diff --git a/include/dt-bindings/power/rk3366-power.h b/include/dt-bindings/power/rk3366-power.h
new file mode 100644
index 000000000000..223a3dce049a
--- /dev/null
+++ b/include/dt-bindings/power/rk3366-power.h
@@ -0,0 +1,24 @@
+#ifndef __DT_BINDINGS_POWER_RK3366_POWER_H__
+#define __DT_BINDINGS_POWER_RK3366_POWER_H__
+
+/* VD_CORE */
+#define RK3366_PD_A53_0 0
+#define RK3366_PD_A53_1 1
+#define RK3366_PD_A53_2 2
+#define RK3366_PD_A53_3 3
+
+/* VD_LOGIC */
+#define RK3366_PD_BUS 4
+#define RK3366_PD_PERI 5
+#define RK3366_PD_VIO 6
+#define RK3366_PD_VIDEO 7
+#define RK3366_PD_RKVDEC 8
+#define RK3366_PD_WIFIBT 9
+#define RK3366_PD_VPU 10
+#define RK3366_PD_GPU 11
+#define RK3366_PD_ALIVE 12
+
+/* VD_PMU */
+#define RK3366_PD_PMU 13
+
+#endif