summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Renner Berthing <kernel@esmil.dk>2021-11-20 21:29:25 +0300
committerEmil Renner Berthing <emil.renner.berthing@canonical.com>2024-04-13 23:33:32 +0300
commit5ca9087a3a660c2620976e1ffd689e497444ab32 (patch)
treec99d9e7e917b4359046ce7666ea7ddea67031e08
parenta686ef8b0a8d846b48d6dd88b66999a80330ea99 (diff)
downloadlinux-5ca9087a3a660c2620976e1ffd689e497444ab32.tar.xz
dt-bindings: reset: Add StarFive JH7100 audio reset definitions
Add all resets for the StarFive JH7100 audio reset controller. Signed-off-by: Emil Renner Berthing <kernel@esmil.dk>
-rw-r--r--include/dt-bindings/reset/starfive-jh7100-audio.h31
1 files changed, 31 insertions, 0 deletions
diff --git a/include/dt-bindings/reset/starfive-jh7100-audio.h b/include/dt-bindings/reset/starfive-jh7100-audio.h
new file mode 100644
index 000000000000..30e3d4cf067a
--- /dev/null
+++ b/include/dt-bindings/reset/starfive-jh7100-audio.h
@@ -0,0 +1,31 @@
+/* SPDX-License-Identifier: GPL-2.0 OR MIT */
+/*
+ * Copyright (C) 2021 Emil Renner Berthing
+ */
+
+#ifndef __DT_BINDINGS_RESET_STARFIVE_JH7100_AUDIO_H__
+#define __DT_BINDINGS_RESET_STARFIVE_JH7100_AUDIO_H__
+
+#define JH7100_AUDRSTN_APB_BUS 0
+#define JH7100_AUDRSTN_I2SADC_APB 1
+#define JH7100_AUDRSTN_I2SADC_SRST 2
+#define JH7100_AUDRSTN_PDM_APB 3
+#define JH7100_AUDRSTN_I2SVAD_APB 4
+#define JH7100_AUDRSTN_I2SVAD_SRST 5
+#define JH7100_AUDRSTN_SPDIF_APB 6
+#define JH7100_AUDRSTN_PWMDAC_APB 7
+#define JH7100_AUDRSTN_I2SDAC_APB 8
+#define JH7100_AUDRSTN_I2SDAC_SRST 9
+#define JH7100_AUDRSTN_I2S1_APB 10
+#define JH7100_AUDRSTN_I2S1_SRST 11
+#define JH7100_AUDRSTN_I2SDAC16K_APB 12
+#define JH7100_AUDRSTN_I2SDAC16K_SRST 13
+#define JH7100_AUDRSTN_DMA1P_AHB 14
+#define JH7100_AUDRSTN_USB_APB 15
+#define JH7100_AUDRST_USB_AXI 16
+#define JH7100_AUDRST_USB_PWRUP_RST_N 17
+#define JH7100_AUDRST_USB_PONRST 18
+
+#define JH7100_AUDRSTN_END 19
+
+#endif /* __DT_BINDINGS_RESET_STARFIVE_JH7100_AUDIO_H__ */