1 # SPDX-License-Identifier: GPL-2.0-only OR BSD 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/ti,keys 4 $id: http://devicetree.org/schemas/rng/ti,keystone-rng.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Keystone SoC Hardware Random Number Gen 7 title: Keystone SoC Hardware Random Number Generator 8 8 9 maintainers: 9 maintainers: 10 - Nishanth Menon <nm@ti.com> 10 - Nishanth Menon <nm@ti.com> 11 - Santosh Shilimkar <ssantosh@kernel.org> 11 - Santosh Shilimkar <ssantosh@kernel.org> 12 12 13 properties: 13 properties: 14 compatible: 14 compatible: 15 const: ti,keystone-rng 15 const: ti,keystone-rng 16 16 17 clocks: 17 clocks: 18 maxItems: 1 18 maxItems: 1 19 19 20 clock-names: 20 clock-names: 21 items: 21 items: 22 - const: fck 22 - const: fck 23 23 24 reg: 24 reg: 25 maxItems: 1 25 maxItems: 1 26 26 27 ti,syscon-sa-cfg: 27 ti,syscon-sa-cfg: 28 $ref: /schemas/types.yaml#/definitions/pha 28 $ref: /schemas/types.yaml#/definitions/phandle 29 description: | 29 description: | 30 Phandle to syscon node of the SA configu 30 Phandle to syscon node of the SA configuration registers. These 31 registers are shared between HWRNG and c 31 registers are shared between HWRNG and crypto drivers. 32 32 33 required: 33 required: 34 - compatible 34 - compatible 35 - clocks 35 - clocks 36 - clock-names 36 - clock-names 37 - reg 37 - reg 38 - ti,syscon-sa-cfg 38 - ti,syscon-sa-cfg 39 39 40 additionalProperties: false 40 additionalProperties: false 41 41 42 examples: 42 examples: 43 - | 43 - | 44 rng@24000 { 44 rng@24000 { 45 compatible = "ti,keystone-rng"; 45 compatible = "ti,keystone-rng"; 46 ti,syscon-sa-cfg = <&sa_config>; 46 ti,syscon-sa-cfg = <&sa_config>; 47 clocks = <&clksa>; 47 clocks = <&clksa>; 48 clock-names = "fck"; 48 clock-names = "fck"; 49 reg = <0x24000 0x1000>; 49 reg = <0x24000 0x1000>; 50 }; 50 };
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.