ARM: dts: rockchip: add bootargs setting the correct serial console

A patch from »ARM: multi_v7_defconfig: Enable ARM_ATAG_DTB_COMPAT_CMDLINE_EXTEND« in state Obsolete for linux-kernel

From: Heiko Stuebner <heiko@...> Date: Mon, 4 Aug 2014 14:58:47 +0200

Commit-Message

Uart2 seems to be designated debug uart for all Rockchip platforms. On all rk30xx and rk31xx boards I've seen so far, this uart was used for the console and the rk3288 TRM even describes it as debug uart. Thus add it to the core SoC dtsi files to not duplicate the same information on every board. Signed-off-by: Heiko Stuebner <heiko@...>

Patch-Comment

This makes a multi_v7_defconfig-based kernel start sucessfully on my rk3188-radxarock and rk3288-evb arch/arm/boot/dts/rk3288.dtsi | 4 ++++ arch/arm/boot/dts/rk3xxx.dtsi | 4 ++++ 2 files changed, 8 insertions(+)

Statistics

  • 8 lines added
  • 0 lines removed

Changes

------------------------ arch/arm/boot/dts/rk3288.dtsi -------------------------
index e7cb008..3950bad 100644
@@ -36,6 +36,10 @@
serial4 = &uart4;
};
+ chosen {
+ bootargs = "console=ttyS2,115200";
+ };
+
cpus {
#address-cells = <1>;
#size-cells = <0>;
------------------------ arch/arm/boot/dts/rk3xxx.dtsi -------------------------
index 8caf85d..9eeb6cb 100644
@@ -28,6 +28,10 @@
i2c4 = &i2c4;
};
+ chosen {
+ bootargs = "console=ttyS2,115200";
+ };
+
xin24m: oscillator {
compatible = "fixed-clock";
clock-frequency = <24000000>;
 
 

Recent Patches

About Us

Sed lacus. Donec lectus. Nullam pretium nibh ut turpis. Nam bibendum. In nulla tortor, elementum vel, tempor at, varius non, purus. Mauris vitae nisl nec metus placerat consectetuer.

Read More...