1 # SPDX-License-Identifier: (GPL-2.0-only OR BS !! 1 # SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/crypto/ti,s 4 $id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: K3 SoC SA2UL crypto module 7 title: K3 SoC SA2UL crypto module 8 8 9 maintainers: 9 maintainers: 10 - Tero Kristo <t-kristo@ti.com> 10 - Tero Kristo <t-kristo@ti.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - ti,j721e-sa2ul 15 - ti,j721e-sa2ul 16 - ti,am654-sa2ul 16 - ti,am654-sa2ul 17 - ti,am64-sa2ul 17 - ti,am64-sa2ul 18 - ti,am62-sa3ul << 19 18 20 reg: 19 reg: 21 maxItems: 1 20 maxItems: 1 22 21 23 power-domains: 22 power-domains: 24 maxItems: 1 23 maxItems: 1 25 24 26 dmas: 25 dmas: 27 items: 26 items: 28 - description: TX DMA Channel 27 - description: TX DMA Channel 29 - description: 'RX DMA Channel #1' !! 28 - description: RX DMA Channel #1 30 - description: 'RX DMA Channel #2' !! 29 - description: RX DMA Channel #2 31 30 32 dma-names: 31 dma-names: 33 items: 32 items: 34 - const: tx 33 - const: tx 35 - const: rx1 34 - const: rx1 36 - const: rx2 35 - const: rx2 37 36 >> 37 dma-coherent: true >> 38 38 "#address-cells": 39 "#address-cells": 39 const: 2 40 const: 2 40 41 41 "#size-cells": 42 "#size-cells": 42 const: 2 43 const: 2 43 44 44 ranges: 45 ranges: 45 description: 46 description: 46 Address translation for the possible RNG 47 Address translation for the possible RNG child node for SA2UL 47 48 48 clocks: 49 clocks: 49 items: 50 items: 50 - description: Clock used by PKA 51 - description: Clock used by PKA 51 - description: Main Input Clock 52 - description: Main Input Clock 52 - description: Clock used by rng 53 - description: Clock used by rng 53 54 54 clock-names: 55 clock-names: 55 items: 56 items: 56 - const: pka_in_clk 57 - const: pka_in_clk 57 - const: x1_clk 58 - const: x1_clk 58 - const: x2_clk 59 - const: x2_clk 59 60 60 patternProperties: 61 patternProperties: 61 "^rng@[a-f0-9]+$": 62 "^rng@[a-f0-9]+$": 62 type: object 63 type: object 63 description: 64 description: 64 Child RNG node for SA2UL 65 Child RNG node for SA2UL 65 66 66 required: 67 required: 67 - compatible 68 - compatible 68 - reg 69 - reg >> 70 - power-domains 69 - dmas 71 - dmas 70 - dma-names 72 - dma-names 71 73 72 allOf: !! 74 if: 73 - if: !! 75 properties: 74 properties: !! 76 compatible: 75 compatible: !! 77 enum: 76 contains: !! 78 - ti,j721e-sa2ul 77 const: ti,am62-sa3ul !! 79 - ti,am654-sa2ul 78 then: !! 80 then: 79 properties: !! 81 required: 80 power-domains: false !! 82 - dma-coherent 81 else: << 82 required: << 83 - power-domains << 84 83 85 additionalProperties: false 84 additionalProperties: false 86 85 87 examples: 86 examples: 88 - | 87 - | 89 #include <dt-bindings/soc/ti,sci_pm_domain 88 #include <dt-bindings/soc/ti,sci_pm_domain.h> 90 89 91 main_crypto: crypto@4e00000 { 90 main_crypto: crypto@4e00000 { 92 compatible = "ti,j721e-sa2ul"; 91 compatible = "ti,j721e-sa2ul"; 93 reg = <0x4e00000 0x1200>; 92 reg = <0x4e00000 0x1200>; 94 power-domains = <&k3_pds 264 TI_SCI_PD 93 power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; 95 dmas = <&main_udmap 0xc000>, <&main_ud 94 dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, 96 <&main_udmap 0x4001>; 95 <&main_udmap 0x4001>; 97 dma-names = "tx", "rx1", "rx2"; 96 dma-names = "tx", "rx1", "rx2"; >> 97 dma-coherent; 98 }; 98 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.