[PATCH net-next 1/5] dt-bindings: reset: Add Cortina CS7542 network engine reset domain

From: Fil Dunsky via B4 Relay

Date: Mon Nov 23 2026 - 13:45:52 EST


From: Fil Dunsky <filipp.dunsky@xxxxxxxxx>

Describe the atomic reset domain required to stop all network-engine and
LSO/SSP DMA users before releasing their mappings. Exclude the SDRAM
controller and independent PCIe resets. Allow this provider as a child
of the shared global syscon.

Signed-off-by: Fil Dunsky <filipp.dunsky@xxxxxxxxx>
---
.../bindings/reset/cortina,cs7542-ne-reset.yaml | 42 ++++++++++++++++++++++
.../soc/cortina/cortina,cs7542-syscon.yaml | 4 +++
2 files changed, 46 insertions(+)

diff --git a/Documentation/devicetree/bindings/reset/cortina,cs7542-ne-reset.yaml b/Documentation/devicetree/bindings/reset/cortina,cs7542-ne-reset.yaml
new file mode 100644
index 000000000..8f5b5b835
--- /dev/null
+++ b/Documentation/devicetree/bindings/reset/cortina,cs7542-ne-reset.yaml
@@ -0,0 +1,42 @@
+# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/reset/cortina,cs7542-ne-reset.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Cortina Systems CS7542 network engine reset domain
+
+maintainers:
+ - Fil Dunsky <filipp.dunsky@xxxxxxxxx>
+
+description: |
+ Child of the CS7542 global syscon. One reset domain covers NI, FE, TM,
+ scheduler, queue manager, NI XRAM and the entire DMA block (LSO and SSP).
+ SDRAM and unrelated peripheral reset bits are not modified. The consumer
+ must own all these blocks exclusively. This reset is not suitable for a
+ network-only consumer while a separate driver uses SSP DMA.
+
+properties:
+ compatible:
+ const: cortina,cs7542-ne-reset
+
+ "#reset-cells":
+ const: 0
+
+required:
+ - compatible
+ - "#reset-cells"
+
+additionalProperties: false
+
+examples:
+ - |
+ syscon@f0000000 {
+ compatible = "cortina,cs7542-syscon", "syscon", "simple-mfd";
+ reg = <0xf0000000 0x100>;
+ #clock-cells = <1>;
+ reset-controller {
+ compatible = "cortina,cs7542-ne-reset";
+ #reset-cells = <0>;
+ };
+ };
diff --git a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
index fb074de87..5aca670cd 100644
--- a/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
+++ b/Documentation/devicetree/bindings/soc/cortina/cortina,cs7542-syscon.yaml
@@ -33,6 +33,10 @@ properties:
type: object
$ref: /schemas/pinctrl/cortina,cs7542-pinctrl.yaml#

+ reset-controller:
+ type: object
+ $ref: /schemas/reset/cortina,cs7542-ne-reset.yaml#
+
required:
- compatible
- reg

--
2.53.0