summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/ste-nomadik-s8815.dts
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2013-01-06 04:02:42 +0400
committerLinus Walleij <linus.walleij@linaro.org>2013-01-29 02:24:40 +0400
commit2ad6e39867cf026e668a4c566725c2c65dbde406 (patch)
treebeabfde792e10dd48dfc03d07998dc34ab4cc1c3 /arch/arm/boot/dts/ste-nomadik-s8815.dts
parent6010d40320f8827441414886c46a7dbc6460439a (diff)
downloadlinux-2ad6e39867cf026e668a4c566725c2c65dbde406.tar.xz
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>
Diffstat (limited to 'arch/arm/boot/dts/ste-nomadik-s8815.dts')
-rw-r--r--arch/arm/boot/dts/ste-nomadik-s8815.dts6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/ste-nomadik-s8815.dts b/arch/arm/boot/dts/ste-nomadik-s8815.dts
index 97b7d1df5aaa..cc777109f98f 100644
--- a/arch/arm/boot/dts/ste-nomadik-s8815.dts
+++ b/arch/arm/boot/dts/ste-nomadik-s8815.dts
@@ -16,5 +16,11 @@
/* Custom board node with GPIO pins to active etc */
usb-s8815 {
+ /* The S8815 is using this very GPIO pin for the SMSC91x IRQs */
+ ethernet-gpio {
+ gpios = <&gpio3 19 0x1>;
+ interrupts = <19 0x1>;
+ interrupt-parent = <&gpio3>;
+ };
};
};