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
This commit is contained in:
Andriy Gapon 2022-01-18 09:26:14 +02:00
parent f41f98f0f0
commit 173d0fb616
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,12 @@
/dts-v1/;
/plugin/;
/ {
compatible = "rockchip,rk3328";
};
&{/serial@ff120000} {
status = "okay";
};
/* vim: set ft=dts: */

View File

@ -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 \