Comments (5)
if we use PA1 for OTG-ID, then :
&usb_otg {
dr_mode = "otg"; /* host peripheral otg*/
status = "okay";
};
&usbphy {
status = "okay";
usb0_id_det-gpios = <&pio 0 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PA1 0a1b2c3d4e5f6g7h */
};
I tested, it works.
from buildroot-tiny200.
Thanks Mangobuge. Can we make this the default and submit a pull request to https://github.com/ouki-wang/buildroot-f1c-pinpong
Peter
from buildroot-tiny200.
if we use PA1 for OTG-ID, then :
&usb_otg { dr_mode = "otg"; /* host peripheral otg*/ status = "okay"; }; &usbphy { status = "okay"; usb0_id_det-gpios = <&pio 0 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_UP)>; /* PA1 0a1b2c3d4e5f6g7h */ };I tested, it works.
We copied your dts but it made no difference.
"# lsusb
#"
According to the Schematic, the ID pin is not connected
from buildroot-tiny200.
@peterbmckinley Greetings, I did some testing with my own F1C200s dev board and found setting it to this, gave me the desired result:
&usb_otg {
dr_mode = "host"; /* host peripheral otg*/
status = "okay";
};
&usbphy {
status = "okay";
};
I used this to get my USB Ethernet Adapter to work. This may be what you are looking for. Please let me know if this is helpful, it took me a lot of troubleshooting myself! :)
from buildroot-tiny200.
I haven't tested it, my project has moved on, but if it worked for you i'm happy to close the issue on that basis.
Thank for your help!
from buildroot-tiny200.
Related Issues (13)
- commit id: ce2217 python3ηΌθ―δΈθΏ
- usb DFU not working HOT 12
- Build fails due glibc >glibc-2.33 (Ubuntu 21), Testing solutions HOT 4
- tcon device driver HOT 1
- TV out framebuffer uses YUV format
- Compile error Ubuntu 2022.10 HOT 1
- make target-post-image error HOT 3
- support for lcd on lichee nano board HOT 2
- Submitting linux patches to mainline
- Submitting the u-boot patch to mainline
- Suniv (F1C100s) pwm fix HOT 1
- kernel panic HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from buildroot-tiny200.