dt-binding: rng: Add interrupt property for BCM2835
authorStefan Wahren <stefan.wahren@i2se.com>
Sat, 18 Nov 2017 13:04:12 +0000 (14:04 +0100)
committerFlorian Fainelli <f.fainelli@gmail.com>
Mon, 16 Apr 2018 22:15:10 +0000 (15:15 -0700)
As Sylvain Garrigues pointed out the BCM2835 RNG block has an
interrupt. Also in preparation for Florian's upcoming patch series
add this property to the binding. While we are at it fix the
indenting of the example.

Link: https://github.com/raspberrypi/linux/issues/2195
CC: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Documentation/devicetree/bindings/rng/brcm,bcm2835.txt

index 627b295..aaac797 100644 (file)
@@ -14,11 +14,16 @@ Optional properties:
 - clocks : phandle to clock-controller plus clock-specifier pair
 - clock-names : "ipsec" as a clock name
 
+Optional properties:
+
+- interrupts: specify the interrupt for the RNG block
+
 Example:
 
 rng {
-        compatible = "brcm,bcm2835-rng";
-        reg = <0x7e104000 0x10>;
+       compatible = "brcm,bcm2835-rng";
+       reg = <0x7e104000 0x10>;
+       interrupts = <2 29>;
 };
 
 rng@18033000 {