diff options
author | Amelie Delaunay <amelie.delaunay@st.com> | 2019-05-10 10:49:54 +0300 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2019-05-21 10:55:40 +0300 |
commit | 98c2663b38047cb3751507d7e2a476a96a17105e (patch) | |
tree | f932acd45bcd25d1fab0a242012e11e518dc01ee /arch/arm/boot/dts/stm32mp157c-ev1.dts | |
parent | d1216af9968f5da90488b7e9839a6ecfff90aa1c (diff) | |
download | linux-98c2663b38047cb3751507d7e2a476a96a17105e.tar.xz |
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: Amelie Delaunay <amelie.delaunay@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ev1.dts')
-rw-r--r-- | arch/arm/boot/dts/stm32mp157c-ev1.dts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ev1.dts b/arch/arm/boot/dts/stm32mp157c-ev1.dts index b6aca40b9b90..36af18ba6a1a 100644 --- a/arch/arm/boot/dts/stm32mp157c-ev1.dts +++ b/arch/arm/boot/dts/stm32mp157c-ev1.dts @@ -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 { |