Tom Rini | 53633a8 | 2024-02-29 12:33:36 -0500 | [diff] [blame] | 1 | # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) |
| 2 | # Copyright 2019 BayLibre, SAS |
| 3 | %YAML 1.2 |
| 4 | --- |
| 5 | $id: http://devicetree.org/schemas/rng/amlogic,meson-rng.yaml# |
| 6 | $schema: http://devicetree.org/meta-schemas/core.yaml# |
| 7 | |
| 8 | title: Amlogic Meson Random number generator |
| 9 | |
| 10 | maintainers: |
| 11 | - Neil Armstrong <neil.armstrong@linaro.org> |
| 12 | |
| 13 | properties: |
| 14 | compatible: |
| 15 | enum: |
| 16 | - amlogic,meson-rng |
| 17 | - amlogic,meson-s4-rng |
| 18 | |
| 19 | reg: |
| 20 | maxItems: 1 |
| 21 | |
| 22 | clocks: |
| 23 | maxItems: 1 |
| 24 | |
| 25 | clock-names: |
| 26 | items: |
| 27 | - const: core |
| 28 | |
| 29 | required: |
| 30 | - compatible |
| 31 | - reg |
| 32 | |
| 33 | additionalProperties: false |
| 34 | |
| 35 | examples: |
| 36 | - | |
| 37 | rng@c8834000 { |
| 38 | compatible = "amlogic,meson-rng"; |
| 39 | reg = <0xc8834000 0x4>; |
| 40 | }; |