summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2025-05-12 14:05:48 +0200
committerFlorian Fainelli <florian.fainelli@broadcom.com>2025-06-09 10:10:40 -0700
commitca801d3f2dfad05e59fe1493cdf0b73eac4df04b (patch)
tree6ce91eeb074b61c2625dbb0a2030d5feb32feea6
parent654481395ffba18d41189bb1c88753f65bd63276 (diff)
downloadlinux-ca801d3f2dfad05e59fe1493cdf0b73eac4df04b.tar.gz
linux-ca801d3f2dfad05e59fe1493cdf0b73eac4df04b.zip
dt-bindings: rng: r200: Add interrupt property
This IP block has an interrupt. Add it and add it to the example as well. Acked-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://lore.kernel.org/r/20250512-bcmbca-peripherals-arm-v3-2-86f97ab4326f@linaro.org Signed-off-by: Florian Fainelli <florian.fainelli@broadcom.com>
-rw-r--r--Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml6
1 files changed, 6 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml b/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml
index 827983008ecf..817cbdaa2b2d 100644
--- a/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml
+++ b/Documentation/devicetree/bindings/rng/brcm,iproc-rng200.yaml
@@ -20,11 +20,17 @@ properties:
reg:
maxItems: 1
+ interrupts:
+ maxItems: 1
+
additionalProperties: false
examples:
- |
+ #include <dt-bindings/interrupt-controller/arm-gic.h>
+
rng@18032000 {
compatible = "brcm,iproc-rng200";
reg = <0x18032000 0x28>;
+ interrupts = <GIC_SPI 83 IRQ_TYPE_LEVEL_HIGH>;
};