2017-11-08 07:44:47 +07:00
|
|
|
BCM2835/6368 Random number generator
|
2013-03-28 13:19:38 +07:00
|
|
|
|
|
|
|
Required properties:
|
|
|
|
|
2017-11-08 07:44:47 +07:00
|
|
|
- compatible : should be one of
|
|
|
|
"brcm,bcm2835-rng"
|
|
|
|
"brcm,bcm-nsp-rng"
|
|
|
|
"brcm,bcm5301x-rng" or
|
|
|
|
"brcm,bcm6368-rng"
|
2013-03-28 13:19:38 +07:00
|
|
|
- reg : Specifies base physical address and size of the registers.
|
|
|
|
|
2017-11-08 07:44:47 +07:00
|
|
|
Optional properties:
|
|
|
|
|
|
|
|
- clocks : phandle to clock-controller plus clock-specifier pair
|
|
|
|
- clock-names : "ipsec" as a clock name
|
|
|
|
|
2017-11-18 20:04:12 +07:00
|
|
|
Optional properties:
|
|
|
|
|
|
|
|
- interrupts: specify the interrupt for the RNG block
|
|
|
|
|
2013-03-28 13:19:38 +07:00
|
|
|
Example:
|
|
|
|
|
|
|
|
rng {
|
2017-11-18 20:04:12 +07:00
|
|
|
compatible = "brcm,bcm2835-rng";
|
|
|
|
reg = <0x7e104000 0x10>;
|
|
|
|
interrupts = <2 29>;
|
2013-03-28 13:19:38 +07:00
|
|
|
};
|
2016-05-27 17:10:38 +07:00
|
|
|
|
|
|
|
rng@18033000 {
|
|
|
|
compatible = "brcm,bcm-nsp-rng";
|
|
|
|
reg = <0x18033000 0x14>;
|
|
|
|
};
|
2017-11-08 07:44:47 +07:00
|
|
|
|
|
|
|
random: rng@10004180 {
|
|
|
|
compatible = "brcm,bcm6368-rng";
|
|
|
|
reg = <0x10004180 0x14>;
|
|
|
|
|
|
|
|
clocks = <&periph_clk 18>;
|
|
|
|
clock-names = "ipsec";
|
|
|
|
};
|