git: b426119a45d0 - main - sdhci: xilinx: Add compatible and quirks for ZynqMP
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 10 Aug 2023 07:22:13 UTC
The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=b426119a45d09a44ebb5645e026cc61e810244e8 commit b426119a45d09a44ebb5645e026cc61e810244e8 Author: Emmanuel Vadot <manu@FreeBSD.org> AuthorDate: 2022-09-29 08:49:05 +0000 Commit: Emmanuel Vadot <manu@FreeBSD.org> CommitDate: 2023-08-10 07:21:55 +0000 sdhci: xilinx: Add compatible and quirks for ZynqMP Sponsored by: Beckhoff Automation GmbH & Co. KG MFC after: 2 weeks --- sys/dev/sdhci/sdhci_fdt.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/sys/dev/sdhci/sdhci_fdt.c b/sys/dev/sdhci/sdhci_fdt.c index 09338602d2fb..c6319d49ca65 100644 --- a/sys/dev/sdhci/sdhci_fdt.c +++ b/sys/dev/sdhci/sdhci_fdt.c @@ -77,6 +77,7 @@ __FBSDID("$FreeBSD$"); #define SDHCI_FDT_QUALCOMM 4 #define SDHCI_FDT_RK3399 5 #define SDHCI_FDT_RK3568 6 +#define SDHCI_FDT_XLNX_ZMP 7 #define RK3399_GRF_EMMCCORE_CON0 0xf000 #define RK3399_CORECFG_BASECLKFREQ 0xff00 @@ -124,6 +125,7 @@ static struct ofw_compat_data compat_data[] = { { "rockchip,rk3399-sdhci-5.1", SDHCI_FDT_RK3399 }, { "xlnx,zy7_sdhci", SDHCI_FDT_XLNX_ZY7 }, { "rockchip,rk3568-dwcmshc", SDHCI_FDT_RK3568 }, + { "xlnx,zynqmp-8.9a", SDHCI_FDT_XLNX_ZMP }, { NULL, 0 } }; @@ -532,6 +534,9 @@ sdhci_fdt_probe(device_t dev) case SDHCI_FDT_RK3568: device_set_desc(dev, "Rockchip RK3568 fdt SDHCI controller"); break; + case SDHCI_FDT_XLNX_ZMP: + device_set_desc(dev, "ZynqMP generic fdt SDHCI controller"); + break; default: return (ENXIO); }