# Freescale SEC 4

_Peios Kernel / Hardware and drivers / Device-tree binding reference / Crypto bindings_

> Device-tree binding reference for Freescale SEC 4.

<!-- SPDX-License-Identifier: GPL-2.0 -->


<a id="dt-root"></a>

**Schema identifier (<code>&#36;id</code>):** <span id="dt-09f478f44eb202ea573e"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;schemas&#47;crypto&#47;fsl&#44;sec&#45;v4&#46;0&#46;yaml&#35;&#34;</code></span>

**Schema dialect (<code>&#36;schema</code>):** <span id="dt-dcb375baab6014763a68"><code>&#34;http&#58;&#47;&#47;devicetree&#46;org&#47;meta&#45;schemas&#47;core&#46;yaml&#35;&#34;</code></span>

<a id="dt-e46b5a5dd81dbd751c9f"></a>

**Maintainers (<code>maintainers</code>):** <a id="dt-fbc39820abb8bb999095"></a> <span id="dt-fb78ddfc22abfc6fe56d"><code>&#34;&#92;&#34;Horia Geantă&#92;&#34; &#60;horia&#46;geanta&#64;nxp&#46;com&#62;&#34;</code></span>, <span id="dt-0f999bb9185dbf6b58d8"><code>&#34;Pankaj Gupta &#60;pankaj&#46;gupta&#64;nxp&#46;com&#62;&#34;</code></span>, <span id="dt-2f1516674166ff6e66b8"><code>&#34;Gaurav Jain &#60;gaurav&#46;jain&#64;nxp&#46;com&#62;&#34;</code></span>

<div id="dt-6d1c5ef59f0239d38c02">
<p style="white-space: pre-wrap">NOTE: the SEC 4 is also known as Freescale's Cryptographic Accelerator
Accelerator and Assurance Module (CAAM).</p>
<p style="white-space: pre-wrap">SEC 4 h/w can process requests from 2 types of sources.
1. DPAA Queue Interface (HW interface between Queue Manager &amp; SEC 4).
2. Job Rings (HW interface between cores &amp; SEC 4 registers).</p>
<p style="white-space: pre-wrap">High Speed Data Path Configuration:</p>
<p style="white-space: pre-wrap">HW interface between QM &amp; SEC 4 and also BM &amp; SEC 4, on DPAA-enabled parts
such as the P4080.  The number of simultaneous dequeues the QI can make is
equal to the number of Descriptor Controller (DECO) engines in a particular
SEC version.  E.g., the SEC 4.0 in the P4080 has 5 DECOs and can thus
dequeue from 5 subportals simultaneously.</p>
<p style="white-space: pre-wrap">Job Ring Data Path Configuration:</p>
<p style="white-space: pre-wrap">Each JR is located on a separate 4k page, they may (or may not) be made visible
in the memory partition devoted to a particular core.  The P4080 has 4 JRs, so
up to 4 JRs can be configured; and all 4 JRs process requests in parallel.</p>
</div>

<a id="dt-e1f655ed0ff4d595dadc"></a>

## Properties and child nodes (<code>properties</code>)

<a id="dt-5c1d81699dcbe840de83"></a>

### <code>compatible</code> — required here

<a id="dt-39566f01414e34c67b85"></a>

#### Exactly one of these rules must match (<code>oneOf</code>)

<a id="dt-fe13e24e5c9612880f47"></a>

**Rule 1**

> <a id="dt-07409cc9508405f48983"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-822691c82c9797f7b1f9"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-3b212051dcd0fc641cd8"></a> <span id="dt-bd6e6716d05ec45653db"><code>&#34;fsl&#44;sec&#45;v5&#46;4&#34;</code></span>, <span id="dt-3e7fb897881b12f43f81"><code>&#34;fsl&#44;sec&#45;v6&#46;0&#34;</code></span>
>
> <a id="dt-bc83d1191bdc72da8559"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-1da74b37131fdcec1073"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#34;</code></span>
>
> <a id="dt-8aea0680b70f72ffdfb0"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-a8216d5f954c632b59e8"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#34;</code></span>

<a id="dt-7482b6e745c4f056161a"></a>

**Rule 2**

> <a id="dt-4c3e118873fbaedb5de2"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-b02d8860067795c00ae4"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-aa1230b5a2b80f9fb387"></a> <span id="dt-49b534c9c8948cfc8034"><code>&#34;fsl&#44;imx6ul&#45;caam&#34;</code></span>, <span id="dt-93451931f534c9a92fb4"><code>&#34;fsl&#44;imx8qm&#45;caam&#34;</code></span>, <span id="dt-bdca084879537277097b"><code>&#34;fsl&#44;imx8qxp&#45;caam&#34;</code></span>, <span id="dt-922f7901d25b667972ac"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#34;</code></span>
>
> <a id="dt-bdc26de0ccb1d52bb6a4"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-cc26fa5d96bc7cf0a818"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#34;</code></span>

<a id="dt-39cb5b72c94e12bd53ea"></a>

**Rule 3**

> **Exact value (<code>const</code>):** <span id="dt-710bc579d54b8b6b1f6c"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#34;</code></span>

<a id="dt-9c1635fdb65d87e33d77"></a>

### <code>reg</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-71421d35675d9a533ad2"><code>1</code></span>

<a id="dt-1e6b10cf5f67a6a268f5"></a>

### <code>ranges</code> — required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-7928d91ff1b85834b6df"><code>1</code></span>

<a id="dt-2efe70314a961a652abe"></a>

### <code>&#35;address&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-01d9ce7fc56f712455be"></a> <span id="dt-94d3735d14e27e2d7df1"><code>1</code></span>, <span id="dt-0dda607ef98de398e3f7"><code>2</code></span>

<a id="dt-ee0e5bf71366d312f1dc"></a>

### <code>&#35;size&#45;cells</code> — not listed as required here

**Allowed values (<code>enum</code>):** <a id="dt-11f8fcdf7ed0ce5274ad"></a> <span id="dt-1df5884131042d9f2b35"><code>1</code></span>, <span id="dt-0d778c9f0ef0966b501c"><code>2</code></span>

<a id="dt-4e9a371963ac013ad39d"></a>

### <code>clocks</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-1f26a8d0aa315cbb9547"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-c7438d9082840936a9a7"><code>4</code></span>

<a id="dt-041d7cd76b652a5de06a"></a>

### <code>clock&#45;names</code> — not listed as required here

**Minimum number of items (<code>minItems</code>):** <span id="dt-dab867b03596a88fc725"><code>1</code></span>

**Maximum number of items (<code>maxItems</code>):** <span id="dt-65c84d57f9774b7ce5c4"><code>4</code></span>

<a id="dt-3d1de59bdfddccf00eed"></a>

#### Array item rules (<code>items</code>)

> **Allowed values (<code>enum</code>):** <a id="dt-432ec048388c24ed7024"></a> <span id="dt-f91d261c31c4a5d1c249"><code>&#34;mem&#34;</code></span>, <span id="dt-870a3b77177505d0a9af"><code>&#34;aclk&#34;</code></span>, <span id="dt-00aa73ed9ba3241d98e7"><code>&#34;ipg&#34;</code></span>, <span id="dt-fea332d080b2f3a5da06"><code>&#34;emi&#95;slow&#34;</code></span>

<a id="dt-4603ee192633e8dffc49"></a>

### <code>dma&#45;coherent</code> — not listed as required here

<code>true</code> — No constraints added by this property rule.

<a id="dt-c2de09e7f7fd211b679d"></a>

### <code>interrupts</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-b7823fb65b2f27642d26"><code>1</code></span>

<a id="dt-030bda573e8c53177f1a"></a>

### <code>power&#45;domains</code> — not listed as required here

**Maximum number of items (<code>maxItems</code>):** <span id="dt-74e4e6f1d3f2a860fdb9"><code>1</code></span>

<a id="dt-abdd258d03b09f88d8eb"></a>

### <code>fsl&#44;sec&#45;era</code> — not listed as required here

<div id="dt-aa12ecb7427fcb87e9d7">
<p style="white-space: pre-wrap">Defines the 'ERA' of the SEC device.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-90924422b87ab494fa9a">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-d57795d6573ee5d67d37>)</span>

<a id="dt-e92215bd3c2f5373b164"></a>

## Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-d58136cb81263e5ddd25"></a>

### <code>&#94;jr&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-5e2aa7b4dcdd833f8a9a"><code>&#34;object&#34;</code></span>

<a id="dt-cee9f49a3d49382897f7"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-c60f53f5add2db0fdcec">
<p style="white-space: pre-wrap">Job Ring (JR) Node. Defines data processing interface to SEC 4 across the peripheral bus for purposes of processing cryptographic descriptors. The specified address range can be made visible to one (or more) cores. The interrupt defined for this node is controlled within the address range of this node.</p>
</div>

<a id="dt-98378d3697df9224f494"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-2084bac3635aceaede6f"></a>

**<code>compatible</code> — not listed as required here**

<a id="dt-8d557fa89c7e17001646"></a>

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-fa057db7a0d2ba902929"></a>

**Rule 1**

> <a id="dt-d05e5db97025be10c0d5"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-daaa77b92636707453cd"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-1731811eed6d717b0906"><code>&#34;fsl&#44;sec&#45;v6&#46;0&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-d1e3b3bcc307cb1928f2"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-788438eeb5051ea208fd"><code>&#34;fsl&#44;sec&#45;v5&#46;2&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-be1b9e99c6ff0896593d"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-4c51b5ae79723cbd26e8"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-df9ac960fb4c6eace283"></a>
>
> **Item 4**
>
> > **Exact value (<code>const</code>):** <span id="dt-70c0c7aa14cd6e20e954"><code>&#34;fsl&#44;sec&#45;v4&#46;4&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-7b5363960d40072d260d"></a>
>
> **Item 5**
>
> > **Exact value (<code>const</code>):** <span id="dt-d25dff2acf638603b86e"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;job&#45;ring&#34;</code></span>

<a id="dt-5a3330ac40faf1e4274a"></a>

**Rule 2**

> <a id="dt-af4ca1aa1427200036ea"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-2224cdf244d1ec0157e9"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-d5c759bcee52a4d44a71"><code>&#34;fsl&#44;sec&#45;v5&#46;4&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-5e1f617587b6074a764d"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-878ce55fc6861f5523c8"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-5f22cfff63c4358d6456"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-506bb2d71c3e2cc7baed"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;job&#45;ring&#34;</code></span>

<a id="dt-49c7d199952b242fd807"></a>

**Rule 3**

> <a id="dt-763f1b0b7f990b4c957a"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-32143eb46ffabe959a2d"></a>
>
> **Item 1**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-815f8b54530dd235df75"></a> <span id="dt-6f062a384ba47d72b78e"><code>&#34;fsl&#44;imx8qm&#45;job&#45;ring&#34;</code></span>, <span id="dt-ed124fc8b518b3a71161"><code>&#34;fsl&#44;imx8qxp&#45;job&#45;ring&#34;</code></span>, <span id="dt-76236fb441f8144e4d9e"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-2b8eaa73453e0680210f"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-3591fbc0ddb16aea47eb"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;job&#45;ring&#34;</code></span>

<a id="dt-e068dd0b88e8bbee9e6e"></a>

**Rule 4**

> **Exact value (<code>const</code>):** <span id="dt-5c6c12334dc436ca7e63"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;job&#45;ring&#34;</code></span>

<a id="dt-2bb2573d0d6e84d1c682"></a>

**<code>reg</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-db48832f2016e9283234"><code>1</code></span>

<a id="dt-fd7c54bdb999d039aca5"></a>

**<code>interrupts</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-344ef1018176d3c584dc"><code>1</code></span>

<a id="dt-9864720745b3d42c2a8d"></a>

**<code>power&#45;domains</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-da3ba7128967c37565a9"><code>1</code></span>

<a id="dt-97b6578edab672e8c585"></a>

**<code>fsl&#44;liodn</code> — not listed as required here**

<div id="dt-e0f38d8ca54a74efbf92">
<p style="white-space: pre-wrap">Specifies the LIODN to be used in conjunction with the ppid-to-liodn table that specifies the PPID to LIODN mapping. Needed if the PAMU is used.  Value is a 12 bit value where value is a LIODN ID for this JR. This property is normally set by boot firmware.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-8a351b413cb002c185bc">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

<a id="dt-7817182485519e60daa9"></a>

**Array item rules (<code>items</code>)**

<a id="dt-8663b94f77a540fdff62"></a>

**Item 1**

> **Maximum value (<code>maximum</code>):** <span id="dt-483cacdbddbd938dd6d3"><code>4095</code></span>

<a id="dt-7aa1caa57ab2c4db9591"></a>

#### All of these rules must match (<code>allOf</code>)

<a id="dt-da06b45d334b271d73e6"></a>

**Rule 1**

> <a id="dt-e9e93dab29e620214605"></a>
>
> **Condition (<code>if</code>)**
>
> > <a id="dt-70ee11fdc34c852bb0be"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-790729b52e456c0a018c"></a>
> >
> > **<code>compatible</code> — not listed as required here**
> >
> > <a id="dt-02f378dda418799fd30d"></a>
> >
> > **Rule for matching array elements (<code>contains</code>)**
> >
> > > **Allowed values (<code>enum</code>):** <a id="dt-c0129a177e5a17428571"></a> <span id="dt-c81b4d706befab4728c8"><code>&#34;fsl&#44;imx8qm&#45;job&#45;ring&#34;</code></span>, <span id="dt-c117caf91fcc7b4b20dc"><code>&#34;fsl&#44;imx8qxp&#45;job&#45;ring&#34;</code></span>
>
> <a id="dt-648e5cf8c3fd55b92e79"></a>
>
> **When the condition matches (<code>then</code>)**
>
> > **Required in this object (<code>required</code>):** <a id="dt-c67dc82bc908e1b227a1"></a> <span id="dt-5350abcadca5353cf5b2"><code>&#34;power&#45;domains&#34;</code></span>
>
> <a id="dt-0d40d66fd834dd5dba54"></a>
>
> **When the condition does not match (<code>else</code>)**
>
> > <a id="dt-462558ed0b2059126f6f"></a>
> >
> > **Properties and child nodes (<code>properties</code>)**
> >
> > <a id="dt-6a3f20d48f792e48229d"></a>
> >
> > **<code>power&#45;domains</code> — not listed as required here**
> >
> > <code>false</code> — Not permitted by this property rule.

<a id="dt-4d5f508ce93d67a036f8"></a>

### <code>&#94;rtic&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression

**Value type (<code>type</code>):** <span id="dt-153ea3061212464bc42d"><code>&#34;object&#34;</code></span>

<a id="dt-88f79ab5e40f058cbee6"></a>

#### Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<div id="dt-bae197ccbc3945a1801e">
<p style="white-space: pre-wrap">Run Time Integrity Check (RTIC) Node. Defines a register space that contains up to 5 sets of addresses and their lengths (sizes) that will be checked at run time.  After an initial hash result is calculated, these addresses are checked by HW to monitor any change.  If any memory is modified, a Security Violation is triggered (see SNVS definition).</p>
</div>

<a id="dt-9d528bc60cefe7b6366a"></a>

#### Properties and child nodes (<code>properties</code>)

<a id="dt-2bd201c708281f0b6c64"></a>

**<code>compatible</code> — not listed as required here**

<a id="dt-ae4921b4694542b54d98"></a>

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-e07614907b6c73db7903"></a>

**Rule 1**

> <a id="dt-91c69910e8252cd97fca"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-2ef452f01771061f88c8"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-15071b8d2c37a8dfa749"><code>&#34;fsl&#44;sec&#45;v5&#46;4&#45;rtic&#34;</code></span>
>
> <a id="dt-b153fe2d851cd33115e6"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-f0ca55a2ec430916a0b4"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#45;rtic&#34;</code></span>
>
> <a id="dt-ffa276786f503a01472b"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-5ed42017381cb1cdba7b"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;rtic&#34;</code></span>

<a id="dt-2e114e6f2fde7f622930"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-2c090daa3017fd4ea976"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;rtic&#34;</code></span>

<a id="dt-b09fbb1880ccd2b4a0ea"></a>

**<code>reg</code> — not listed as required here**

<a id="dt-e35ae1980870c6147109"></a>

**Array item rules (<code>items</code>)**

<a id="dt-24ab3c9b26116349622a"></a>

**Item 1**

> <div id="dt-4658afbd5ce02a974d7f">
> <p style="white-space: pre-wrap">RTIC control and status register space.</p>
> </div>

<a id="dt-3602afb216009d554920"></a>

**Item 2**

> <div id="dt-b1d840b8cf65246f6dee">
> <p style="white-space: pre-wrap">RTIC recoverable error indication register space.</p>
> </div>

**Minimum number of items (<code>minItems</code>):** <span id="dt-9b56489004f4c0f80021"><code>1</code></span>

<a id="dt-6de22ef09abf20b44670"></a>

**<code>ranges</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-2bd31f20bfd85c41ff2f"><code>1</code></span>

<a id="dt-47a014e1607a33be2873"></a>

**<code>interrupts</code> — not listed as required here**

**Maximum number of items (<code>maxItems</code>):** <span id="dt-3e906b9e46a60af5e3e5"><code>1</code></span>

<a id="dt-462a491c753c7d81956b"></a>

**<code>&#35;address&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-2ee463f7827de0ac549d"><code>1</code></span>

<a id="dt-17c461b8f081102e1a69"></a>

**<code>&#35;size&#45;cells</code> — not listed as required here**

**Exact value (<code>const</code>):** <span id="dt-7a8cbe46b354f8a28b25"><code>1</code></span>

<a id="dt-d1326c353f27dc0a6b6f"></a>

#### Properties matching a name pattern (<code>patternProperties</code>)

<a id="dt-2c3195c44776050140fe"></a>

**<code>&#94;rtic&#45;&#91;a&#45;z&#93;&#64;&#91;0&#45;9a&#45;f&#93;&#43;&#36;</code> — name matches this regular expression**

**Value type (<code>type</code>):** <span id="dt-097acf5a31612d296c57"><code>&#34;object&#34;</code></span>

<a id="dt-82a21e5e536d4bf1e127"></a>

**Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)**

<code>false</code>

Not allowed by this rule.

<div id="dt-cd271bfa25058bcb5859">
<p style="white-space: pre-wrap">Run Time Integrity Check (RTIC) Memory Node defines individual RTIC memory regions that are used to perform run-time integrity check of memory areas that should not modified. The node defines a register that contains the memory address &amp; length (combined) and a second register that contains the hash result in big endian format.</p>
</div>

<a id="dt-590847ba9a7f74d8d02f"></a>

**Properties and child nodes (<code>properties</code>)**

<a id="dt-760eee559d3e802601cc"></a>

**<code>compatible</code> — not listed as required here**

<a id="dt-304515485b1591f15654"></a>

**Exactly one of these rules must match (<code>oneOf</code>)**

<a id="dt-d2e13ef3aec871d42cd9"></a>

**Rule 1**

> <a id="dt-24288213610b2ceeb40c"></a>
>
> **Array item rules (<code>items</code>)**
>
> <a id="dt-a26448305719b5b69321"></a>
>
> **Item 1**
>
> > **Exact value (<code>const</code>):** <span id="dt-f16f53b7734420b83d45"><code>&#34;fsl&#44;sec&#45;v5&#46;4&#45;rtic&#45;memory&#34;</code></span>
>
> <a id="dt-75f6424b96cd55e84cbb"></a>
>
> **Item 2**
>
> > **Exact value (<code>const</code>):** <span id="dt-20abab0408838131fed4"><code>&#34;fsl&#44;sec&#45;v5&#46;0&#45;rtic&#45;memory&#34;</code></span>
>
> <a id="dt-735f69afa850ac86cf00"></a>
>
> **Item 3**
>
> > **Exact value (<code>const</code>):** <span id="dt-e588623fa4e57d773ab8"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;rtic&#45;memory&#34;</code></span>

<a id="dt-dbdcef41f6c0a52abf53"></a>

**Rule 2**

> **Exact value (<code>const</code>):** <span id="dt-39bef6c9c9aa7ca27d87"><code>&#34;fsl&#44;sec&#45;v4&#46;0&#45;rtic&#45;memory&#34;</code></span>

<a id="dt-17edae31c5d20215cf02"></a>

**<code>reg</code> — not listed as required here**

<a id="dt-0437788a5d6c03f91d08"></a>

**Array item rules (<code>items</code>)**

<a id="dt-0022cc76b6d79018581e"></a>

**Item 1**

> <div id="dt-f10fbe6748beac635c6d">
> <p style="white-space: pre-wrap">RTIC memory address</p>
> </div>

<a id="dt-73fb8a73f55148b4f305"></a>

**Item 2**

> <div id="dt-68b3171dd90e25bf0a2c">
> <p style="white-space: pre-wrap">RTIC hash result</p>
> </div>

<a id="dt-9ac83c0cab0ae5cefd50"></a>

**<code>fsl&#44;liodn</code> — not listed as required here**

<div id="dt-f96935ed182e2aa01cd4">
<p style="white-space: pre-wrap">Specifies the LIODN to be used in conjunction with the ppid-to-liodn table that specifies the PPID to LIODN mapping. Needed if the PAMU is used.  Value is a 12 bit value where value is a LIODN ID for this JR. This property is normally set by boot firmware.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-9b3cf0150ae08716cc87">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

<a id="dt-914074afbde39733208a"></a>

**Array item rules (<code>items</code>)**

<a id="dt-6386ad3e7e84aa25ec74"></a>

**Item 1**

> **Maximum value (<code>maximum</code>):** <span id="dt-debd4b072ffbc80408cd"><code>4095</code></span>

<a id="dt-6783b33ca94a0772d9d2"></a>

**<code>fsl&#44;rtic&#45;region</code> — not listed as required here**

<div id="dt-ae3417ab1ff7a029d878">
<p style="white-space: pre-wrap">Specifies the HW address (36 bit address) for this region followed by the length of the HW partition to be checked; the address is represented as a 64 bit quantity followed by a 32 bit length.</p>
</div>

**Shared schema rule (<code>&#36;ref</code>):** <span id="dt-b36d332d71db82d0d452">[<code>&#47;schemas&#47;types&#46;yaml&#35;&#47;definitions&#47;uint32&#45;array</code>](</kernel/hardware/devicetree-bindings/dt-shared/types.md#dt-03a03f95a666fe4b033c>)</span>

**Required in this object (<code>required</code>):** <a id="dt-8313173ff1c9b300d560"></a> <span id="dt-048b70ee865d6847aa3d"><code>&#34;compatible&#34;</code></span>, <span id="dt-ee7433925c1528c16b99"><code>&#34;reg&#34;</code></span>, <span id="dt-f3765998c4e103e45f2f"><code>&#34;ranges&#34;</code></span>

<a id="dt-158e3f6339df9dc0e448"></a>

## Condition (<code>if</code>)

> <a id="dt-0c7b6d12024f922c1b96"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-824fdc441f7c94ae56ca"></a>
>
> #### <code>compatible</code> — not listed as required here
>
> <a id="dt-8239149d6c8b0a5dabbe"></a>
>
> **Rule for matching array elements (<code>contains</code>)**
>
> > **Allowed values (<code>enum</code>):** <a id="dt-33b6ed092215f2be8801"></a> <span id="dt-9dc9072d1f2469ee9637"><code>&#34;fsl&#44;imx8qm&#45;caam&#34;</code></span>, <span id="dt-5b5b6c5b8f914dcc6d1d"><code>&#34;fsl&#44;imx8qxp&#45;caam&#34;</code></span>

<a id="dt-94d3067a06aec87aad7f"></a>

## When the condition matches (<code>then</code>)

> **Required in this object (<code>required</code>):** <a id="dt-824165741bab07e919e7"></a> <span id="dt-0be16f81402541b26aff"><code>&#34;power&#45;domains&#34;</code></span>

<a id="dt-6f6ab6f7f4b3f2f2f0a8"></a>

## When the condition does not match (<code>else</code>)

> <a id="dt-cf075a4b84ee9b101feb"></a>
>
> ### Properties and child nodes (<code>properties</code>)
>
> <a id="dt-9880d63987b76155292b"></a>
>
> #### <code>power&#45;domains</code> — not listed as required here
>
> <code>false</code> — Not permitted by this property rule.

<a id="dt-738c4b4f9e483441138b"></a>

## Properties not matched by properties or patternProperties in this schema (<code>additionalProperties</code>)

<code>false</code>

Not allowed by this rule.

<a id="dt-1a130cabaa8a47b058bf"></a>

## Examples (<code>examples</code>)

<pre id="dt-0bd6510295af0c95ff2d"><code class="language-dts">crypto@300000 {
    compatible = "fsl,sec-v4.0";
    #address-cells = &lt;1&gt;;
    #size-cells = &lt;1&gt;;
    reg = &lt;0x300000 0x10000&gt;;
    ranges = &lt;0 0x300000 0x10000&gt;;
    interrupts = &lt;92 2&gt;;

    jr@1000 {
        compatible = "fsl,sec-v4.0-job-ring";
        reg = &lt;0x1000 0x1000&gt;;
        interrupts = &lt;88 2&gt;;
    };

    jr@2000 {
        compatible = "fsl,sec-v4.0-job-ring";
        reg = &lt;0x2000 0x1000&gt;;
        interrupts = &lt;89 2&gt;;
    };

    jr@3000 {
        compatible = "fsl,sec-v4.0-job-ring";
        reg = &lt;0x3000 0x1000&gt;;
        interrupts = &lt;90 2&gt;;
    };

    jr@4000 {
        compatible = "fsl,sec-v4.0-job-ring";
        reg = &lt;0x4000 0x1000&gt;;
        interrupts = &lt;91 2&gt;;
    };

    rtic@6000 {
        compatible = "fsl,sec-v4.0-rtic";
        #address-cells = &lt;1&gt;;
        #size-cells = &lt;1&gt;;
        reg = &lt;0x6000 0x100&gt;;
        ranges = &lt;0x0 0x6100 0xe00&gt;;

        rtic-a@0 {
            compatible = "fsl,sec-v4.0-rtic-memory";
            reg = &lt;0x00 0x20&gt;, &lt;0x100 0x80&gt;;
        };

        rtic-b@20 {
            compatible = "fsl,sec-v4.0-rtic-memory";
            reg = &lt;0x20 0x20&gt;, &lt;0x200 0x80&gt;;
        };

        rtic-c@40 {
            compatible = "fsl,sec-v4.0-rtic-memory";
            reg = &lt;0x40 0x20&gt;, &lt;0x300 0x80&gt;;
        };

        rtic-d@60 {
            compatible = "fsl,sec-v4.0-rtic-memory";
            reg = &lt;0x60 0x20&gt;, &lt;0x500 0x80&gt;;
        };
    };
};
</code></pre>

## Source notes

<details>
<summary>Annotations retained from the schema source</summary>

<p id="dt-comment-0"><strong>Line 1:</strong> <span> SPDX-License-Identifier: GPL-2.0</span></p>

<p id="dt-comment-1"><strong>Line 2:</strong> <span> Copyright (C) 2008-2011 Freescale Semiconductor Inc.</span></p>

</details>
