ARM: dts: at91: sama5d2_xplained: Add alias for DBGU
authorTudor Ambarus <tudor.ambarus@microchip.com>
Thu, 14 May 2020 05:03:16 +0000 (05:03 +0000)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 15 May 2020 14:50:34 +0000 (16:50 +0200)
The aliases should be defined in the board dts rather than in the
SoC dtsi. Don't rely on the aliases defined in the SoC dtsi and define
the alias for the Serial DBGU in the board dts file. sama5d2 boards use
the "serial0" alias for the Serial DBGU, do the same for sama5d2_xplained.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Link: https://lore.kernel.org/r/20200514050301.147442-15-tudor.ambarus@microchip.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
arch/arm/boot/dts/at91-sama5d2_xplained.dts

index da4442715ea53c08a97b6d514280a519eb2a5683..01ffbddd4ab88cbe0384108099ed8183b66d5efb 100644 (file)
        model = "Atmel SAMA5D2 Xplained";
        compatible = "atmel,sama5d2-xplained", "atmel,sama5d2", "atmel,sama5";
 
+       aliases {
+               serial0 = &uart1;       /* DBGU */
+       };
+
        chosen {
                stdout-path = "serial0:115200n8";
        };