Skip to content

Commit

Permalink
add overlay for enabling serial1 / uart1 on rk3328
Browse files Browse the repository at this point in the history
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
  • Loading branch information
avg-I committed Jan 26, 2022
1 parent f41f98f commit 173d0fb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions sys/dts/arm64/overlays/rk3328-uart1.dtso
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;

/ {
compatible = "rockchip,rk3328";
};

&{/serial@ff120000} {
status = "okay";
};

/* vim: set ft=dts: */
1 change: 1 addition & 0 deletions sys/modules/dtb/rockchip/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ DTS= \

DTSO= rk3328-analog-sound.dtso \
rk3328-i2c0.dtso \
rk3328-uart1.dtso \
rk3328-dwc3.dtso \
rk3399-mmc0-disable.dtso \
rk3399-mmc1-disable.dtso \
Expand Down

0 comments on commit 173d0fb

Please sign in to comment.