From: Sergio Paracuellos <sergio.paracuellos@gmail.com>
To: linux-staging@lists.linux.dev
Cc: robh@kernel.org, john@phrozen.org, devicetree@vger.kernel.org,
gregkh@linuxfoundation.org, neil@brown.name,
linux-kernel@vger.kernel.org
Subject: [PATCH 1/3] dt-bindings: reset: add dt binding header for ralink RT2880 resets
Date: Sun, 26 Sep 2021 16:59:29 +0200 [thread overview]
Message-ID: <20210926145931.14603-2-sergio.paracuellos@gmail.com> (raw)
In-Reply-To: <20210926145931.14603-1-sergio.paracuellos@gmail.com>
Adds dt binding header for 'ralink,rt2880-reset' resets.
Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
---
include/dt-bindings/reset/ralink-rt2880.h | 40 +++++++++++++++++++++++
1 file changed, 40 insertions(+)
create mode 100644 include/dt-bindings/reset/ralink-rt2880.h
diff --git a/include/dt-bindings/reset/ralink-rt2880.h b/include/dt-bindings/reset/ralink-rt2880.h
new file mode 100644
index 000000000000..266ef521a584
--- /dev/null
+++ b/include/dt-bindings/reset/ralink-rt2880.h
@@ -0,0 +1,40 @@
+/* SPDX-License-Identifier: GPL-2.0 */
+/*
+ * Copyright (c) 2021 Sergio Paracuellos
+ * Author: Sergio Paracuellos <sergio.paracuellos@gmail.com>
+ */
+
+#ifndef DT_BINDING_RALINK_RT2880_RESET_H
+#define DT_BINDING_RALINK_RT2880_RESET_H
+
+/*
+ * Ralink RT2880 SoC reset controller register bits.
+ */
+#define RALINK_RT2880_SYS 0
+#define RALINK_RT2880_MCM 2
+#define RALINK_RT2880_HSDMA 5
+#define RALINK_RT2880_FE 6
+#define RALINK_RT2880_SPDIFTX 7
+#define RALINK_RT2880_TIMER 8
+#define RALINK_RT2880_INT 9
+#define RALINK_RT2880_MC 10
+#define RALINK_RT2880_PCM 11
+#define RALINK_RT2880_PIO 13
+#define RALINK_RT2880_GDMA 14
+#define RALINK_RT2880_NFI 15
+#define RALINK_RT2880_I2C 16
+#define RALINK_RT2880_I2S 17
+#define RALINK_RT2880_SPI 18
+#define RALINK_RT2880_UART1 19
+#define RALINK_RT2880_UART2 20
+#define RALINK_RT2880_UART3 21
+#define RALINK_RT2880_ETH 23
+#define RALINK_RT2880_PCIE0 24
+#define RALINK_RT2880_PCIE1 25
+#define RALINK_RT2880_PCIE2 26
+#define RALINK_RT2880_AUX_STCK 28
+#define RALINK_RT2880_CRYPTO 29
+#define RALINK_RT2880_SDXC 30
+#define RALINK_RT2880_PPE 31
+
+#endif /* DT_BINDING_RALINK_RT2880_RESET_H */
--
2.25.1
next prev parent reply other threads:[~2021-09-26 14:59 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-09-26 14:59 [PATCH 0/3] staging: mt7621-dts: complete reset missing stuff Sergio Paracuellos
2021-09-26 14:59 ` Sergio Paracuellos [this message]
2021-10-04 18:02 ` [PATCH 1/3] dt-bindings: reset: add dt binding header for ralink RT2880 resets Rob Herring
2021-10-04 18:26 ` Sergio Paracuellos
2021-10-05 13:29 ` Rob Herring
2021-10-05 14:28 ` Sergio Paracuellos
2021-09-26 14:59 ` [PATCH 2/3] dt: bindings: add ralink RT2880 resets device tree binding documentation Sergio Paracuellos
2021-10-04 18:06 ` Rob Herring
2021-10-04 18:23 ` Sergio Paracuellos
2021-10-05 13:27 ` Rob Herring
2021-10-05 14:24 ` Sergio Paracuellos
2021-09-26 14:59 ` [PATCH 3/3] staging: mt7621-dts: align resets with " Sergio Paracuellos
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210926145931.14603-2-sergio.paracuellos@gmail.com \
--to=sergio.paracuellos@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=gregkh@linuxfoundation.org \
--cc=john@phrozen.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=neil@brown.name \
--cc=robh@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox