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.
Merge pull request radxa-pkg#328 from vamrs-feng/main
add rock 5b otg port1 dts
- Loading branch information
Showing
5 changed files
with
30 additions
and
6 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
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
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
11 changes: 11 additions & 0 deletions
11
arch/arm64/boot/dts/rockchip/overlays/rock-5b-dwc3_1-host.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,11 @@ | ||
#include "rk3588-dwc3_1-host.dts" | ||
|
||
/ { | ||
metadata { | ||
title = "Set OTG port 1 to Host mode for ROCK 5B V1.46+"; | ||
compatible = "radxa,rock-5b"; | ||
description = "Set OTG port 1 to Host mode for ROCK 5B V1.46+. | ||
This is the bottom USB 3.0 port. | ||
Use this when you want to connect USB devices."; | ||
}; | ||
}; |
11 changes: 11 additions & 0 deletions
11
arch/arm64/boot/dts/rockchip/overlays/rock-5b-dwc3_1-peripheral.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,11 @@ | ||
#include "rk3588-dwc3_1-peripheral.dts" | ||
|
||
/ { | ||
metadata { | ||
title = "Set OTG port 1 to Peripheral mode for ROCK 5B V1.46+"; | ||
compatible = "radxa,rock-5b"; | ||
description = "Set OTG port 1 to Peripheral mode for ROCK 5B V1.46+. | ||
This is the bottom USB 3.0 port. | ||
Use this when you want to connect to another computer."; | ||
}; | ||
}; |