[PATCH v2 03/12] ARM: dts: bcm6846: Add interrupt to RNG
William Zhang
william.zhang at broadcom.com
Fri Apr 25 18:00:18 PDT 2025
> -----Original Message-----
> From: Linus Walleij <linus.walleij at linaro.org>
> Sent: Sunday, April 6, 2025 8:33 AM
> To: Rob Herring <robh at kernel.org>; Krzysztof Kozlowski
> <krzk+dt at kernel.org>;
> Conor Dooley <conor+dt at kernel.org>; William Zhang
> <william.zhang at broadcom.com>; Anand Gore <anand.gore at broadcom.com>;
> Kursad Oney <kursad.oney at broadcom.com>; Florian Fainelli
> <florian.fainelli at broadcom.com>; Rafał Miłecki <rafal at milecki.pl>;
> Broadcom
> internal kernel review list <bcm-kernel-feedback-list at broadcom.com>;
> Olivia
> Mackall <olivia at selenic.com>; Ray Jui <rjui at broadcom.com>; Scott Branden
> <sbranden at broadcom.com>; Florian Fainelli <f.fainelli at gmail.com>
> Cc: devicetree at vger.kernel.org; linux-arm-kernel at lists.infradead.org;
> linux-
> crypto at vger.kernel.org; Linus Walleij <linus.walleij at linaro.org>
> Subject: [PATCH v2 03/12] ARM: dts: bcm6846: Add interrupt to RNG
>
> The r200 RNG has an interrupt so let's add it.
>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
> ---
> arch/arm/boot/dts/broadcom/bcm6846.dtsi | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/arch/arm/boot/dts/broadcom/bcm6846.dtsi
> b/arch/arm/boot/dts/broadcom/bcm6846.dtsi
> index
> e0e06af3fe891df3c3d8c2005cf1980d33a7762b..d36d0a791dbf4ca34427976919
> 57c3247c7187e7 100644
> --- a/arch/arm/boot/dts/broadcom/bcm6846.dtsi
> +++ b/arch/arm/boot/dts/broadcom/bcm6846.dtsi
> @@ -196,6 +196,7 @@ uart0: serial at 640 {
> rng at b80 {
> compatible = "brcm,iproc-rng200";
> reg = <0xb80 0x28>;
> + interrupts = <GIC_SPI 21 IRQ_TYPE_LEVEL_HIGH>;
If you are getting the value from 6846_intr.h, the interrupt for dtsi is
actually
((SPI_TABLE_OFFSET2 + 21) - 32) = 85
> };
>
> leds: led-controller at 800 {
>
> --
> 2.49.0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4199 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20250425/0f136bde/attachment.p7s>
More information about the linux-arm-kernel
mailing list