Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ARM: dts: bcm283x: Add dtsi for OTG and gadget mode
The Raspberry Pi Zero also supports OTG and gadget mode. So provide 2 dtsi files to configure the USB interface accordingly. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
- Loading branch information
1 parent
9702236
commit a6ec75d
Showing
3 changed files
with
18 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
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,6 @@ | ||
&usb { | ||
dr_mode = "otg"; | ||
g-np-tx-fifo-size = <16>; | ||
g-rx-fifo-size = <256>; | ||
g-tx-fifo-size = <256 128 128 64 64 64 32>; | ||
}; |
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,6 @@ | ||
&usb { | ||
dr_mode = "peripheral"; | ||
g-np-tx-fifo-size = <16>; | ||
g-rx-fifo-size = <256>; | ||
g-tx-fifo-size = <256 128 128 64 64 64 32>; | ||
}; |