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/rng/omap_rn 4 $id: http://devicetree.org/schemas/rng/omap_rng.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: OMAP SoC and Inside-Secure HWRNG Module 7 title: OMAP SoC and Inside-Secure HWRNG Module 8 8 9 maintainers: 9 maintainers: 10 - Jayesh Choudhary <j-choudhary@ti.com> 10 - Jayesh Choudhary <j-choudhary@ti.com> 11 11 12 properties: 12 properties: 13 compatible: 13 compatible: 14 enum: 14 enum: 15 - ti,omap2-rng 15 - ti,omap2-rng 16 - ti,omap4-rng 16 - ti,omap4-rng 17 - inside-secure,safexcel-eip76 17 - inside-secure,safexcel-eip76 18 18 19 ti,hwmods: 19 ti,hwmods: 20 const: rng 20 const: rng 21 deprecated: true 21 deprecated: true 22 description: Name of the hwmod associated 22 description: Name of the hwmod associated with the RNG module 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 interrupts: 27 interrupts: 28 maxItems: 1 28 maxItems: 1 29 29 30 clocks: 30 clocks: 31 minItems: 1 31 minItems: 1 32 items: 32 items: 33 - description: EIP150 gateable clock !! 33 - description: EIP150 gatable clock 34 - description: Main gateable clock !! 34 - description: Main gatable clock 35 35 36 clock-names: 36 clock-names: 37 minItems: 1 37 minItems: 1 38 items: 38 items: 39 - const: core 39 - const: core 40 - const: reg 40 - const: reg 41 41 42 42 43 allOf: 43 allOf: 44 - if: 44 - if: 45 properties: 45 properties: 46 compatible: 46 compatible: 47 contains: 47 contains: 48 enum: 48 enum: 49 - ti,omap4-rng 49 - ti,omap4-rng 50 - inside-secure,safexcel-eip76 50 - inside-secure,safexcel-eip76 51 51 52 then: 52 then: 53 required: 53 required: 54 - interrupts 54 - interrupts >> 55 >> 56 - if: >> 57 properties: >> 58 compatible: >> 59 contains: >> 60 enum: >> 61 - inside-secure,safexcel-eip76 >> 62 >> 63 then: >> 64 required: >> 65 - clocks 55 66 56 67 57 required: 68 required: 58 - compatible 69 - compatible 59 - reg 70 - reg 60 71 61 additionalProperties: false 72 additionalProperties: false 62 73 63 examples: 74 examples: 64 - | 75 - | 65 /* AM335x */ 76 /* AM335x */ 66 rng: rng@48310000 { 77 rng: rng@48310000 { 67 compatible = "ti,omap4-rng"; 78 compatible = "ti,omap4-rng"; 68 ti,hwmods = "rng"; 79 ti,hwmods = "rng"; 69 reg = <0x48310000 0x2000>; 80 reg = <0x48310000 0x2000>; 70 interrupts = <111>; 81 interrupts = <111>; 71 }; 82 }; 72 - | 83 - | 73 /* SafeXcel IP-76 */ 84 /* SafeXcel IP-76 */ 74 trng: rng@f2760000 { 85 trng: rng@f2760000 { 75 compatible = "inside-secure,safexc 86 compatible = "inside-secure,safexcel-eip76"; 76 reg = <0xf2760000 0x7d>; 87 reg = <0xf2760000 0x7d>; 77 interrupts = <0 59 4>; 88 interrupts = <0 59 4>; 78 clocks = <&cpm_syscon0 1 25>; 89 clocks = <&cpm_syscon0 1 25>; 79 }; 90 }; 80 91 81 ... 92 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.