]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: dts: stm32: phyboard-sargas: Move aliases from dts to dtsi
authorChristophe Parant <c.parant@phytec.fr>
Wed, 10 Dec 2025 10:16:08 +0000 (11:16 +0100)
committerAlexandre Torgue <alexandre.torgue@foss.st.com>
Fri, 6 Mar 2026 09:39:26 +0000 (10:39 +0100)
aliases are common to every phyboard-sargas version. So move it to
the common phyboard dtsi file.

Signed-off-by: Christophe Parant <c.parant@phytec.fr>
Link: https://lore.kernel.org/r/20251210101611.27008-9-c.parant@phytec.fr
Signed-off-by: Alexandre Torgue <alexandre.torgue@foss.st.com>
arch/arm/boot/dts/st/stm32mp157c-phyboard-sargas-rdk.dts
arch/arm/boot/dts/st/stm32mp15xx-phyboard-sargas.dtsi

index 48adc3462958d84e23935a281d961e2db45c395d..f7c02a3813049bc83f1f0dd3bc61e59dd21af524 100644 (file)
        model = "PHYTEC phyBOARD-Sargas STM32MP157C";
        compatible = "phytec,phycore-stm32mp1-3",
                     "phytec,phycore-stm32mp157c-som", "st,stm32mp157";
-
-       aliases {
-               mmc0 = &sdmmc1;
-               mmc1 = &sdmmc2;
-               mmc2 = &sdmmc3;
-               serial0 = &uart4;
-               serial1 = &usart3;
-               serial2 = &usart1;
-       };
 };
 
 &cryp1 {
index 04e29c90085dd207a38272864166ee0e6104cb1c..e9266aeb25d04fdb210475d057f829d86c65c410 100644 (file)
 #include <dt-bindings/leds/leds-pca9532.h>
 
 / {
+       aliases {
+               mmc0 = &sdmmc1;
+               mmc1 = &sdmmc2;
+               mmc2 = &sdmmc3;
+               serial0 = &uart4;
+               serial1 = &usart3;
+               serial2 = &usart1;
+       };
+
        chosen {
                stdout-path = "serial0:115200n8";
        };