mirror of
https://github.com/torvalds/linux.git
synced 2024-12-25 04:11:49 +00:00
7d2911c438
With legacy booting, the platform init code was taking care of the configuring of GPIOs. With device tree based booting, things may or may not work depending what bootloader has configured or if the legacy platform code gets called. Let's add support for the pwrdn and reset GPIOs to the smc91x driver to fix the issues of smc91x not working properly when booted in device tree mode. And let's change n900 to use these settings as some versions of the bootloader do not configure things properly causing errors. Reported-by: Kevin Hilman <khilman@linaro.org> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: David S. Miller <davem@davemloft.net>
16 lines
563 B
Plaintext
16 lines
563 B
Plaintext
SMSC LAN91c111 Ethernet mac
|
|
|
|
Required properties:
|
|
- compatible = "smsc,lan91c111";
|
|
- reg : physical address and size of registers
|
|
- interrupts : interrupt connection
|
|
|
|
Optional properties:
|
|
- phy-device : see ethernet.txt file in the same directory
|
|
- reg-io-width : Mask of sizes (in bytes) of the IO accesses that
|
|
are supported on the device. Valid value for SMSC LAN91c111 are
|
|
1, 2 or 4. If it's omitted or invalid, the size would be 2 meaning
|
|
16-bit access only.
|
|
- power-gpios: GPIO to control the PWRDWN pin
|
|
- reset-gpios: GPIO to control the RESET pin
|