Commit 0f95b09a authored by Stefan Wahren's avatar Stefan Wahren Committed by Herbert Xu

hwrng: iproc-rng200 - Add support for BCM2711

BCM2711 features a RNG200 hardware random number generator block.
So make the driver available.
Signed-off-by: default avatarStefan Wahren <wahrenst@gmx.net>
Signed-off-by: default avatarStephen Brennan <stephen@brennan.io>
Reviewed-by: default avatarMatthias Brugger <mbrugger@suse.com>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent efdd6099
...@@ -90,7 +90,7 @@ config HW_RANDOM_BCM2835 ...@@ -90,7 +90,7 @@ config HW_RANDOM_BCM2835
config HW_RANDOM_IPROC_RNG200 config HW_RANDOM_IPROC_RNG200
tristate "Broadcom iProc/STB RNG200 support" tristate "Broadcom iProc/STB RNG200 support"
depends on ARCH_BCM_IPROC || ARCH_BRCMSTB depends on ARCH_BCM_IPROC || ARCH_BCM2835 || ARCH_BRCMSTB
default HW_RANDOM default HW_RANDOM
---help--- ---help---
This driver provides kernel-side support for the RNG200 This driver provides kernel-side support for the RNG200
......
...@@ -213,6 +213,7 @@ static int iproc_rng200_probe(struct platform_device *pdev) ...@@ -213,6 +213,7 @@ static int iproc_rng200_probe(struct platform_device *pdev)
} }
static const struct of_device_id iproc_rng200_of_match[] = { static const struct of_device_id iproc_rng200_of_match[] = {
{ .compatible = "brcm,bcm2711-rng200", },
{ .compatible = "brcm,bcm7211-rng200", }, { .compatible = "brcm,bcm7211-rng200", },
{ .compatible = "brcm,bcm7278-rng200", }, { .compatible = "brcm,bcm7278-rng200", },
{ .compatible = "brcm,iproc-rng200", }, { .compatible = "brcm,iproc-rng200", },
......
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