Solve: MEDIATEK USB

Mori Hiroki yamori813 at yahoo.co.jp
Tue Sep 27 03:52:42 UTC 2016


Hi.

I use rt3050.dtsi and add as follow line in my dts file 
then fix this problem.

&otg {
        status = "okay";
};

https://gist.github.com/yamori813/5ac99716500c4e7ee47c4db8d403c5b7


My target SOC is print to RT3050F but CHIPID0_3 and CHIPID4_7
is "RT3350  ". I think RT3350 and RT3352 have OTG type usb 
device same as RT3050/RT3052.

Thanks


Hiroki Mori


----- Original Message -----
> From: Mori Hiroki <yamori813 at yahoo.co.jp>
> To: "freebsd-mips at freebsd.org" <freebsd-mips at freebsd.org>
> Cc: 
> Date: 2016/9/23, Fri 18:25
> Subject: MEDIATEK USB
> 
> Hi.
> 
> I try to use USB at RT3550. But it not work.
> 
> I use rt3552.dtsi base file. I have question why irq is different from dtsi 
> define that is 18. 
> 
> ehci0: <MTK USB 2.0 Controller> mem 0x101c0000-0x101c0fff irq 3 on ofwbus0
> usbus0: EHCI version 0.10
> usbus0: stop timeout
> usbus0: reset timeout
> usbus0: reset timeout
> ehci0: USB init failed err=18
> unknown: stop timeout
> unknown: reset timeout
> device_attach: ehci0 attach returned 6
> ohci0: <MTK USB Controller> mem 0x101c1000-0x101c1fff irq 4 on ofwbus0
> usbus0 on ohci0
> ohci0: usbpf: Attached
> 
> If you have advice please let me know.
> 
> Thanks
> 
> Hiroki Mori
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to 
> "freebsd-mips-unsubscribe at freebsd.org"
> 


More information about the freebsd-mips mailing list