summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt
diff options
context:
space:
mode:
authorStefan Wahren2017-11-18 14:04:12 +0100
committerFlorian Fainelli2018-04-17 00:15:10 +0200
commitd3140a7961781e72f00eaad074212b96f07e695f (patch)
tree99dda6fb4fa71f6ff191cdd4198c24de28d967d9 /Documentation/devicetree/bindings/rng/brcm,bcm2835.txt
parentLinux 4.17-rc1 (diff)
downloadkernel-qcow2-linux-d3140a7961781e72f00eaad074212b96f07e695f.tar.gz
kernel-qcow2-linux-d3140a7961781e72f00eaad074212b96f07e695f.tar.xz
kernel-qcow2-linux-d3140a7961781e72f00eaad074212b96f07e695f.zip
dt-binding: rng: Add interrupt property for BCM2835
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>
Diffstat (limited to 'Documentation/devicetree/bindings/rng/brcm,bcm2835.txt')
-rw-r--r--Documentation/devicetree/bindings/rng/brcm,bcm2835.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt b/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt
index 627b29531a32..aaac7975f61c 100644
--- a/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt
+++ b/Documentation/devicetree/bindings/rng/brcm,bcm2835.txt
@@ -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 {