summaryrefslogtreecommitdiff
path: root/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt
blob: 627b29531a32f183435f28a9f5f7a383d7a2bbde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
BCM2835/6368 Random number generator

Required properties:

- compatible : should be one of
	"brcm,bcm2835-rng"
	"brcm,bcm-nsp-rng"
	"brcm,bcm5301x-rng" or
	"brcm,bcm6368-rng"
- reg : Specifies base physical address and size of the registers.

Optional properties:

- clocks : phandle to clock-controller plus clock-specifier pair
- clock-names : "ipsec" as a clock name

Example:

rng {
        compatible = "brcm,bcm2835-rng";
        reg = <0x7e104000 0x10>;
};

rng@18033000 {
	compatible = "brcm,bcm-nsp-rng";
	reg = <0x18033000 0x14>;
};

random: rng@10004180 {
	compatible = "brcm,bcm6368-rng";
	reg = <0x10004180 0x14>;

	clocks = <&periph_clk 18>;
	clock-names = "ipsec";
};