ARM: dts: uniphier: add GPIO hog definition
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Wed, 18 Oct 2017 04:24:36 +0000 (13:24 +0900)
committerMasahiro Yamada <yamada.masahiro@socionext.com>
Mon, 23 Oct 2017 17:09:01 +0000 (02:09 +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/arm/boot/dts/uniphier-ld4-ref.dts
arch/arm/boot/dts/uniphier-ld6b-ref.dts
arch/arm/boot/dts/uniphier-pro4-ref.dts
arch/arm/boot/dts/uniphier-sld8-ref.dts

index 148e7bb..0056852 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq1 {
+               gpio-hog;
+               gpios = <121 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index ec2a098..0e510a7 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq4 {
+               gpio-hog;
+               gpios = <124 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index 7316cc6..be99467 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq2 {
+               gpio-hog;
+               gpios = <122 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };
index 4ec48a1..1c0e707 100644 (file)
        status = "okay";
 };
 
+&gpio {
+       xirq0 {
+               gpio-hog;
+               gpios = <120 0>;
+               input;
+       };
+};
+
 &i2c0 {
        status = "okay";
 };