Re: [PATCH v2 11/18] arm64: dts: mediatek: mt7988: add chosen node on bpi-r4

Frank Wunderlich linux at fw-web.de
Mon Dec 2 06:29:36 PST 2024


Am 2. Dezember 2024 14:46:24 MEZ schrieb Krzysztof Kozlowski <krzk at kernel.org>:
>On 02/12/2024 13:25, Frank Wunderlich wrote:
>> From: Frank Wunderlich <frank-w at public-files.de>
>> 
>> Add chosen node on Bananapi R4 board with stdout and default bootargs.
>> 
>> Signed-off-by: Frank Wunderlich <frank-w at public-files.de>
>> ---
>>  arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts | 5 +++++
>>  1 file changed, 5 insertions(+)
>> 
>> diff --git a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
>> index 9037f35857a9..1c2a806f6f6c 100644
>> --- a/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
>> +++ b/arch/arm64/boot/dts/mediatek/mt7988a-bananapi-bpi-r4.dts
>> @@ -9,6 +9,11 @@ / {
>>  	model = "Banana Pi BPI-R4";
>>  	chassis-type = "embedded";
>>  
>> +	chosen {
>> +		stdout-path = &serial0;
>> +		bootargs = "console=ttyS0,115200n1";
>
>Drop or merge into stdout path.

Have you an example to pass speed setting to stdout-path? As it is only a phandle it is not clear to me how to merge these 2...

>Best regards,
>Krzysztof


regards Frank



More information about the Linux-mediatek mailing list