[PATCH 02/10] dt-bindings: soc: add Ambarella secure scratchpad

Long Zhao longzhao at ambarella.com
Thu Jul 30 03:43:22 PDT 2026


Document the Ambarella secure scratchpad syscon used by CV75.

Signed-off-by: Long Zhao <longzhao at ambarella.com>
---
 .../ambarella/ambarella,sec-scratchpad.yaml   | 41 +++++++++++++++++++
 1 file changed, 41 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/ambarella/ambarella,sec-scratchpad.yaml

diff --git a/Documentation/devicetree/bindings/soc/ambarella/ambarella,sec-scratchpad.yaml b/Documentation/devicetree/bindings/soc/ambarella/ambarella,sec-scratchpad.yaml
new file mode 100644
index 000000000000..2cca277674f7
--- /dev/null
+++ b/Documentation/devicetree/bindings/soc/ambarella/ambarella,sec-scratchpad.yaml
@@ -0,0 +1,41 @@
+# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
+%YAML 1.2
+---
+$id: http://devicetree.org/schemas/soc/ambarella/ambarella,sec-scratchpad.yaml#
+$schema: http://devicetree.org/meta-schemas/core.yaml#
+
+title: Ambarella Secure Scratchpad Registers
+
+maintainers:
+  - Long Zhao <longzhao at ambarella.com>
+
+description:
+  The secure scratchpad block contains shared system registers used by
+  other Ambarella SoC blocks through syscon regmap lookups.
+
+allOf:
+  - $ref: /schemas/mfd/syscon-common.yaml#
+
+properties:
+  compatible:
+    items:
+      - const: ambarella,cv75-sec-scratchpad
+      - const: ambarella,sec-scratchpad
+      - const: syscon
+
+  reg:
+    maxItems: 1
+
+required:
+  - compatible
+  - reg
+
+unevaluatedProperties: false
+
+examples:
+  - |
+    scratchpad at e002e000 {
+        compatible = "ambarella,cv75-sec-scratchpad",
+                     "ambarella,sec-scratchpad", "syscon";
+        reg = <0xe002e000 0x1000>;
+    };
--
2.34.1

NOTE: This email (including attachments) contain Ambarella Proprietary and/or Confidential Information and is intended solely for the use of the individual(s) to whom it is addressed. Any unauthorized review, use, disclosure, distribute, copy, or print is prohibited. If you are not an intended recipient, please contact the sender by reply email and destroy all copies of the original message. Thank you.



More information about the linux-arm-kernel mailing list