diff mbox series

[1/4] ARM: dts: qcom: ipq4018-ap120c-ac: setup serial console

Message ID 20230214161211.306462-1-robert.marko@sartura.hr (mailing list archive)
State Accepted
Commit 131731c44f2cea44135e93bfb0a2920829910625
Headers show
Series [1/4] ARM: dts: qcom: ipq4018-ap120c-ac: setup serial console | expand

Commit Message

Robert Marko Feb. 14, 2023, 4:12 p.m. UTC
Add the required alias and stdout property so that kernel can setup
the console based off DTS and not have to set it in the cmdline.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
---
 arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 8 ++++++++
 1 file changed, 8 insertions(+)

Comments

Konrad Dybcio Feb. 16, 2023, 10:45 a.m. UTC | #1
On 14.02.2023 17:12, Robert Marko wrote:
> Add the required alias and stdout property so that kernel can setup
> the console based off DTS and not have to set it in the cmdline.
> 
> Signed-off-by: Robert Marko <robert.marko@sartura.hr>
> ---
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>

Konrad
>  arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi | 8 ++++++++
>  1 file changed, 8 insertions(+)
> 
> diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
> index a5a6f3ebb2749..38efd45433da5 100644
> --- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
> +++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
> @@ -8,6 +8,14 @@ / {
>  	model = "ALFA Network AP120C-AC";
>  	compatible = "alfa-network,ap120c-ac", "qcom,ipq4018";
>  
> +	aliases {
> +		serial0 = &blsp1_uart1;
> +	};
> +
> +	chosen {
> +		stdout-path = "serial0:115200n8";
> +	};
> +
>  	keys {
>  		compatible = "gpio-keys";
>
Bjorn Andersson March 15, 2023, 11:35 p.m. UTC | #2
On Tue, 14 Feb 2023 17:12:08 +0100, Robert Marko wrote:
> Add the required alias and stdout property so that kernel can setup
> the console based off DTS and not have to set it in the cmdline.
> 
> 

Applied, thanks!

[1/4] ARM: dts: qcom: ipq4018-ap120c-ac: setup serial console
      commit: 131731c44f2cea44135e93bfb0a2920829910625
[2/4] ARM: dts: qcom: ipq4018-ap120c-ac: align GPIO hog with DT schema
      commit: a7d2715df2845560302aea9d9922b4bfdf4fe09a
[3/4] ARM: dts: qcom: ipq4018-ap120c-ac: align SPI-NAND with DT schema
      commit: fabc476a6cff40119365014e84aa2d2bbdf7756a
[4/4] ARM: dts: qcom: ipq4018-ap120c-ac: use NVMEM for ath10k caldata
      commit: d64f94249c689962b895aa650a30c29ac3b41cd3

Best regards,
diff mbox series

Patch

diff --git a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
index a5a6f3ebb2749..38efd45433da5 100644
--- a/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq4018-ap120c-ac.dtsi
@@ -8,6 +8,14 @@  / {
 	model = "ALFA Network AP120C-AC";
 	compatible = "alfa-network,ap120c-ac", "qcom,ipq4018";
 
+	aliases {
+		serial0 = &blsp1_uart1;
+	};
+
+	chosen {
+		stdout-path = "serial0:115200n8";
+	};
+
 	keys {
 		compatible = "gpio-keys";