1# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/rng/brcm,bcm2835.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: BCM2835/6368 Random number generator 8 9maintainers: 10 - Stefan Wahren <stefan.wahren@i2se.com> 11 - Florian Fainelli <f.fainelli@gmail.com> 12 - Herbert Xu <herbert@gondor.apana.org.au> 13 14properties: 15 compatible: 16 enum: 17 - brcm,bcm2835-rng 18 - brcm,bcm-nsp-rng 19 - brcm,bcm5301x-rng 20 - brcm,bcm6368-rng 21 22 reg: 23 maxItems: 1 24 25 clocks: 26 maxItems: 1 27 28 clock-names: 29 const: ipsec 30 31 interrupts: 32 maxItems: 1 33 34required: 35 - compatible 36 - reg 37 38if: 39 properties: 40 compatible: 41 enum: 42 - brcm,bcm6368-rng 43then: 44 required: 45 - clocks 46 - clock-names 47 48additionalProperties: false 49 50examples: 51 - | 52 rng@7e104000 { 53 compatible = "brcm,bcm2835-rng"; 54 reg = <0x7e104000 0x10>; 55 interrupts = <2 29>; 56 }; 57 58 - | 59 rng@18033000 { 60 compatible = "brcm,bcm-nsp-rng"; 61 reg = <0x18033000 0x14>; 62 }; 63 64 - | 65 rng@10004180 { 66 compatible = "brcm,bcm6368-rng"; 67 reg = <0x10004180 0x14>; 68 69 clocks = <&periph_clk 18>; 70 clock-names = "ipsec"; 71 }; 72