lkml.org 
[lkml]   [2018]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 4/6] ARM: dts: stm32: add MFX support on I2C1 on stm32746g-eval
Date
MFX is used as gpio expander on stm32746g-eval.

Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com>
---
arch/arm/boot/dts/stm32746g-eval.dts | 17 +++++++++++++++++
1 file changed, 17 insertions(+)

diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index e74ae59..99739f7 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -128,6 +128,23 @@
i2c-scl-rising-time-ns = <185>;
i2c-scl-falling-time-ns = <20>;
status = "okay";
+
+ mfx: mfx@42 {
+ compatible = "st,mfx";
+ reg = <0x42>;
+ interrupts = <8 1>;
+ interrupt-parent = <&gpioi>;
+ interrupt-controller;
+ #interrupt-cells = <1>;
+
+ mfxgpio: mfx_gpio {
+ compatible = "st,mfx-gpio";
+ interrupts = <0>;
+ interrupt-parent = <&mfx>;
+ gpio-controller;
+ #gpio-cells = <2>;
+ };
+ };
};

&mac {
--
2.7.4
\
 
 \ /
  Last update: 2018-02-08 15:30    [W:0.218 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site