summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorErwan Le Ray <erwan.leray@st.com>2020-06-18 15:06:51 +0200
committerAlexandre Torgue <alexandre.torgue@st.com>2020-07-21 09:54:19 +0200
commitc622308f8adf3e51460a2a5fe543602ddb5cbf38 (patch)
tree74a93deb2a6112853a4f5a951cc769381d67897d /arch/arm
parentf74c7be7ce431e1b94d05698b1786b4859c8bba6 (diff)
ARM: dts: stm32: add usart2 node to stm32mp157c-dk2
Adds the usart2 node to stm32mp157c-dk2 board. usart2 pins are connected to Bluetooth component. usart2 is disabled by default. Signed-off-by: Erwan Le Ray <erwan.leray@st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-dk2.dts9
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts
index ffbae4a8753d..045636555ddd 100644
--- a/arch/arm/boot/dts/stm32mp157c-dk2.dts
+++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts
@@ -21,6 +21,7 @@
serial0 = &uart4;
serial1 = &usart3;
serial2 = &uart7;
+ serial3 = &usart2;
};
chosen {
@@ -86,3 +87,11 @@
};
};
};
+
+&usart2 {
+ pinctrl-names = "default", "sleep", "idle";
+ pinctrl-0 = <&usart2_pins_c>;
+ pinctrl-1 = <&usart2_sleep_pins_c>;
+ pinctrl-2 = <&usart2_idle_pins_c>;
+ status = "disabled";
+};