Re: [PATCH] arm64: dts: ti: k3-am642-evm/sk: Set serial console settings for stdout-path

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 15:51-20240617, Jonathan Humphreys wrote:
> Set serial console UART settings in the DT so that generic distros will
> work even if the OS loader doesn't explicitly pass it.
> 
> Signed-off-by: Jonathan Humphreys <j-humphreys@xxxxxx>
> ---
>  arch/arm64/boot/dts/ti/k3-am642-evm.dts | 2 +-
>  arch/arm64/boot/dts/ti/k3-am642-sk.dts  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-evm.dts b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> index e20e4ffd0f1f..d63293d85d5f 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-evm.dts
> @@ -18,7 +18,7 @@ / {
>  	model = "Texas Instruments AM642 EVM";
>  
>  	chosen {
> -		stdout-path = &main_uart0;
> +		stdout-path = "serial2:115200n8";
>  	};
>  
>  	aliases {
> diff --git a/arch/arm64/boot/dts/ti/k3-am642-sk.dts b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> index 5b028b3a3192..c23730c395b5 100644
> --- a/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> +++ b/arch/arm64/boot/dts/ti/k3-am642-sk.dts
> @@ -18,7 +18,7 @@ / {
>  	model = "Texas Instruments AM642 SK";
>  
>  	chosen {
> -		stdout-path = &main_uart0;
> +		stdout-path = "serial2:115200n8";

let the baudrate and uart settings be set by userspace as desired. Also
see commit 6b343136388fe1ef5837e45ab921705de76665ee

-- 
Regards,
Nishanth Menon
Key (0xDDB5849D1736249D) / Fingerprint: F8A2 8693 54EB 8232 17A3  1A34 DDB5 849D 1736 249D




[Index of Archives]     [Device Tree Compilter]     [Device Tree Spec]     [Linux Driver Backports]     [Video for Linux]     [Linux USB Devel]     [Linux PCI Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Yosemite Backpacking]


  Powered by Linux