Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b843299e authored by Utkarsh Saxena's avatar Utkarsh Saxena Committed by Gerrit - the friendly Code Review server
Browse files

ARM: dts: msm: Enable io-expander sx1509q on APQ8017



APQ8017 supports ethernet over SPI which requires
io-expander sx1509q to be present. Make changes to
enable sx1509q device node.

Change-Id: I04d0c37eb35897e803b6bc95e9101fad5c8a7430
Acked-by: default avatarZakir Syed <zhossain@qti.qualcomm.com>
Signed-off-by: default avatarVijay Navnath Kamble <vkambl@codeaurora.org>
Signed-off-by: default avatarUtkarsh Saxena <usaxena@codeaurora.org>
parent 815b0200
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -245,6 +245,23 @@
	};
};

/* SX1509q i/o expander */
&i2c_2 {
	status = "ok";
	ioexp2_gpios: sx150x@3e {
		status = "ok";
		compatible = "sx1509q";
		#gpio-cells = <2>;
		gpio-controller;
		reg = <0x3E>; /* I2C Client Addr */
		sx150x,pullup_ena = <0x0>;
		sx150x,pulldn_ena = <0x0>;
		sx150x,float_ena = <0x00>;
		sx150x,polarity = <0x0>;
		sx150x,gpio_base= <300>;
	};
};

/* SX1508q i/o expander */
&i2c_4 {
	status = "ok";