diff options
author | Erwan Le Ray <erwan.leray@st.com> | 2020-06-18 15:06:50 +0200 |
---|---|---|
committer | Alexandre Torgue <alexandre.torgue@st.com> | 2020-07-21 09:54:19 +0200 |
commit | f74c7be7ce431e1b94d05698b1786b4859c8bba6 (patch) | |
tree | ce82d0601c57b6ec0430cb7d181795e3f152a2a5 | |
parent | ARM: dts: stm32: add usart3 node to stm32mp157c-ev1 (diff) | |
download | linux-f74c7be7ce431e1b94d05698b1786b4859c8bba6.tar.xz linux-f74c7be7ce431e1b94d05698b1786b4859c8bba6.zip |
ARM: dts: stm32: add uart7 support to stm32mp15xx-dkx boards
Adds uart7 node to stm32mp15xx-dkx and uart7 alias to stm32mp157a-dk1 and
stm32mp157c-dk2 boards. uart7 pins are connected to Arduino connector.
uart7 is disabled by default.
Signed-off-by: Erwan Le Ray <erwan.leray@st.com>
Signed-off-by: Alexandre Torgue <alexandre.torgue@st.com>
-rw-r--r-- | arch/arm/boot/dts/stm32mp157a-dk1.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/stm32mp157c-dk2.dts | 1 | ||||
-rw-r--r-- | arch/arm/boot/dts/stm32mp15xx-dkx.dtsi | 8 |
3 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/stm32mp157a-dk1.dts b/arch/arm/boot/dts/stm32mp157a-dk1.dts index 65ee61b7667a..4c8be9c8eb20 100644 --- a/arch/arm/boot/dts/stm32mp157a-dk1.dts +++ b/arch/arm/boot/dts/stm32mp157a-dk1.dts @@ -19,6 +19,7 @@ ethernet0 = ðernet0; serial0 = &uart4; serial1 = &usart3; + serial2 = &uart7; }; chosen { diff --git a/arch/arm/boot/dts/stm32mp157c-dk2.dts b/arch/arm/boot/dts/stm32mp157c-dk2.dts index fb690a817e28..ffbae4a8753d 100644 --- a/arch/arm/boot/dts/stm32mp157c-dk2.dts +++ b/arch/arm/boot/dts/stm32mp157c-dk2.dts @@ -20,6 +20,7 @@ ethernet0 = ðernet0; serial0 = &uart4; serial1 = &usart3; + serial2 = &uart7; }; chosen { diff --git a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi index c562e181c2b1..493f3b1112e1 100644 --- a/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi +++ b/arch/arm/boot/dts/stm32mp15xx-dkx.dtsi @@ -591,6 +591,14 @@ status = "okay"; }; +&uart7 { + pinctrl-names = "default", "sleep", "idle"; + pinctrl-0 = <&uart7_pins_c>; + pinctrl-1 = <&uart7_sleep_pins_c>; + pinctrl-2 = <&uart7_idle_pins_c>; + status = "disabled"; +}; + &usart3 { pinctrl-names = "default", "sleep", "idle"; pinctrl-0 = <&usart3_pins_c>; |