diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-18 00:24:37 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2017-10-23 13:10:47 -0400 |
commit | 15e85695e5009f6ba7aef05306d69f1ffc021df2 (patch) | |
tree | ca719e7de294cbd395e70bb2fe657b8663d5c87a | |
parent | 429f203eb7126461180b4d64acd4f650ec3db387 (diff) |
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>
-rw-r--r-- | arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | 8 | ||||
-rw-r--r-- | arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts | 8 |
2 files changed, 16 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts index 77f50fd04460..dd7193acc7df 100644 --- a/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts +++ b/arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts | |||
@@ -48,6 +48,14 @@ | |||
48 | status = "okay"; | 48 | status = "okay"; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | &gpio { | ||
52 | xirq0 { | ||
53 | gpio-hog; | ||
54 | gpios = <120 0>; | ||
55 | input; | ||
56 | }; | ||
57 | }; | ||
58 | |||
51 | &i2c0 { | 59 | &i2c0 { |
52 | status = "okay"; | 60 | status = "okay"; |
53 | }; | 61 | }; |
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 @@ | |||
48 | status = "okay"; | 48 | status = "okay"; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | &gpio { | ||
52 | xirq0 { | ||
53 | gpio-hog; | ||
54 | gpios = <120 0>; | ||
55 | input; | ||
56 | }; | ||
57 | }; | ||
58 | |||
51 | &i2c0 { | 59 | &i2c0 { |
52 | status = "okay"; | 60 | status = "okay"; |
53 | }; | 61 | }; |