Commit d3140a79 authored by Stefan Wahren's avatar Stefan Wahren Committed by Florian Fainelli

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: default avatarStefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
parent 60cc43fc
...@@ -14,11 +14,16 @@ Optional properties: ...@@ -14,11 +14,16 @@ Optional properties:
- clocks : phandle to clock-controller plus clock-specifier pair - clocks : phandle to clock-controller plus clock-specifier pair
- clock-names : "ipsec" as a clock name - clock-names : "ipsec" as a clock name
Optional properties:
- interrupts: specify the interrupt for the RNG block
Example: Example:
rng { rng {
compatible = "brcm,bcm2835-rng"; compatible = "brcm,bcm2835-rng";
reg = <0x7e104000 0x10>; reg = <0x7e104000 0x10>;
interrupts = <2 29>;
}; };
rng@18033000 { rng@18033000 {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment