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

Commit 98c2663b authored by Amelie Delaunay's avatar Amelie Delaunay Committed by Alexandre Torgue
Browse files

ARM: dts: stm32: add STMFX support on stm32mp157c-ev1



This patch adds support for STMicroelectronics Multi-Function eXpander
(STMFX) on stm32mp157c-ev1. It is connected on i2c2.

Signed-off-by: default avatarAmelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: default avatarAlexandre Torgue <alexandre.torgue@st.com>
parent d1216af9
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
@@ -99,6 +99,23 @@
	i2c-scl-rising-time-ns = <185>;
	i2c-scl-falling-time-ns = <20>;
	status = "okay";

	stmfx: stmfx@42 {
		compatible = "st,stmfx-0300";
		reg = <0x42>;
		interrupts = <8 IRQ_TYPE_EDGE_RISING>;
		interrupt-parent = <&gpioi>;
		vdd-supply = <&v3v3>;

		stmfx_pinctrl: stmfx-pin-controller {
			compatible = "st,stmfx-0300-pinctrl";
			gpio-controller;
			#gpio-cells = <2>;
			interrupt-controller;
			#interrupt-cells = <2>;
			gpio-ranges = <&stmfx_pinctrl 0 0 24>;
		};
	};
};

&i2c5 {