summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/stm32mp157c-ed1.dts
diff options
context:
space:
mode:
authorValentin Caron <valentin.caron@foss.st.com>2023-03-28 18:37:20 +0300
committerAlexandre Torgue <alexandre.torgue@foss.st.com>2023-03-28 18:50:23 +0300
commit92fd4848a181e1d8c118106d222d01a5172325d0 (patch)
treea4bce803bcb4fc60ea98d2f0ec7d7e5e35e0cb24 /arch/arm/boot/dts/stm32mp157c-ed1.dts
parentabf52335762e7048e9fa5bc6f4c56a3e63b5bc80 (diff)
downloadlinux-92fd4848a181e1d8c118106d222d01a5172325d0.tar.xz
ARM: dts: stm32: clean uart aliases on stm32mp15xx-exx boards
Remove duplicates and clean uart aliases. Uart aliases and uart pins should be declared and associated to uart instance at the same time. Put also aliases node above chosen node as same as stm32mp157c-dk2.dts. Signed-off-by: Valentin Caron <valentin.caron@foss.st.com> Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
Diffstat (limited to 'arch/arm/boot/dts/stm32mp157c-ed1.dts')
-rw-r--r--arch/arm/boot/dts/stm32mp157c-ed1.dts8
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/arm/boot/dts/stm32mp157c-ed1.dts b/arch/arm/boot/dts/stm32mp157c-ed1.dts
index b1eb688a278a..2dfde6292668 100644
--- a/arch/arm/boot/dts/stm32mp157c-ed1.dts
+++ b/arch/arm/boot/dts/stm32mp157c-ed1.dts
@@ -16,6 +16,10 @@
model = "STMicroelectronics STM32MP157C eval daughter";
compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
+ aliases {
+ serial0 = &uart4;
+ };
+
chosen {
stdout-path = "serial0:115200n8";
};
@@ -72,10 +76,6 @@
};
};
- aliases {
- serial0 = &uart4;
- };
-
sd_switch: regulator-sd_switch {
compatible = "regulator-gpio";
regulator-name = "sd_switch";