arm64: dts: marvell: add UART aliases and define stdout-path
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 26 Apr 2016 07:58:32 +0000 (09:58 +0200)
committerGregory CLEMENT <gregory.clement@free-electrons.com>
Tue, 26 Apr 2016 13:07:56 +0000 (15:07 +0200)
This commit adds the necessary UART aliases to the main Armada 7K/8K
.dtsi file, and uses them to define the /chosen/stdout-path property
on the Armada 7040 DB board.

Suggested-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
arch/arm64/boot/dts/marvell/armada-7040-db.dts
arch/arm64/boot/dts/marvell/armada-ap806.dtsi

index ee57783..4b01744 100644 (file)
        compatible = "marvell,armada7040-db", "marvell,armada7040",
                     "marvell,armada-ap806-quad", "marvell,armada-ap806";
 
+       chosen {
+               stdout-path = "serial0:115200n8";
+       };
+
        memory@00000000 {
                device_type = "memory";
                reg = <0x0 0x0 0x0 0x80000000>;
index ca42c36..9e2c1f9 100644 (file)
        #address-cells = <2>;
        #size-cells = <2>;
 
+       aliases {
+               serial0 = &uart0;
+               serial1 = &uart1;
+       };
+
        psci {
                compatible = "arm,psci-0.2";
                method = "smc";