summaryrefslogtreecommitdiff
path: root/include/dt-bindings/power
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2019-07-16 22:17:13 +0200
committerKever Yang <kever.yang@rock-chips.com>2019-11-17 17:23:00 +0800
commit46281a76bee3fdb18f75b4c71405ac5cacf1a64e (patch)
treea69b9f27e568002947db35625b797ef5d452c59d /include/dt-bindings/power
parent22b7b860051d3f18cfd3bb9750b907174b3eee2b (diff)
rockchip: add core px30 headers
Add headers needed by the upcoming px30 support, including two new dt-binding headers taken from the Linux kernel. Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Diffstat (limited to 'include/dt-bindings/power')
-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 0000000000..30917a99ad
--- /dev/null
+++ b/include/dt-bindings/power/px30-power.h
@@ -0,0 +1,27 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+#ifndef __DT_BINDINGS_POWER_PX30_POWER_H__
+#define __DT_BINDINGS_POWER_PX30_POWER_H__
+
+/* VD_CORE */
+#define PX30_PD_A35_0 0
+#define PX30_PD_A35_1 1
+#define PX30_PD_A35_2 2
+#define PX30_PD_A35_3 3
+#define PX30_PD_SCU 4
+
+/* VD_LOGIC */
+#define PX30_PD_USB 5
+#define PX30_PD_DDR 6
+#define PX30_PD_SDCARD 7
+#define PX30_PD_CRYPTO 8
+#define PX30_PD_GMAC 9
+#define PX30_PD_MMC_NAND 10
+#define PX30_PD_VPU 11
+#define PX30_PD_VO 12
+#define PX30_PD_VI 13
+#define PX30_PD_GPU 14
+
+/* VD_PMU */
+#define PX30_PD_PMU 15
+
+#endif