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/rng/ti,omap-rom-rng.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: OMAP ROM Random Number Generator |
| 8 | |
| 9 | maintainers: |
| 10 | - Pali Rohár <pali@kernel.org> |
| 11 | - Tony Lindgren <tony@atomide.com> |
| 12 | |
| 13 | description: |
| 14 | Secure SoCs may provide RNG via secure ROM calls like Nokia N900 does. |
| 15 | The implementation can depend on the SoC secure ROM used. |
| 16 | |
| 17 | properties: |
| 18 | compatible: |
| 19 | const: nokia,n900-rom-rng |
| 20 | |
| 21 | clocks: |
| 22 | maxItems: 1 |
| 23 | |
| 24 | clock-names: |
| 25 | items: |
| 26 | - const: ick |
| 27 | |
| 28 | required: |
| 29 | - compatible |
| 30 | - clocks |
| 31 | - clock-names |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | rng { |
| 38 | compatible = "nokia,n900-rom-rng"; |
| 39 | clocks = <&rng_ick>; |
| 40 | clock-names = "ick"; |
| 41 | }; |