diff mbox series

[v1,1/2] ARM: dts: stm32: Add I2C 1 and 4 config for stm32mp157a-dk1

Message ID 1553863438-6720-2-git-send-email-yannick.fertre@st.com (mailing list archive)
State New, archived
Headers show
Series enable display on stm32mp157c-dk1 board | expand

Commit Message

Yannick FERTRE March 29, 2019, 12:43 p.m. UTC
Append I2C 1 and 4 instances for stm32mp157c-dk1

Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com>
Signed-off-by: Yannick Fertré <yannick.fertre@st.com>
---
 arch/arm/boot/dts/stm32mp157a-dk1.dts | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

--
2.7.4
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts
index 1b1886d..696a533 100644
--- a/arch/arm/boot/dts/stm32mp157a-dk1.dts
+++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts
@@ -65,6 +65,28 @@ 
 	};
 };

+&i2c1 {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&i2c1_pins_a>;
+	pinctrl-1 = <&i2c1_pins_sleep_a>;
+	i2c-scl-rising-time-ns = <100>;
+	i2c-scl-falling-time-ns = <7>;
+	status = "okay";
+	/delete-property/dmas;
+	/delete-property/dma-names;
+};
+
+&i2c4 {
+	pinctrl-names = "default", "sleep";
+	pinctrl-0 = <&i2c4_pins_a>;
+	pinctrl-1 = <&i2c4_pins_sleep_a>;
+	i2c-scl-rising-time-ns = <185>;
+	i2c-scl-falling-time-ns = <20>;
+	status = "okay";
+	/delete-property/dmas;
+	/delete-property/dma-names;
+};
+
 &ipcc {
 	status = "okay";
 };