brcm63xx: implement gpio_to_irq for bcm63xx-gpio
[openwrt/openwrt.git] / target / linux / brcm63xx / dts / bcm6368.dtsi
index 52bcec4466edafd087807a179f2480492678d960..59ef41af47a5fe01df4d6ad67e1c9b4b06783d7b 100644 (file)
                        #gpio-cells = <2>;
 
                        ngpios = <6>;
+
+                       interrupts-extended = <&ext_intc1 0 0>,
+                                             <&ext_intc1 1 0>,
+                                             <&ext_intc0 0 0>,
+                                             <&ext_intc0 1 0>,
+                                             <&ext_intc0 2 0>,
+                                             <&ext_intc0 3 0>;
+                       interrupt-names = "gpio0", "gpio1", "gpio2", "gpio3",
+                                         "gpio4", "gpio5";
                };
 
                gpio0: gpio-controller@10000084 {