19634cec5SKrzysztof Kozlowski# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 29634cec5SKrzysztof Kozlowski%YAML 1.2 39634cec5SKrzysztof Kozlowski--- 49634cec5SKrzysztof Kozlowski$id: http://devicetree.org/schemas/rng/samsung,exynos5250-trng.yaml# 59634cec5SKrzysztof Kozlowski$schema: http://devicetree.org/meta-schemas/core.yaml# 69634cec5SKrzysztof Kozlowski 79634cec5SKrzysztof Kozlowskititle: Samsung Exynos SoC True Random Number Generator 89634cec5SKrzysztof Kozlowski 99634cec5SKrzysztof Kozlowskimaintainers: 108a1e6bb3SKrzysztof Kozlowski - Krzysztof Kozlowski <krzk@kernel.org> 119634cec5SKrzysztof Kozlowski - Łukasz Stelmach <l.stelmach@samsung.com> 129634cec5SKrzysztof Kozlowski 139634cec5SKrzysztof Kozlowskiproperties: 149634cec5SKrzysztof Kozlowski compatible: 15*70003f51SSam Protsenko enum: 16*70003f51SSam Protsenko - samsung,exynos5250-trng 17*70003f51SSam Protsenko - samsung,exynos850-trng 189634cec5SKrzysztof Kozlowski 199634cec5SKrzysztof Kozlowski clocks: 20*70003f51SSam Protsenko minItems: 1 21*70003f51SSam Protsenko maxItems: 2 229634cec5SKrzysztof Kozlowski 239634cec5SKrzysztof Kozlowski clock-names: 24*70003f51SSam Protsenko minItems: 1 25*70003f51SSam Protsenko maxItems: 2 269634cec5SKrzysztof Kozlowski 279634cec5SKrzysztof Kozlowski reg: 289634cec5SKrzysztof Kozlowski maxItems: 1 299634cec5SKrzysztof Kozlowski 309634cec5SKrzysztof Kozlowskirequired: 319634cec5SKrzysztof Kozlowski - compatible 329634cec5SKrzysztof Kozlowski - clocks 339634cec5SKrzysztof Kozlowski - clock-names 349634cec5SKrzysztof Kozlowski - reg 359634cec5SKrzysztof Kozlowski 36*70003f51SSam ProtsenkoallOf: 37*70003f51SSam Protsenko - if: 38*70003f51SSam Protsenko properties: 39*70003f51SSam Protsenko compatible: 40*70003f51SSam Protsenko contains: 41*70003f51SSam Protsenko const: samsung,exynos850-trng 42*70003f51SSam Protsenko 43*70003f51SSam Protsenko then: 44*70003f51SSam Protsenko properties: 45*70003f51SSam Protsenko clocks: 46*70003f51SSam Protsenko items: 47*70003f51SSam Protsenko - description: SSS (Security Sub System) operating clock 48*70003f51SSam Protsenko - description: SSS (Security Sub System) bus clock 49*70003f51SSam Protsenko 50*70003f51SSam Protsenko clock-names: 51*70003f51SSam Protsenko items: 52*70003f51SSam Protsenko - const: secss 53*70003f51SSam Protsenko - const: pclk 54*70003f51SSam Protsenko 55*70003f51SSam Protsenko else: 56*70003f51SSam Protsenko properties: 57*70003f51SSam Protsenko clocks: 58*70003f51SSam Protsenko items: 59*70003f51SSam Protsenko - description: SSS (Security Sub System) operating clock 60*70003f51SSam Protsenko 61*70003f51SSam Protsenko clock-names: 62*70003f51SSam Protsenko items: 63*70003f51SSam Protsenko - const: secss 64*70003f51SSam Protsenko 659634cec5SKrzysztof KozlowskiadditionalProperties: false 669634cec5SKrzysztof Kozlowski 679634cec5SKrzysztof Kozlowskiexamples: 689634cec5SKrzysztof Kozlowski - | 699634cec5SKrzysztof Kozlowski #include <dt-bindings/clock/exynos5250.h> 709634cec5SKrzysztof Kozlowski 719634cec5SKrzysztof Kozlowski rng@10830600 { 729634cec5SKrzysztof Kozlowski compatible = "samsung,exynos5250-trng"; 739634cec5SKrzysztof Kozlowski reg = <0x10830600 0x100>; 749634cec5SKrzysztof Kozlowski clocks = <&clock CLK_SSS>; 759634cec5SKrzysztof Kozlowski clock-names = "secss"; 769634cec5SKrzysztof Kozlowski }; 77