OSDN Git Service

ARM: dts: pxa: fix gpio0 and gpio1 interrupts
authorRobert Jarzmik <robert.jarzmik@free.fr>
Mon, 26 Sep 2016 07:22:11 +0000 (09:22 +0200)
committerRobert Jarzmik <robert.jarzmik@free.fr>
Fri, 18 Nov 2016 16:09:44 +0000 (17:09 +0100)
Since gpio-pxa was redesigned to differenciate gpio0, gpio1 and the
gpio-mux interrupt as in the hardware IP, the device-tree description
should be amended so that interrupts from gpio0 and gpio1 can be mapped
to consumers.

This is especially true on lubbock and mainstone devices where gpio0 is
multiplexed on pxa_cplds for ethernet, sa1111, usb udc, and other
devices.

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
arch/arm/boot/dts/pxa2xx.dtsi

index 3ff077c..e4ebcde 100644 (file)
@@ -54,8 +54,8 @@
                        reg = <0x40e00000 0x10000>;
                        gpio-controller;
                        #gpio-cells = <0x2>;
-                       interrupts = <10>;
-                       interrupt-names = "gpio_mux";
+                       interrupts = <8>, <9>, <10>;
+                       interrupt-names = "gpio0", "gpio1", "gpio_mux";
                        interrupt-controller;
                        #interrupt-cells = <0x2>;
                        ranges;