summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/crypto
diff options
context:
space:
mode:
authorHoria Geantă <horia.geanta@nxp.com>2019-11-27 16:03:36 +0200
committerDong Aisheng <aisheng.dong@nxp.com>2021-11-02 16:50:59 +0800
commite27e6a41fba6cf73b4186c3f5863ae5af3dc6309 (patch)
tree90f7dfd52848ff4f602072b638f9c4b0f889ef56 /Documentation/devicetree/bindings/crypto
parentc45935859343d2e173f5f6f331a1b4ddb498bfcb (diff)
MLKU-38-4 dt-bindings: crypto: fsl: add caam snvs and secvio
This is a rework of the following i.MX BSP commit (rel_imx_4.19.35_1.1.0_rc2): 9b63038a58cc ("MLK-21453: crypto: caam - fix Mentor's port, merge conflict resolutions") Signed-off-by: Horia Geantă <horia.geanta@nxp.com> Acked-by: Leonard Crestez <leonard.crestez@nxp.com>
Diffstat (limited to 'Documentation/devicetree/bindings/crypto')
-rw-r--r--Documentation/devicetree/bindings/crypto/fsl-sec4.txt87
1 files changed, 87 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
index 940b380c05cd..0d565e7d586e 100644
--- a/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
+++ b/Documentation/devicetree/bindings/crypto/fsl-sec4.txt
@@ -386,6 +386,79 @@ EXAMPLE
};
=====================================================================
+CAAM SNVS Node
+ Load the SECVIO node.
+
+ - compatible
+ Usage: required
+ Value type: <string>
+ Definition: Must include "fsl,imx6q-caam-snvs".
+
+ - reg
+ Usage: required
+ Value type: <prop-encoded-array>
+ Definition: A standard property. Specifies the physical
+ address and length of the SEC4 configuration
+ registers.
+
+=====================================================================
+Security Violation (SECVIO) Node
+ Reports security violations.
+
+ - compatible
+ Usage: required
+ Value type: <string>
+ Definition: Must include "fsl,imx6q-caam-secvio".
+
+ - interrupts
+ Usage: required
+ Value type: <prop_encoded-array>
+ Definition: Specifies the interrupts generated by this
+ device. The value of the interrupts property
+ consists of one interrupt specifier. The format
+ of the specifier is defined by the binding document
+ describing the node's interrupt parent.
+
+ - jtag-tamper
+ Usage: optional-but-recommended
+ Value type: <string>
+ Definition:
+ Security tamper on the JTAG
+ Must include "enabled" to enable.
+
+ - watchdog-tamper
+ Usage: optional-but-recommended
+ Value type: <string>
+ Definition:
+ Security tamper on the watchdog
+ Must include "enabled" to enable.
+
+ - internal-boot-tamper
+ Usage: optional-but-recommended
+ Value type: <string>
+ Definition:
+ Security tamper on the internal boot
+ Must include "enabled" to enable.
+
+ - external-pin-tamper
+ Usage: optional-but-recommended
+ Value type: <string>
+ Definition:
+ Security tamper on the external pin
+ Must include "enabled" to enable.
+
+EXAMPLE
+ irq_sec_vio: caam_secvio {
+ compatible = "fsl,imx6q-caam-secvio";
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+ jtag-tamper = "disabled";
+ watchdog-tamper = "enabled";
+ internal-boot-tamper = "enabled";
+ external-pin-tamper = "disabled";
+ };
+
+
+=====================================================================
Secure Non-Volatile Storage (SNVS) Low Power (LP) RTC Node
A SNVS child node that defines SNVS LP RTC.
@@ -566,4 +639,18 @@ FULL EXAMPLE
};
};
+ caam_snvs: caam-snvs@30370000 {
+ compatible = "fsl,imx6q-caam-snvs";
+ reg = <0x30370000 0x10000>;
+ };
+
+ irq_sec_vio: caam_secvio {
+ compatible = "fsl,imx6q-caam-secvio";
+ interrupts = <GIC_SPI 20 IRQ_TYPE_LEVEL_HIGH>;
+ jtag-tamper = "disabled";
+ watchdog-tamper = "enabled";
+ internal-boot-tamper = "enabled";
+ external-pin-tamper = "disabled";
+ };
+
=====================================================================