Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Sep 2016 12:50:30 +0900 (JST)
From:      Mori Hiroki <yamori813@yahoo.co.jp>
To:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Solve: MEDIATEK USB
Message-ID:  <240105.21380.qm@web101704.mail.ssk.yahoo.co.jp>
In-Reply-To: <990010.75732.qm@web101713.mail.ssk.yahoo.co.jp>
References:  <990010.75732.qm@web101713.mail.ssk.yahoo.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

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@yahoo.co.jp>
> To: "freebsd-mips@freebsd.org" <freebsd-mips@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@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to 
> "freebsd-mips-unsubscribe@freebsd.org"
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?240105.21380.qm>