[linux-yocto] [PATCH 1/5] arch: arm64: dts: Set gpio5-pin9 as input by default

Meng.Li at windriver.com Meng.Li at windriver.com
Wed Oct 23 23:01:59 PDT 2019


From: Limeng <Meng.Li at windriver.com>

The gpio5-pin9 is used as the interrupt pin of i2c external
gpio chip, so set this pin as input by default.

Signed-off-by: Meng Li <Meng.Li at windriver.com>
---
 arch/arm64/boot/dts/renesas/ulcb-kf.dtsi | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
index 202177706cde..8986a7e6e099 100644
--- a/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
+++ b/arch/arm64/boot/dts/renesas/ulcb-kf.dtsi
@@ -205,6 +205,15 @@
 	};
 };
 
+&gpio5 {
+	gpio_exp_77_int {
+		gpio-hog;
+		gpios = <9 0>;
+		input;
+		line-name = "gpio-exp-77-int";
+	};
+};
+
 &i2c4 {
 	i2cswitch4: i2c-switch at 71 {
 		compatible = "nxp,pca9548";
-- 
2.17.1



More information about the linux-yocto mailing list