I've built everything into the kernel that I can think of:
Device Drivers --->
[*] USB support -->
[*] USB Type-C Support -->
** built everything other than alternative mode / display port drivers
[*] PHY Subsystem --->
...
[*] Rockchip TYPEC PHY Driver
Nothing seems to get it working (other than using the legacy kernel). If I plug in a USB type-c ethernet adapter, the light stays on solid but nothing shows up under lsusb..
I'm
Thanks to @Oleksii for figuring out that the issue is that the USB-C controller is set to OTG mode rather than host mode.
This is illustrated by the rk3399-nanopc-t4.dtb which, when decompiled, contains the following:
usb@fe800000 {
compatible = "rockchip,rk3399-dwc3";
#address-cells = < 0x02 >;
#size-cells = < 0x02 >;
ranges;
clocks = < 0x08 0x81 0x08 0x83 0x08 0xf6 0x08 0xf8 0x08 0xf4 0x08 0xf9 >;
clock-names = "ref_clk\0suspend_clk\0bus_cl