diff mbox series

[01/26] arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander

Message ID 6fffb98645e67b5203e58d5acdfc460eeda51a06.1554281697.git.horms+renesas@verge.net.au (mailing list archive)
State Accepted
Commit 6fffb98645e67b5203e58d5acdfc460eeda51a06
Delegated to: Simon Horman
Headers show
Series [01/26] arm64: dts: renesas: r8a77990: ebisu: Add GPIO expander | expand

Commit Message

Simon Horman April 3, 2019, 10:53 a.m. UTC
From: Geert Uytterhoeven <geert+renesas@glider.be>

Describe the ON Semiconductor PCA9654 I/O expander on the first I2C
bus, which provides 8 extra GPIOs.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
---
 arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts | 9 +++++++++
 1 file changed, 9 insertions(+)
diff mbox series

Patch

diff --git a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
index 144c0820cf60..4d14926b20f7 100644
--- a/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
+++ b/arch/arm64/boot/dts/renesas/r8a77990-ebisu.dts
@@ -337,6 +337,15 @@ 
 &i2c0 {
 	status = "okay";
 
+	io_expander: gpio@20 {
+		compatible = "onnn,pca9654";
+		reg = <0x20>;
+		gpio-controller;
+		#gpio-cells = <2>;
+		interrupt-parent = <&gpio2>;
+		interrupts = <22 IRQ_TYPE_LEVEL_LOW>;
+	};
+
 	hdmi-encoder@39 {
 		compatible = "adi,adv7511w";
 		reg = <0x39>;