[PATCH] powerpc:dts:p2041rdb: enable gpio-expander

Nora Björklund nora.bjorklund at enea.com
Mon Mar 21 21:48:51 AEDT 2016


Enable the gpio-expander pca9672 on p2041rdb. The expander
has been present on the p2041rdb all along, however not in
the device tree.

Signed-off-by: Nora Björklund <nora.bjorklund at enea.com>
---
 arch/powerpc/boot/dts/fsl/p2041rdb.dts | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/arch/powerpc/boot/dts/fsl/p2041rdb.dts b/arch/powerpc/boot/dts/fsl/p2041rdb.dts
index e9bd894..b1ee561 100644
--- a/arch/powerpc/boot/dts/fsl/p2041rdb.dts
+++ b/arch/powerpc/boot/dts/fsl/p2041rdb.dts
@@ -134,6 +134,13 @@
 			};
 		};
 
+		i2c at 119100 {
+			gpio at 22 {
+				compatible = "pcf8575";
+				reg = <0x22>;
+			};
+		};
+
 		usb1: usb at 211000 {
 			dr_mode = "host";
 		};
-- 
1.9.1



More information about the Linuxppc-dev mailing list