]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: meson8: enable the GPIO interrupt controller
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 29 Oct 2017 23:05:22 +0000 (00:05 +0100)
committerKevin Hilman <khilman@baylibre.com>
Mon, 11 Dec 2017 23:58:46 +0000 (15:58 -0800)
This enables the GPIO interrupt controller for the Meson8 SoCs.
Interrupt support on the GPIOs can be used by the MMC framework to
detect when an SD card is inserted/removed or by the input framework to
detect button presses.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm/boot/dts/meson8.dtsi

index 8b4f5b367590ace87c03c9b22740be03c9dd2781..d2e3eeaa1a5fe3b292c22af440fdd752fb3b07e9 100644 (file)
@@ -286,6 +286,11 @@ &ethmac {
        clock-names = "stmmaceth";
 };
 
+&gpio_intc {
+       compatible = "amlogic,meson8-gpio-intc", "amlogic,meson-gpio-intc";
+       status = "okay";
+};
+
 &hwrng {
        compatible = "amlogic,meson8-rng", "amlogic,meson-rng";
        clocks = <&clkc CLKID_RNG0>;