aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFinley Xiao <finley.xiao@rock-chips.com>2018-05-23 02:52:21 -0400
committerHeiko Stuebner <heiko@sntech.de>2018-05-23 14:47:57 -0400
commitc736afccf29005f87d81ea7cb24b8d840c5e3651 (patch)
tree15db73013b16fa1cb0ce7ce51f98277c59f1d3f1
parent2dacbd104636f3a864c4866067e555efb8ac8334 (diff)
dt-bindings: power: add PX30 SoCs header for power-domain
According to a description from TRM, add all the power domains. Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com> Signed-off-by: Elaine Zhang <zhangqing@rock-chips.com> Reviewed-by: Ulf Hansson <ulf.hansson@linaro.org> Reviewed-by: Rob Herring <robh@kernel.org> Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--include/dt-bindings/power/px30-power.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/include/dt-bindings/power/px30-power.h b/include/dt-bindings/power/px30-power.h
new file mode 100644
index 000000000000..30917a99ad20
--- /dev/null
+++ b/include/dt-bindings/power/px30-power.h
@@ -0,0 +1,27 @@
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef __DT_BINDINGS_POWER_PX30_POWER_H__
3#define __DT_BINDINGS_POWER_PX30_POWER_H__
4
5/* VD_CORE */
6#define PX30_PD_A35_0 0
7#define PX30_PD_A35_1 1
8#define PX30_PD_A35_2 2
9#define PX30_PD_A35_3 3
10#define PX30_PD_SCU 4
11
12/* VD_LOGIC */
13#define PX30_PD_USB 5
14#define PX30_PD_DDR 6
15#define PX30_PD_SDCARD 7
16#define PX30_PD_CRYPTO 8
17#define PX30_PD_GMAC 9
18#define PX30_PD_MMC_NAND 10
19#define PX30_PD_VPU 11
20#define PX30_PD_VO 12
21#define PX30_PD_VI 13
22#define PX30_PD_GPU 14
23
24/* VD_PMU */
25#define PX30_PD_PMU 15
26
27#endif