diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-18 06:24:37 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-23 19:10:47 +0200 |
commit | 15e85695e5009f6ba7aef05306d69f1ffc021df2 (patch) | |
tree | ca719e7de294cbd395e70bb2fe657b8663d5c87a /arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts | |
parent | arm64: dts: uniphier: route on-board device IRQ to GPIO controller (diff) | |
download | linux-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.dts | 8 |
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"; }; |