aboutsummaryrefslogtreecommitdiff
path: root/sys/dts/arm64
diff options
context:
space:
mode:
authorAndriy Gapon <avg@FreeBSD.org>2022-01-18 07:26:14 +0000
committerAndriy Gapon <avg@FreeBSD.org>2022-01-26 09:31:59 +0000
commit173d0fb61672ab51fad30b62c2a1be3c6cc100be (patch)
tree3cfb547286a56350eefb0422de194f6914cf6b32 /sys/dts/arm64
parentf41f98f0f07c45555c380e9c72c3208696621d98 (diff)
downloadsrc-173d0fb61672ab51fad30b62c2a1be3c6cc100be.tar.gz
src-173d0fb61672ab51fad30b62c2a1be3c6cc100be.zip
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 | ---------------------------- MFC after: 2 weeks
Diffstat (limited to 'sys/dts/arm64')
-rw-r--r--sys/dts/arm64/overlays/rk3328-uart1.dtso12
1 files changed, 12 insertions, 0 deletions
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: */