Commit 77daceab authored by Stefan Wahren's avatar Stefan Wahren Committed by Nicolas Saenz Julienne

Revert "ARM: dts: bcm283x: increase dwc2's RX FIFO size"

This reverts commit 278407a5.

The original change breaks USB config on Raspberry Pi Zero and Pi 4 B,
because it exceeds the total fifo size of 4080. A naive attempt to reduce
g-tx-fifo-size doesn't help on Raspberry Pi Zero. So better go back.

Fixes: 278407a5 ("ARM: dts: bcm283x: increase dwc2's RX FIFO size")
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Cc: Pavel Hofman <pavel.hofman@ivitera.com>
Link: https://lore.kernel.org/r/1622293371-5997-1-git-send-email-stefan.wahren@i2se.comSigned-off-by: default avatarNicolas Saenz Julienne <nsaenz@kernel.org>
parent 6efb943b
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
&usb { &usb {
dr_mode = "otg"; dr_mode = "otg";
g-rx-fifo-size = <558>; g-rx-fifo-size = <256>;
g-np-tx-fifo-size = <32>; g-np-tx-fifo-size = <32>;
/* /*
* According to dwc2 the sum of all device EP * According to dwc2 the sum of all device EP
......
// SPDX-License-Identifier: GPL-2.0 // SPDX-License-Identifier: GPL-2.0
&usb { &usb {
dr_mode = "peripheral"; dr_mode = "peripheral";
g-rx-fifo-size = <558>; g-rx-fifo-size = <256>;
g-np-tx-fifo-size = <32>; g-np-tx-fifo-size = <32>;
g-tx-fifo-size = <256 256 512 512 512 768 768>; g-tx-fifo-size = <256 256 512 512 512 768 768>;
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment