]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commitdiff
ARM: STi: DT: STiH407: Add i2c3 alternate pin configs
authorPeter Griffin <peter.griffin@linaro.org>
Mon, 28 Sep 2015 12:37:00 +0000 (14:37 +0200)
committerMaxime Coquelin <maxime.coquelin@st.com>
Wed, 30 Sep 2015 08:04:01 +0000 (10:04 +0200)
i2c3 controller can use several sets of pins depending
on board design. This patch adds the missing alternate
pinconfigs.

Signed-off-by: Seraphin Bonnaffe <seraphin.bonnaffe@st.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Acked-by: Patrice Chotard <patrice.chotard@st.com>
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
arch/arm/boot/dts/stih407-pinctrl.dtsi

index 30db4538bba808498a6caac73ba79ff0ce05a1e8..135920ef2ab17a0d4014a4c3ccfd19601c790c2b 100644 (file)
                        };
 
                        i2c3 {
-                               pinctrl_i2c3_default: i2c3-default {
+                               pinctrl_i2c3_default: i2c3-alt1-0 {
                                        st,pins {
                                                sda = <&pio18 6 ALT1 BIDIR>;
                                                scl = <&pio18 5 ALT1 BIDIR>;
                                        };
                                };
+                               pinctrl_i2c3_alt1_1: i2c3-alt1-1 {
+                                       st,pins {
+                                               sda = <&pio17 7 ALT1 BIDIR>;
+                                               scl = <&pio17 6 ALT1 BIDIR>;
+                                       };
+                               };
+                               pinctrl_i2c3_alt3_0: i2c3-alt3-0 {
+                                       st,pins {
+                                               sda = <&pio13 6 ALT3 BIDIR>;
+                                               scl = <&pio13 5 ALT3 BIDIR>;
+                                       };
+                               };
                        };
 
                        spi0 {