[4/5] ARM: dts: stm32: add orange and blue leds on stm32746g-eval

Message ID 1523440025-18077-5-git-send-email-amelie.delaunay@st.com
State New
Headers show
Series
  • Introduce STMFX I2C GPIO expander
Related show

Commit Message

Amelie Delaunay April 11, 2018, 9:47 a.m.
Orange (LD2) and blue (LD4) leds on stm32746g-eval are connected on
STMFX gpio expander, offset 17 and 19.

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

Patch

diff --git a/arch/arm/boot/dts/stm32746g-eval.dts b/arch/arm/boot/dts/stm32746g-eval.dts
index bd9a33d..fd03f54 100644
--- a/arch/arm/boot/dts/stm32746g-eval.dts
+++ b/arch/arm/boot/dts/stm32746g-eval.dts
@@ -67,9 +67,15 @@ 
 			gpios = <&gpiof 10 1>;
 			linux,default-trigger = "heartbeat";
 		};
+		orange {
+			gpios = <&stmfxgpio 17 1>;
+		};
 		red {
 			gpios = <&gpiob 7 1>;
 		};
+		blue {
+			gpios = <&stmfxgpio 19 1>;
+		};
 	};
 
 	gpio_keys {