arm64: dts: rockchip: default serial for Firefly-RK3399
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 30 Sep 2017 04:06:40 +0000 (06:06 +0200)
committerHeiko Stuebner <heiko@sntech.de>
Sat, 14 Oct 2017 19:19:01 +0000 (21:19 +0200)
The Firefly-RK3399 uses serial2 with 1,500,000 baud by default
for communication in U-Boot and in the vendor provided distros.

So let us set the same default in the Linux kernel.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm64/boot/dts/rockchip/rk3399-firefly.dts

index f6fbcc0..b2a7a55 100644 (file)
        model = "Firefly-RK3399 Board";
        compatible = "firefly,firefly-rk3399", "rockchip,rk3399";
 
+       chosen {
+               stdout-path = "serial2:1500000n8";
+       };
+
        backlight: backlight {
                compatible = "pwm-backlight";
                enable-gpios = <&gpio1 RK_PB5 GPIO_ACTIVE_HIGH>;