]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
dt-bindings: power: add Meson A1 PWRC bindings
authorAlexey Romanov <avromanov@sberdevices.ru>
Wed, 31 May 2023 09:31:55 +0000 (12:31 +0300)
committerNeil Armstrong <neil.armstrong@linaro.org>
Wed, 28 Jun 2023 08:05:34 +0000 (10:05 +0200)
We can use them in secure pwrc driver.

Signed-off-by: Alexey Romanov <avromanov@sberdevices.ru>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20230531093156.29240-3-avromanov@sberdevices.ru
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
include/dt-bindings/power/meson-a1-power.h [new file with mode: 0644]

diff --git a/include/dt-bindings/power/meson-a1-power.h b/include/dt-bindings/power/meson-a1-power.h
new file mode 100644 (file)
index 0000000..8e39dfc
--- /dev/null
@@ -0,0 +1,32 @@
+/* SPDX-License-Identifier: (GPL-2.0+ or MIT) */
+/*
+ * Copyright (c) 2023 SberDevices, Inc.
+ * Author: Alexey Romanov <avromanov@sberdevices.ru>
+ */
+
+#ifndef _DT_BINDINGS_MESON_A1_POWER_H
+#define _DT_BINDINGS_MESON_A1_POWER_H
+
+#define PWRC_DSPA_ID   8
+#define PWRC_DSPB_ID   9
+#define PWRC_UART_ID   10
+#define PWRC_DMC_ID    11
+#define PWRC_I2C_ID    12
+#define PWRC_PSRAM_ID  13
+#define PWRC_ACODEC_ID 14
+#define PWRC_AUDIO_ID  15
+#define PWRC_OTP_ID    16
+#define PWRC_DMA_ID    17
+#define PWRC_SD_EMMC_ID        18
+#define PWRC_RAMA_ID   19
+#define PWRC_RAMB_ID   20
+#define PWRC_IR_ID     21
+#define PWRC_SPICC_ID  22
+#define PWRC_SPIFC_ID  23
+#define PWRC_USB_ID    24
+#define PWRC_NIC_ID    25
+#define PWRC_PDMIN_ID  26
+#define PWRC_RSA_ID    27
+#define PWRC_MAX_ID    28
+
+#endif