1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rng/rockchip,rk3568-rng.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Rockchip RK3568 TRNG 8 9description: True Random Number Generator on Rockchip RK3568 SoC 10 11maintainers: 12 - Aurelien Jarno <aurelien@aurel32.net> 13 - Daniel Golle <daniel@makrotopia.org> 14 15properties: 16 compatible: 17 enum: 18 - rockchip,rk3568-rng 19 20 reg: 21 maxItems: 1 22 23 clocks: 24 items: 25 - description: TRNG clock 26 - description: TRNG AHB clock 27 28 clock-names: 29 items: 30 - const: core 31 - const: ahb 32 33 resets: 34 maxItems: 1 35 36required: 37 - compatible 38 - reg 39 - clocks 40 - clock-names 41 - resets 42 43additionalProperties: false 44 45examples: 46 - | 47 #include <dt-bindings/clock/rk3568-cru.h> 48 bus { 49 #address-cells = <2>; 50 #size-cells = <2>; 51 52 rng@fe388000 { 53 compatible = "rockchip,rk3568-rng"; 54 reg = <0x0 0xfe388000 0x0 0x4000>; 55 clocks = <&cru CLK_TRNG_NS>, <&cru HCLK_TRNG_NS>; 56 clock-names = "core", "ahb"; 57 resets = <&cru SRST_TRNG_NS>; 58 }; 59 }; 60 61... 62