Date: Wed, 9 Feb 2022 09:36:12 GMT From: Andriy Gapon <avg@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org Subject: git: ea331a2ef468 - stable/13 - add overlay for enabling serial1 / uart1 on rk3328 Message-ID: <202202090936.2199aCUM090852@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by avg: URL: https://cgit.FreeBSD.org/src/commit/?id=ea331a2ef46844bb15630d0b4abdafbfce709271 commit ea331a2ef46844bb15630d0b4abdafbfce709271 Author: Andriy Gapon <avg@FreeBSD.org> AuthorDate: 2022-01-18 07:26:14 +0000 Commit: Andriy Gapon <avg@FreeBSD.org> CommitDate: 2022-02-09 09:35:18 +0000 add overlay for enabling serial1 / uart1 on rk3328 On Rock64 the uart is routed to pins on the "Pi-2" header, so it is potentially useful. Pin mapping: ---------------------------- | ID | Name | Function | ---------------------------- | 15 | GPIO3_A4 | TX | | 16 | GPIO3_A5 | RTS | | 18 | GPIO3_A6 | RX | | 22 | GPIO3_A7 | CTS | ---------------------------- (cherry picked from commit 173d0fb61672ab51fad30b62c2a1be3c6cc100be) --- sys/dts/arm64/overlays/rk3328-uart1.dtso | 12 ++++++++++++ sys/modules/dtb/rockchip/Makefile | 1 + 2 files changed, 13 insertions(+) diff --git a/sys/dts/arm64/overlays/rk3328-uart1.dtso b/sys/dts/arm64/overlays/rk3328-uart1.dtso new file mode 100644 index 000000000000..96ae37e363fe --- /dev/null +++ b/sys/dts/arm64/overlays/rk3328-uart1.dtso @@ -0,0 +1,12 @@ +/dts-v1/; +/plugin/; + +/ { + compatible = "rockchip,rk3328"; +}; + +&{/serial@ff120000} { + status = "okay"; +}; + +/* vim: set ft=dts: */ diff --git a/sys/modules/dtb/rockchip/Makefile b/sys/modules/dtb/rockchip/Makefile index 4cea836e010a..25141bfd4991 100644 --- a/sys/modules/dtb/rockchip/Makefile +++ b/sys/modules/dtb/rockchip/Makefile @@ -17,6 +17,7 @@ DTS= \ DTSO= rk3328-analog-sound.dtso \ rk3328-i2c0.dtso \ + rk3328-uart1.dtso \ rk3328-dwc3.dtso \ rk3399-mmc0-disable.dtso \ rk3399-mmc1-disable.dtso \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202202090936.2199aCUM090852>