diff options
author | Jonas Gorski <jonas.gorski@gmail.com> | 2016-12-18 13:54:17 +0100 |
---|---|---|
committer | Jonas Gorski <jonas.gorski@gmail.com> | 2017-02-09 14:30:43 +0100 |
commit | dd7079e79a94fdde2e0ff4c1d6f428f3b115211c (patch) | |
tree | 63537ed0cd61d71a8983ff564104220110cd8906 /target/linux/brcm63xx/dts/bcm6328.dtsi | |
parent | 94bbd1f057c5fdccc3a6ef80b1c533064220a2ff (diff) | |
download | upstream-dd7079e79a94fdde2e0ff4c1d6f428f3b115211c.tar.gz upstream-dd7079e79a94fdde2e0ff4c1d6f428f3b115211c.tar.bz2 upstream-dd7079e79a94fdde2e0ff4c1d6f428f3b115211c.zip |
brcm63xx: implement gpio_to_irq for bcm63xx-gpio
Add support for mapping some GPIO lines to IRQs. GPIO to IRQ mappings
were found out through experimentation, helped by having the GPIO as
output still toggling the IRQ input.
Based-on: http://patchwork.ozlabs.org/patch/660534/
Signed-off-by: Jonas Gorski <jonas.gorski@gmail.com>
Diffstat (limited to 'target/linux/brcm63xx/dts/bcm6328.dtsi')
-rw-r--r-- | target/linux/brcm63xx/dts/bcm6328.dtsi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/brcm63xx/dts/bcm6328.dtsi b/target/linux/brcm63xx/dts/bcm6328.dtsi index b49958a7b6..5eec6dec3a 100644 --- a/target/linux/brcm63xx/dts/bcm6328.dtsi +++ b/target/linux/brcm63xx/dts/bcm6328.dtsi @@ -62,6 +62,11 @@ gpio-controller; #gpio-cells = <2>; + + interrupt-parent = <&ext_intc>; + interrupts = <3 0>, <2 0>, <0 0>, <1 0>; + interrupt-names = "gpio12", "gpio15", + "gpio23", "gpio24"; }; }; }; |