forked from rockchip-linux/kernel
-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dts: overlays-rockpis: support and enabled console on ttyS0
Signed-off-by: brian <[email protected]>
- Loading branch information
Showing
3 changed files
with
20 additions
and
1 deletion.
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
17 changes: 17 additions & 0 deletions
17
arch/arm64/boot/dts/rockchip/overlays-rockpis/console-on-ttyS0-overlay.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,17 @@ | ||
// Definitions for setting uart4 pins as ttyFIQ0 console pins | ||
/dts-v1/; | ||
/plugin/; | ||
|
||
/ { | ||
model = "ROCK PI S"; | ||
compatible = "rockchip,rockpis-rk3308", "rockchip,rk3308"; | ||
|
||
fragment@0 { | ||
target = <&fiq_debugger>; | ||
|
||
__overlay__ { | ||
rockchip,serial-id = <0>; | ||
status = "okay"; | ||
}; | ||
}; | ||
}; |
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