summaryrefslogtreecommitdiffstats
path: root/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-18 06:24:37 +0200
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-23 19:10:47 +0200
commit15e85695e5009f6ba7aef05306d69f1ffc021df2 (patch)
treeca719e7de294cbd395e70bb2fe657b8663d5c87a /arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
parentarm64: dts: uniphier: route on-board device IRQ to GPIO controller (diff)
downloadlinux-15e85695e5009f6ba7aef05306d69f1ffc021df2.tar.xz
linux-15e85695e5009f6ba7aef05306d69f1ffc021df2.zip
arm64: dts: uniphier: add GPIO hog definition
Interrupt lines from on-board devices are connected to the GPIO controller. Add GPIO hogging so that the corresponding GPIO line is automatically requested. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts')
-rw-r--r--arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
index 1f55fe19a50b..d99e3731358c 100644
--- a/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
+++ b/arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
@@ -48,6 +48,14 @@
status = "okay";
};
+&gpio {
+ xirq0 {
+ gpio-hog;
+ gpios = <120 0>;
+ input;
+ };
+};
+
&i2c0 {
status = "okay";
};