OSDN Git Service

ARM: bcm2835: add Broadcom BCM2835 RNG to the device tree
authorLubomir Rintel <lkundrak@v3.sk>
Thu, 28 Mar 2013 06:12:04 +0000 (07:12 +0100)
committerStephen Warren <swarren@wwwdotorg.org>
Wed, 3 Apr 2013 06:22:27 +0000 (00:22 -0600)
This adds a device tree binding for random number generator present on
Broadcom BCM2835 SoC, used in Raspberry Pi and Roku 2 devices.

Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Stephen Warren <swarren@wwwdotorg.org>
arch/arm/boot/dts/bcm2835.dtsi

index 3eb60f7..0db295e 100644 (file)
                        reg = <0x7e100000 0x28>;
                };
 
+               rng {
+                       compatible = "brcm,bcm2835-rng";
+                       reg = <0x7e104000 0x10>;
+               };
+
                uart@20201000 {
                        compatible = "brcm,bcm2835-pl011", "arm,pl011", "arm,primecell";
                        reg = <0x7e201000 0x1000>;