git: 8716f1553800 - stable/12 - bcm2835_clkman: add RPI4 compat string
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 16 Sep 2022 17:43:05 UTC
The branch stable/12 has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=8716f1553800fda8cf06ce97c1b2a7a55856fc73
commit 8716f1553800fda8cf06ce97c1b2a7a55856fc73
Author: Matthew Grooms <mgrooms@shrew.net>
AuthorDate: 2022-09-08 15:34:15 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2022-09-16 17:41:54 +0000
bcm2835_clkman: add RPI4 compat string
This enables attachment on the RPI4, thus enabling the bcm2835_pwm
driver too. Per the device tree documentation, these compat strings are
equivalent, and no further changes to the driver are required.
https://lists.freebsd.org/archives/freebsd-arm/2021-June/000143.html
MFC after: 3 days
(cherry picked from commit 87705c5c21784c401a8d425b2780bb8b1c37d431)
---
sys/arm/broadcom/bcm2835/bcm2835_clkman.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/sys/arm/broadcom/bcm2835/bcm2835_clkman.c b/sys/arm/broadcom/bcm2835/bcm2835_clkman.c
index d33ff1ff73f0..28247b5b9847 100644
--- a/sys/arm/broadcom/bcm2835/bcm2835_clkman.c
+++ b/sys/arm/broadcom/bcm2835/bcm2835_clkman.c
@@ -51,6 +51,7 @@ __FBSDID("$FreeBSD$");
#include <arm/broadcom/bcm2835/bcm2835_clkman.h>
static struct ofw_compat_data compat_data[] = {
+ {"brcm,bcm2711-cprman", 1},
{"brcm,bcm2835-cprman", 1},
{"broadcom,bcm2835-cprman", 1},
{NULL, 0}