forked from radxa-pkg/radxa-overlays
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ZHANG Yuntian <[email protected]>
- Loading branch information
1 parent
06b49c9
commit eefe5d8
Showing
2 changed files
with
29 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
arch/arm64/boot/dts/rockchip/overlays/rk3308-uart1-full.dts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"; | ||
}; |