Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) |
| 2 | %YAML 1.2 |
| 3 | --- |
| 4 | $id: http://devicetree.org/schemas/crypto/intel,keembay-ocs-aes.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: Intel Keem Bay OCS AES |
| 8 | |
| 9 | maintainers: |
| 10 | - Daniele Alessandrelli <daniele.alessandrelli@intel.com> |
| 11 | |
| 12 | description: |
| 13 | The Intel Keem Bay Offload and Crypto Subsystem (OCS) AES engine provides |
| 14 | hardware-accelerated AES/SM4 encryption/decryption. |
| 15 | |
| 16 | properties: |
| 17 | compatible: |
| 18 | const: intel,keembay-ocs-aes |
| 19 | |
| 20 | reg: |
| 21 | maxItems: 1 |
| 22 | |
| 23 | interrupts: |
| 24 | maxItems: 1 |
| 25 | |
| 26 | clocks: |
| 27 | maxItems: 1 |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | - interrupts |
| 33 | - clocks |
| 34 | |
| 35 | additionalProperties: false |
| 36 | |
| 37 | examples: |
| 38 | - | |
| 39 | #include <dt-bindings/interrupt-controller/arm-gic.h> |
| 40 | crypto@30008000 { |
| 41 | compatible = "intel,keembay-ocs-aes"; |
| 42 | reg = <0x30008000 0x1000>; |
| 43 | interrupts = <GIC_SPI 114 IRQ_TYPE_LEVEL_HIGH>; |
| 44 | clocks = <&scmi_clk 95>; |
| 45 | }; |