summaryrefslogtreecommitdiff
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 07:24:37 +0300
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-10-23 20:10:47 +0300
commit15e85695e5009f6ba7aef05306d69f1ffc021df2 (patch)
treeca719e7de294cbd395e70bb2fe657b8663d5c87a /arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts
parent429f203eb7126461180b4d64acd4f650ec3db387 (diff)
downloadlinux-15e85695e5009f6ba7aef05306d69f1ffc021df2.tar.xz
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";
};