--- zzzz-none-000/linux-3.10.107/include/linux/usb/renesas_usbhs.h 2017-06-27 09:49:32.000000000 +0000 +++ scorpion-7490-727/linux-3.10.107/include/linux/usb/renesas_usbhs.h 2021-02-04 17:41:59.000000000 +0000 @@ -145,6 +145,10 @@ int d0_rx_id; int d1_tx_id; int d1_rx_id; + int d2_tx_id; + int d2_rx_id; + int d3_tx_id; + int d3_rx_id; /* * option: @@ -153,13 +157,20 @@ */ int pio_dma_border; /* default is 64byte */ + uintptr_t type; + u32 enable_gpio; + /* * option: */ u32 has_otg:1; /* for controlling PWEN/EXTLP */ u32 has_sudmac:1; /* for SUDMAC */ + u32 has_usb_dmac:1; /* for USB-DMAC */ +#define USBHS_USB_DMAC_XFER_SIZE 32 /* hardcode the xfer size */ }; +#define USBHS_TYPE_RCAR_GEN2 1 + /* * option: *