diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2017-11-18 16:04:12 +0300 |
---|---|---|
committer | Florian Fainelli <f.fainelli@gmail.com> | 2018-04-17 01:15:10 +0300 |
commit | d3140a7961781e72f00eaad074212b96f07e695f (patch) | |
tree | 99dda6fb4fa71f6ff191cdd4198c24de28d967d9 /Documentation/devicetree/bindings/rng | |
parent | 60cc43fc888428bb2f18f08997432d426a243338 (diff) | |
download | linux-d3140a7961781e72f00eaad074212b96f07e695f.tar.xz |
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')
-rw-r--r-- | Documentation/devicetree/bindings/rng/brcm,bcm2835.txt | 9 |
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 { |