arm64: dts: uniphier: add GPIO hog definition
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 18 Oct 2017 04:24:37 +0000 (13:24 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Oct 2017 17:10:47 +0000 (02:10 +0900)
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>
arch/arm64/boot/dts/socionext/uniphier-ld11-ref.dts
arch/arm64/boot/dts/socionext/uniphier-ld20-ref.dts

index 77f50fd..dd7193a 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq0 {
+               gpio-hog;
+               gpios = <120 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index 1f55fe1..d99e373 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq0 {
+               gpio-hog;
+               gpios = <120 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };