mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-28 05:24:47 +08:00
2cdce7a98b
This patch fixes a regression where serial is enabled by the first (board) DTSI, then disabled by the second (SoC) file. To enable serial and keep it enabled, we need to include the file which enables it last. Reported-by: LAVA [via Peter Griffin <peter.griffin@linaro.org>] Signed-off-by: Lee Jones <lee.jones@linaro.org> Signed-off-by: Maxime Coquelin <maxime.coquelin@st.com>
31 lines
676 B
Plaintext
31 lines
676 B
Plaintext
/*
|
|
* Copyright (C) 2014 STMicroelectronics (R&D) Limited.
|
|
* Author: Giuseppe Cavallaro <peppe.cavallaro@st.com>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
/dts-v1/;
|
|
#include "stih407.dtsi"
|
|
#include "stihxxx-b2120.dtsi"
|
|
/ {
|
|
model = "STiH407 B2120";
|
|
compatible = "st,stih407-b2120", "st,stih407";
|
|
|
|
chosen {
|
|
bootargs = "console=ttyAS0,115200 clk_ignore_unused";
|
|
linux,stdout-path = &sbc_serial0;
|
|
};
|
|
|
|
memory {
|
|
device_type = "memory";
|
|
reg = <0x40000000 0x80000000>;
|
|
};
|
|
|
|
aliases {
|
|
ttyAS0 = &sbc_serial0;
|
|
};
|
|
|
|
};
|