From ade121dc4d44ee5cfae1fd652e925ddb11cfdf33 Mon Sep 17 00:00:00 2001 From: Erwan Gouriou Date: Tue, 17 Oct 2017 10:49:48 +0200 Subject: [PATCH] dts: add i2c2 to disco_l475_iot1 On disco_l475_iot board, i2c2 is used as sensor bus. Provide it on l4 dtsi file. Signed-off-by: Erwan Gouriou --- dts/arm/st/stm32l4.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/dts/arm/st/stm32l4.dtsi b/dts/arm/st/stm32l4.dtsi index 641eb7272c3..bd6f213827f 100644 --- a/dts/arm/st/stm32l4.dtsi +++ b/dts/arm/st/stm32l4.dtsi @@ -90,6 +90,18 @@ status = "disabled"; label= "I2C_1"; }; + + i2c2: i2c@40005800 { + compatible = "st,stm32-i2c-v2"; + clock-frequency = ; + #address-cells = <1>; + #size-cells = <0>; + reg = <0x40005800 0x400>; + interrupts = <33 0>, <34 0>; + interrupt-names = "event", "error"; + status = "disabled"; + label= "I2C_2"; + }; }; };