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/st,rng.yaml# |
| 5 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 6 | |
| 7 | title: STMicroelectronics Hardware Random Number Generator |
| 8 | |
| 9 | maintainers: |
| 10 | - Patrice Chotard <patrice.chotard@foss.st.com> |
| 11 | |
| 12 | properties: |
| 13 | compatible: |
| 14 | const: st,rng |
| 15 | |
| 16 | clocks: |
| 17 | maxItems: 1 |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | required: |
| 23 | - compatible |
| 24 | - clocks |
| 25 | - reg |
| 26 | |
| 27 | additionalProperties: false |
| 28 | |
| 29 | examples: |
| 30 | - | |
| 31 | rng@fee80000 { |
| 32 | compatible = "st,rng"; |
| 33 | reg = <0xfee80000 0x1000>; |
| 34 | clocks = <&clk_sysin>; |
| 35 | }; |