Skip to content

Commit

Permalink
ARM: dts: stm32: add STMFX support on stm32mp157c-ev1
Browse files Browse the repository at this point in the history
This patch adds support for STMicroelectronics Multi-Function eXpander
(STMFX) on stm32mp157c-ev1. It is connected on i2c2.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
  • Loading branch information
Amelie Delaunay authored and Alexandre Torgue committed May 21, 2019
1 parent d1216af commit 98c2663
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions arch/arm/boot/dts/stm32mp157c-ev1.dts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 98c2663

Please sign in to comment.