[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20250220232527.882888-3-dingwei@marvell.com>
Date: Thu, 20 Feb 2025 15:25:25 -0800
From: Wilson Ding <dingwei@...vell.com>
To: <linux-kernel@...r.kernel.org>, <devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
CC: <andrew@...n.ch>, <gregory.clement@...tlin.com>,
<sebastian.hesselbarth@...il.com>, <robh@...nel.org>,
<krzk+dt@...nel.org>, <conor+dt@...nel.org>, <p.zabel@...gutronix.de>,
<salee@...vell.com>, <gakula@...vell.com>,
Wilson Ding <dingwei@...vell.com>
Subject: [PATCH v2 2/4] dt-bindings: cp110: Document the reset controller
Add reset-controller sub-node into the system controller node, and
document the supported reset lines.
Signed-off-by: Wilson Ding <dingwei@...vell.com>
---
.../arm/marvell/cp110-system-controller.txt | 43 +++++++++++++++++++
1 file changed, 43 insertions(+)
diff --git a/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt b/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
index 9d5d70c98058..5e2c2f2b147c 100644
--- a/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
+++ b/Documentation/devicetree/bindings/arm/marvell/cp110-system-controller.txt
@@ -164,6 +164,43 @@ Required properties:
- offset: offset address inside the syscon block
+Reset Controller:
+-----------------
+
+For common binding part and usage, refer to
+Documentation/devicetree/bindings/reset/marvell,armada8k-reset.yaml.
+
+The Device Tree node representing this System Controller 0 provides a
+number of reset lines:
+
+The following reset lines are available:
+
+- 0: Audio Software RESETn
+- 1: TDM Software RESETn
+- 2: Interrupt controller unit Software RESETn
+- 3: Packet processor Software RESETn
+- 4: SDIO Software RESETn
+- 7: XOR-1 engine Software RESETn
+- 8: XOR-0 engine Software RESETn
+- 11: PCIe-0 Gen.3 x1 Software RESETn
+- 12: PCIe-1 Gen.3 x1 Software RESETn
+- 13: PCIe Gen.3 x4 Software RESETn
+- 15: SATA port 0 and port 1 Software RESETn
+- 22: USB3 Host 0 Software RESETn
+- 23: USB3 Host 1 Software RESETn
+- 24: USB3 Device Software RESETn
+- 25: EIP150F Software RESETn
+- 26: EIP197 Software RESETn
+- 29: MSS Software RESETn
+
+Required properties:
+
+ - compatible: "marvell,armada8k-reset"
+
+ - offset: offset address inside the syscon block
+
+ - #reset-cells: must be set to 1
+
Example:
CP110_LABEL(syscon0): system-controller@...000 {
@@ -188,6 +225,12 @@ CP110_LABEL(syscon0): system-controller@...000 {
gpio-ranges = <&CP110_LABEL(pinctrl) 0 0 32>;
};
+ CP11X_LABEL(unit_swrst): reset-controller@268 {
+ compatible = "marvell,armada8k-reset";
+ offset = <0x268>;
+ #reset-cells = <1>;
+ };
+
};
SYSTEM CONTROLLER 1
--
2.43.0
Powered by blists - more mailing lists