git: 2551d928501f - main - arm64: rpi4: gpio: Add brcm, bcm2711-gpio compatible

Emmanuel Vadot manu at FreeBSD.org
Wed Feb 17 12:18:39 UTC 2021


The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=2551d928501fb613dba09b7ffe7e383dba276ca6

commit 2551d928501fb613dba09b7ffe7e383dba276ca6
Author:     Emmanuel Vadot <manu at FreeBSD.org>
AuthorDate: 2021-02-17 12:12:45 +0000
Commit:     Emmanuel Vadot <manu at FreeBSD.org>
CommitDate: 2021-02-17 12:18:26 +0000

    arm64: rpi4: gpio: Add brcm,bcm2711-gpio compatible
    
    Looks like we never enabled the main gpio controller on the RPI4 board.
    Now gpio are usable.
    
    MFC after:      3 days
---
 sys/arm/broadcom/bcm2835/bcm2835_gpio.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
index 61513df9c008..70b69eb154e8 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_gpio.c
@@ -157,6 +157,7 @@ enum bcm_gpio_pud {
 static struct ofw_compat_data compat_data[] = {
 	{"broadcom,bcm2835-gpio",	1},
 	{"brcm,bcm2835-gpio",		1},
+	{"brcm,bcm2711-gpio",		1},
 	{NULL,				0}
 };
 


More information about the dev-commits-src-all mailing list