Arducam AR1335 (B0245) doesn't work with raspberry pi CM4

1.Which seller did you purchase the product(s) from?
2.The Model number of the product(s) you have purchased?
3.Which Platform are you using the product(s) on?
Raspberry Pi CM4 with IO board
4.Which instruction are you following?
5.Has your product ever worked properly?
It worked with Raspberry Pi 4b+
6.What problems are you experiencing?
I followed the guide, connected the camera via 22-to-15-pin connector to CAM1 and it still isn’t visible at ls /dev/vid*.
7.What attempts at troubleshooting have you already made?
Tried downgrading kernel and using the v1.0 driver and nothing. Tried official raspi camera - worked.
8.How would you like us to help you?

Turned out that removing the dtoverlay=dwc2,dr_mode=host line (which enables the usb 2.0 ports) from /boot/config.txt made the connection appear. So the question now is, is it possible to have both the usb 2.0 and the camera work?