git: ace8bb34ce75 - main - Add support for RK3568 to RockChip GRF and SPI drivers. Partially from https://reviews.freebsd.org/D36027
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 11 Aug 2022 05:33:45 UTC
The branch main has been updated by ganbold: URL: https://cgit.FreeBSD.org/src/commit/?id=ace8bb34ce7528d81d53ddce39b0587b487bb65f commit ace8bb34ce7528d81d53ddce39b0587b487bb65f Author: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> AuthorDate: 2022-08-11 05:32:48 +0000 Commit: Ganbold Tsagaankhuu <ganbold@FreeBSD.org> CommitDate: 2022-08-11 05:32:48 +0000 Add support for RK3568 to RockChip GRF and SPI drivers. Partially from https://reviews.freebsd.org/D36027 Submitted by: sos --- sys/arm64/rockchip/rk_grf.c | 6 ++++++ sys/arm64/rockchip/rk_spi.c | 1 + 2 files changed, 7 insertions(+) diff --git a/sys/arm64/rockchip/rk_grf.c b/sys/arm64/rockchip/rk_grf.c index 3d54a79de29e..37753f414a8e 100644 --- a/sys/arm64/rockchip/rk_grf.c +++ b/sys/arm64/rockchip/rk_grf.c @@ -48,6 +48,12 @@ static struct ofw_compat_data compat_data[] = { {"rockchip,rk3328-grf", 1}, {"rockchip,rk3399-grf", 1}, {"rockchip,rk3399-pmugrf", 1}, + {"rockchip,rk3568-grf", 1}, + {"rockchip,rk3568-pmugrf", 1}, + {"rockchip,rk3568-usb2phy-grf", 1}, + {"rockchip,rk3566-pipegrf", 1}, + {"rockchip,rk3568-pipegrf", 1}, + {"rockchip,pipe-phy-grf", 1}, {NULL, 0} }; diff --git a/sys/arm64/rockchip/rk_spi.c b/sys/arm64/rockchip/rk_spi.c index fbfeb70a3fa7..d6ed51278dd7 100644 --- a/sys/arm64/rockchip/rk_spi.c +++ b/sys/arm64/rockchip/rk_spi.c @@ -92,6 +92,7 @@ __FBSDID("$FreeBSD$"); static struct ofw_compat_data compat_data[] = { { "rockchip,rk3328-spi", 1 }, { "rockchip,rk3399-spi", 1 }, + { "rockchip,rk3568-spi", 1 }, { NULL, 0 } };