diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-18 06:24:36 +0200 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-23 19:09:01 +0200 |
commit | 346d64d380672f106c6ab8a4911d447816131b62 (patch) | |
tree | b82746ae694fabd6b1dece1fbf8262ae0540c836 /arch/arm/boot/dts/uniphier-pro4-ref.dts | |
parent | ARM: dts: uniphier: route on-board device IRQ to GPIO controller (diff) | |
download | linux-346d64d380672f106c6ab8a4911d447816131b62.tar.xz linux-346d64d380672f106c6ab8a4911d447816131b62.zip |
ARM: 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/arm/boot/dts/uniphier-pro4-ref.dts')
-rw-r--r-- | arch/arm/boot/dts/uniphier-pro4-ref.dts | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/uniphier-pro4-ref.dts b/arch/arm/boot/dts/uniphier-pro4-ref.dts index 7316cc6faf95..be99467ac6bb 100644 --- a/arch/arm/boot/dts/uniphier-pro4-ref.dts +++ b/arch/arm/boot/dts/uniphier-pro4-ref.dts @@ -55,6 +55,14 @@ status = "okay"; }; +&gpio { + xirq2 { + gpio-hog; + gpios = <122 0>; + input; + }; +}; + &i2c0 { status = "okay"; }; |