]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - arch/arm/boot/dts/overlays/dwc2-overlay.dts
overlays: use all seven dwc2 gadget fifos.
[mirror_ubuntu-bionic-kernel.git] / arch / arm / boot / dts / overlays / dwc2-overlay.dts
1 /dts-v1/;
2 /plugin/;
3
4 /{
5 compatible = "brcm,bcm2708";
6
7 fragment@0 {
8 target = <&usb>;
9 #address-cells = <1>;
10 #size-cells = <1>;
11 dwc2_usb: __overlay__ {
12 compatible = "brcm,bcm2835-usb";
13 reg = <0x7e980000 0x10000>;
14 interrupts = <1 9>;
15 dr_mode = "otg";
16 g-np-tx-fifo-size = <32>;
17 g-rx-fifo-size = <256>;
18 g-tx-fifo-size = <512 512 512 512 512 256 256>;
19 status = "okay";
20 };
21 };
22
23 __overrides__ {
24 dr_mode = <&dwc2_usb>, "dr_mode";
25 g-np-tx-fifo-size = <&dwc2_usb>,"g-np-tx-fifo-size:0";
26 g-rx-fifo-size = <&dwc2_usb>,"g-rx-fifo-size:0";
27 };
28 };