The DT binding says: - phy-reset-duration: Reset duration in milliseconds. Should present only if property 'phy-reset-gpios' is available. Missing the property will have the duration be 1 millisecond. Numbers greater than 1000 are invalid and 1 millisecond will be used instead. However the current code: - clamps values greater than 1000ms to 1000ms rather than 1. does not initialize the delay if the property does not exist (else clause mismatch) - returns an error if phy-reset-gpios is not defined Fix all this and simplify by using devreadu32default Signed-off-by: Martin Fuzzey Acked-by: Joe Hershberger.
Add support for programmable MAC impedance configuration Signed-off-by: Mugunthan V N Signed-off-by: David S. WNR2200 USB GPIO is on AR9287, not on AR7241, so you can't enable USB power use AR7241 gpiochip. I have fixed every led and button gpio on WNR2200, I sent a patch days ago, but have not merged to master yet. Add a matching set of device_ functions for determining mac/phy Convert smsc911x to use ACPI as well as DT device property: Add ETH_ALEN check, update comments.
In upcoming freescale board LX2160AQDS, the MDIO bus is muxed. Same MDIO bus can be routed to eight different slots depending on mux register settings. To support this mdio mux behavior, we add each MDIO bus mux as a separate MDIO bus. Now, various phy devices can be attached to each of these slots(mux). The information about these devices is passed to OS via device tree. To do the fdt fixups related to MDIO bus, its necessary that MDIO bus list is accessed.Therefore, add a function to retrieve the list head.
Signed-off-by: Pankaj Bansal Acked-by: Joe Hershberger.
Hi WNR2200 USB GPIO is on AR9287, not on AR7241, so you can't enable USB power use AR7241 gpiochip. I have fixed every led and button gpio on WNR2200, I sent a patch days ago, but have not merged to master yet. USB is really working with your changes. Maybe your patch wasn't merged because it didn't apply (whitespace was messed up)? I am attaching a version with fixed whitespace (source: ), it is tested against master (compiles, flashes and mounts a USB key).
The USB LED doesn't light up when a USB device is inserted, but I don't really care (it does light up when writing 1 to an exported /sys/class/gpio/gpio8/value). The WLAN LED works. I don't really know the codebase, but why did you remove the WNR2200GPIOLEDLAN.GREEN definitions and left only the WNR2200GPIOLEDLAN.AMBER ones? My WNR2200 LAN LEDs are green by default but at least one of them does turn amber when booting up.
Replying to: Thank you. USB is really working with your changes. Maybe your patch wasn't merged because it didn't apply (whitespace was messed up)? I am attaching a version with fixed whitespace (source: ), it is tested against master (compiles, flashes and mounts a USB key).
Thank you, I create this patch use git, I don't know why. The USB LED doesn't light up when a USB device is inserted, but I don't really care (it does light up when writing 1 to an exported /sys/class/gpio/gpio8/value).
The WLAN LED works. To use USB led, add these code to /etc/config/system config led option default '0' option name 'USB' option sysfs 'netgear:green:usb' option trigger 'usbdev' option dev '1-1' I don't really know the codebase, but why did you remove the WNR2200GPIOLEDLAN.GREEN definitions and left only the WNR2200GPIOLEDLAN.AMBER ones? The WNR2200GPIOLEDLAN.GREEN leds is controlled by AR7241 switch automatically and WNR2200GPIOLEDLAN.AMBER leds are not useful (I think), so I don't care about lan leds.
I just care about leds of WPS, WIFI, USB and POWER. My WNR2200 LAN LEDs are green by default but at least one of them does turn amber when booting up. Do you disable JTAG?
I also write a dirver module to enable AR9287 GPIO. This module depend on ath9k,but I have not found a better way to make sure this module load after ath9k(no modules.dep or modules.softdep in openwrt). Do you have any ideas? Are any developers monitoring this place? Will the attached patch be commited/reviewed (it fixes whitespace inconsistencies in )? To guotao945: But in your patch you leave only WNR2200GPIOLEDLAN.AMBER leds and you remove WNR2200GPIOLEDLAN.GREEN.
I think that both should should stay, at least for informational purposes (so that the pins are known for anyone needing them in the future). Regarding your question about module dependencies, this bug tracker is not the place to hold discussions, but I believe you are after /etc/modules.d and /etc/modules-boot.d/ (for example, see '/etc/modules.d/20-usb-core'). Hi, Is there any progress on this?
I have the same router (WNR2200) and USB does not seem to work. At least there are no sd. devices and /dev/ and I guess there is no power supplied to USB port. Using Barrier Breaker 14.07-rc3. I am not an expert but feel free to ask, if that helps to solve this issue.
I have installed the following relevant packages: block-mount, kmod-fs-ext4, kmod-fs-ntfs, kmod-scsi-core, kmod-scsi-generic, kmod-usb-core, kmod-usb-storage, kmod-usb2, samba36-server.