Skip to content

Commit

Permalink
feat: add rk3308-uart1-full
Browse files Browse the repository at this point in the history
Signed-off-by: ZHANG Yuntian <[email protected]>
  • Loading branch information
RadxaYuntian committed Dec 2, 2024
1 parent 06b49c9 commit eefe5d8
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
1 change: 1 addition & 0 deletions arch/arm64/boot/dts/rockchip/overlays/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ dtb-$(CONFIG_CLK_RK3308) += \
rk3308-spi1-spidev.dtbo \
rk3308-spi2-spidev.dtbo \
rk3308-uart0.dtbo \
rk3308-uart1-full.dtbo \
rk3308-uart1.dtbo \
rk3308-uart2-m0.dtbo \
rk3308-uart3.dtbo \
Expand Down
28 changes: 28 additions & 0 deletions arch/arm64/boot/dts/rockchip/overlays/rk3308-uart1-full.dts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
/dts-v1/;
/plugin/;

/ {
metadata {
title = "Enable UART1 with Hardware Flow Control";
compatible = "radxa,rockpis", "radxa,rock-s0";
category = "misc";
exclusive = "GPIO1_C6", "GPIO1_C7", "GPIO1_D0", "GPIO1_D1", "uart1", "i2c0", "spi2";
description = "Enable UART1 with Hardware Flow Control.
On ROCK Pi S, this uses RTSN pin 19, CTSN pin 21, RX pin 23, and TX pin 24.
On ROCK S0, this uses RTSN pin 19, CTSN pin 21, RX pin 23, and TX pin 24.";
};
};

&uart1 {
status = "okay";
pinctrl-names = "default";
pinctrl-0 = <&uart1_xfer &uart1_cts &uart1_rts>;
};

&spi2 {
status = "disabled";
};

&i2c0 {
status = "disabled";
};

0 comments on commit eefe5d8

Please sign in to comment.