brintos

brintos / linux-shallow public Read only

0
0
Text · 1.5 KiB · 1a71935 Raw
77 lines · yaml
1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)2%YAML 1.23---4$id: http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml#5$schema: http://devicetree.org/meta-schemas/core.yaml#6 7title: Samsung Exynos SoC True Random Number Generator8 9maintainers:10  - Krzysztof Kozlowski <krzk@kernel.org>11  - Łukasz Stelmach <l.stelmach@samsung.com>12 13properties:14  compatible:15    enum:16      - samsung,exynos5250-trng17      - samsung,exynos850-trng18 19  clocks:20    minItems: 121    maxItems: 222 23  clock-names:24    minItems: 125    maxItems: 226 27  reg:28    maxItems: 129 30required:31  - compatible32  - clocks33  - clock-names34  - reg35 36allOf:37  - if:38      properties:39        compatible:40          contains:41            const: samsung,exynos850-trng42 43    then:44      properties:45        clocks:46          items:47            - description: SSS (Security Sub System) operating clock48            - description: SSS (Security Sub System) bus clock49 50        clock-names:51          items:52            - const: secss53            - const: pclk54 55    else:56      properties:57        clocks:58          items:59            - description: SSS (Security Sub System) operating clock60 61        clock-names:62          items:63            - const: secss64 65additionalProperties: false66 67examples:68  - |69    #include <dt-bindings/clock/exynos5250.h>70 71    rng@10830600 {72        compatible = "samsung,exynos5250-trng";73        reg = <0x10830600 0x100>;74        clocks = <&clock CLK_SSS>;75        clock-names = "secss";76    };77