Linux kernel mirror (for testing)
git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel
os
linux
1BCM2835/6368 Random number generator
2
3Required properties:
4
5- compatible : should be one of
6 "brcm,bcm2835-rng"
7 "brcm,bcm-nsp-rng"
8 "brcm,bcm5301x-rng" or
9 "brcm,bcm6368-rng"
10- reg : Specifies base physical address and size of the registers.
11
12Optional properties:
13
14- clocks : phandle to clock-controller plus clock-specifier pair
15- clock-names : "ipsec" as a clock name
16
17Optional properties:
18
19- interrupts: specify the interrupt for the RNG block
20
21Example:
22
23rng {
24 compatible = "brcm,bcm2835-rng";
25 reg = <0x7e104000 0x10>;
26 interrupts = <2 29>;
27};
28
29rng@18033000 {
30 compatible = "brcm,bcm-nsp-rng";
31 reg = <0x18033000 0x14>;
32};
33
34random: rng@10004180 {
35 compatible = "brcm,bcm6368-rng";
36 reg = <0x10004180 0x14>;
37
38 clocks = <&periph_clk 18>;
39 clock-names = "ipsec";
40};