[OpenWrt-Devel] ar71xx: Setting the usb mode from kernel board file

micke.prag at telldus.se micke.prag at telldus.se
Tue Nov 8 06:31:09 EST 2016


 

Hi, 

I have a board based on ar9331. According to the datasheet [1]
page 81 the USB_MODE is determined by reading GPIO13 on boot.
Unfortunately this pin is connected to some other function that ties
this pin to ground and therefore the USB_MODE is set wrong. 

Does
someone know how I can manually set this to 0x1 in the kernel and
override the value read from the gpio? 

Regards
Micke 

[1]
https://www.openhacks.com/uploadsproductos/ar9331_datasheet.pdf 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20161108/dc85b4c3/attachment.htm>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list