ARM: nomadik: convert SMSC91x ethernet to device tree

This converts the SMSC91x ethernet controller to use device
tree. The existing solution from the board file, to request the
GPIO triggering the ethernet IRQ from the board file is kept
for the time being, but the GPIO number assignment is moved
over to the device tree.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
This commit is contained in:
Linus Walleij
2013-01-06 01:02:42 +01:00
parent 6010d40320
commit 2ad6e39867
5 changed files with 59 additions and 0 deletions

View File

@@ -16,4 +16,9 @@ Required node: usb-s8815
Example:
usb-s8815 {
ethernet-gpio {
gpios = <&gpio3 19 0x1>;
interrupts = <19 0x1>;
interrupt-parent = <&gpio3>;
};
};