diff options
author | Jon Hunter <jon-hunter@ti.com> | 2013-04-10 13:31:07 -0400 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-05-08 18:03:35 -0400 |
commit | e60f18d6bca2753c12f0b3229a250d9a55954d41 (patch) | |
tree | e10676e55f9bfc0dd986b70761afb644d59f879b /arch/arm/boot/dts/omap4-sdp.dts | |
parent | bb9055b2744ada735a2fe555c4196ad39a83ef2a (diff) |
ARM: dts: OMAP4: Fix ethernet IRQ for OMAP4 boards
Commit ff5c9059 (ARM: dts: OMAP3+: Correct gpio #interrupts-cells
property) updated the number of interrupt cells required for configuring
gpios as interrupts for other devices (such as ethernet controllers).
This update allowed the interrupt type (edge, level, etc) to be
configured via device-tree (as described in the
Documentation/devicetree/bindings/gpio/gpio-omap.txt).
This broke ethernet support on the OMAP4 SDP board that defines a gpio
as the ethernet IRQ because the interrupt type (level, edge, etc) was
not getting configured correctly. This board use the ks8851 ethernet
chip which has an active low interrupt. Fix this by defining the gpio
interrupt as active-low in the device-tree binding.
Please note that the OMAP4-VAR-SOM also uses the same ethernet
controller and it is expected it will have the same problem. So the
same fix is also applied to this board.
Signed-off-by: Jon Hunter <jon-hunter@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/boot/dts/omap4-sdp.dts')
-rw-r--r-- | arch/arm/boot/dts/omap4-sdp.dts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/boot/dts/omap4-sdp.dts b/arch/arm/boot/dts/omap4-sdp.dts index c387bdc1b1d1..25cbe43fa08a 100644 --- a/arch/arm/boot/dts/omap4-sdp.dts +++ b/arch/arm/boot/dts/omap4-sdp.dts | |||
@@ -363,7 +363,7 @@ | |||
363 | spi-max-frequency = <24000000>; | 363 | spi-max-frequency = <24000000>; |
364 | reg = <0>; | 364 | reg = <0>; |
365 | interrupt-parent = <&gpio2>; | 365 | interrupt-parent = <&gpio2>; |
366 | interrupts = <2>; /* gpio line 34 */ | 366 | interrupts = <2 8>; /* gpio line 34, low triggered */ |
367 | vdd-supply = <&vdd_eth>; | 367 | vdd-supply = <&vdd_eth>; |
368 | }; | 368 | }; |
369 | }; | 369 | }; |