mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-23 05:36:35 +07:00
1aa1d858f5
The Raspberry Pi Zero also supports OTG mode. So provide a dtsi file to configure the USB interface accordingly. The fifo sizes are optimized for device endpoint 6 and 7 with the maximum of 768. Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Eric Anholt <eric@anholt.net>
11 lines
229 B
Plaintext
11 lines
229 B
Plaintext
&usb {
|
|
dr_mode = "otg";
|
|
g-rx-fifo-size = <256>;
|
|
g-np-tx-fifo-size = <32>;
|
|
/*
|
|
* According to dwc2 the sum of all device EP
|
|
* fifo sizes shouldn't exceed 3776 bytes.
|
|
*/
|
|
g-tx-fifo-size = <256 256 512 512 512 768 768>;
|
|
};
|