From nobody Thu Oct 2 06:33:07 2025 Received: from outbound.pv.icloud.com (p-west1-cluster3-host3-snip4-10.eps.apple.com [57.103.66.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 96BB72ED854 for ; Mon, 22 Sep 2025 03:58:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=57.103.66.73 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758513527; cv=none; b=C5J5yf1ZNurKisKomLFx1G3OwoJGqSilIKaX4r7GFU0MPD6OlxPvHM8w164KdfbohhYWfj7Gqr2wsg0GSDpAvCm08RPHo9JZ8/PeylMi3x8f/iThgzVolvjTUGVVXfkOieDmng4mGCyZMxLqX1vfArUJFQB+YnGQla5mc2Zg7QU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758513527; c=relaxed/simple; bh=JJJI1CcJxWYuWCp7IFQSFI1UG87QL7Bwxk/zP50L3XY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=IiPCBMsVGQBhUNcnFKo8Qvk7EHGFYQpAgJr0nIazHC+/ascp6tk/c7Tzl+4c0WCNXyoF6fuCoWGXxDeb7B1D8vBmOsMmmdPWSKrvog/nVY6mchtx/k4KVwjfCwEzTACfR17a4v7ImUM4Q9pIWkeQOUfbvhw8m3513r2GLYdf6RI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bryanhinton.com; spf=pass smtp.mailfrom=bryanhinton.com; dkim=pass (2048-bit key) header.d=bryanhinton.com header.i=@bryanhinton.com header.b=zfXqqSvS; arc=none smtp.client-ip=57.103.66.73 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=bryanhinton.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=bryanhinton.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=bryanhinton.com header.i=@bryanhinton.com header.b="zfXqqSvS" Received: from outbound.pv.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-west-1a-60-percent-3 (Postfix) with UTF8SMTPS id CC0A8180017E; Mon, 22 Sep 2025 03:58:40 +0000 (UTC) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bryanhinton.com; s=sig1; bh=O8HYVN07gDSXaOu8STfHqlIIT7RwSFQ27jn5Ap9U6NE=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=zfXqqSvSo2hiSBzhqwoMa0kVDBiWu+8TEBjzfboVPMcS+Z3nEXqmOicqsru+wLCgfwoUciJRyXWUtg23d5Y4tC1NMBjUOmZfM/yLUCDQej4QFMPXsF5avfDWn1MI7JRFabhfEi6E+TL1BjvBqJSxVZtEeVDP//LmluJJetPInfoPPSoFVMB2+ZHcDWOayxajddfOowhZACoVxeBx3mPGnc9+0yqx1fn7eNKpo1E/uyHyaf2p1NljovRkcC76v3rI2gerPx5QI8QM2EMrXZt4l+muFjTcte1dNmDB5va0GXqs1GJTBljdgyVVRc/nF7+YoHyXa4OH3fcW0rcOd7Mk3Q== mail-alias-created-date: 1643268037438 Received: from localhost (pv-asmtp-me-k8s.p00.prod.me.com [17.56.9.36]) by p00-icloudmta-asmtp-us-west-1a-60-percent-3 (Postfix) with UTF8SMTPSA id A97921800996; Mon, 22 Sep 2025 03:58:39 +0000 (UTC) From: Bryan Hinton To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Matthias Brugger , AngeloGioacchino Del Regno , daniel@makrotopia.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, bryan@bryanhinton.com, kernel test robot Subject: [PATCH v3 2/2] arm64: dts: mediatek: mt7981b: OpenWrt One: set console UART to 115200 Date: Sun, 21 Sep 2025 22:58:10 -0500 Message-ID: <20250922035828.2941327-3-bryan@bryanhinton.com> X-Mailer: git-send-email 2.51.0 In-Reply-To: <20250922035828.2941327-1-bryan@bryanhinton.com> References: <20250922035828.2941327-1-bryan@bryanhinton.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-Proofpoint-ORIG-GUID: sGNH0LLxomuWs5zuOuM8AUACzi5xqiJg X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTIyMDAzNiBTYWx0ZWRfX9QFjB1qO+EX+ qiVq3UoucsRK9+nJ8ZjW1rh+OYb/ucu/xu3LFsNH0uE5TvUdtWxI8xK/Sz3AZyi+t4IbgG576so tKrXM8RVAe5fY8Y7A4n/HphrWKxGmW94Pmsw6KP4mPZjOMKvWUyzt4Pzk8NKa9diIMyrt/t56mZ 3CnPbVsLcVyZYbT7KTaQTtOTuKtzeGD71BHatZFEKqiUyO+vsbOtKDPv4x9P1XDT4tUPeKFzs4Q IqysVsli96UrigaJ3y7xt0rK0vS/WmUBddu16TGdS2+/EtkeSPngrLaSvVraP8yMgpxX8aSUc= X-Proofpoint-GUID: sGNH0LLxomuWs5zuOuM8AUACzi5xqiJg X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1117,Hydra:6.1.9,FMLib:17.12.80.40 definitions=2025-09-21_10,2025-09-19_01,2025-03-28_01 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 malwarescore=0 suspectscore=0 bulkscore=0 clxscore=1030 spamscore=0 mlxlogscore=999 phishscore=0 adultscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.22.0-2506270000 definitions=main-2509220036 X-JNJ: AAAAAAABK2AL0pTFOiWYOHuLVg1Con28PkBY+KehYDhRl6RrHefaG6yK+xCLhqqn6rHCLGKaEXKI7Ta1pxkLtyg19UlsbWmk+oXHOl3grC7SKjrMD9pNjQcX/M+ga7RAtXHCTFmliFSFBi00JsmmRwP5zSaytW1mAOhCrS0B4eU2E27jeUTgkbIdFvvKKNWJoJ/aV8zGNf0G0LnAnWwF2SOQOM81nkPD62B0S05H/m42mzkmxmQss9hJ+tbmCE/pppGMr4CnfEsLyaHImDVeEgP9iZWi04ME39cyWfOgqX5Z3lUFxo/pffkCCnupDzdrNDLh5zviVugBMAHqzr1s4g2d3JxuSPsOp3kYxzksB0t43GhHVzKRGx9dlzmXbS461HuOEr2OGotNxxwGCLZGzjLCQfasvY2SodH24AwzDMcBmro6PpAYqQoqNPwkkp159MKHg/Ac498O+t4RWMoySAyUwmG/4ZGt9w62jXs+qj9TbtjXeY0N+HObGpPo/cusjLq1wSezvfRUMlOYZwhaURl1z8BwHXrhar/gAFLZ8Jy1uNCN7kzlo9KMY4JgKmO1UYCHfArcmBFtPaoklGxRP+/OtFNMWCrMGvaaEdpUr3A6ysJ2kEJwACNC2zaE1dTsvtoaGO63Rp9vJ+p/apg4GFssJ46zuy9CvorElgdUjpif2lb7QC2WRd7+ajLbgnvUpC99y3oNEWQCMaqS5iq83+GPwKk8uv1S9vIWCqVzAXpvjghvINVdVvGyGTbtPorlgHTAF0CIrnDTwdkeu7bns3Q/s1c40sjmrek= Content-Type: text/plain; charset="utf-8" Use the new uart0 label for the console and make the speed explicit by setting stdout-path =3D "serial0:115200n8" under /chosen. This keeps the DTS OS-agnostic: no bootargs or distribution-specific properties are added. Drop the 'current-speed' property from uart0 as it is not allowed by the mediatek UART binding. The baud is already provided via stdout-path. Verification: Boot-tested with mainline Image+DTB via U-Boot on OpenWrt One (MT7981B). Serial console active at 115200, DTB decompile confirms serial0 alias and stdout-path set correctly. Reported-by: kernel test robot Closes: https://lore.kernel.org/r/202509211032.0rJjPoYE-lkp@intel.com/ Signed-off-by: Bryan Hinton --- arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts b/arch/ar= m64/boot/dts/mediatek/mt7981b-openwrt-one.dts index 4f6cbb491287..968b91f55bb2 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts +++ b/arch/arm64/boot/dts/mediatek/mt7981b-openwrt-one.dts @@ -8,8 +8,20 @@ / { compatible =3D "openwrt,one", "mediatek,mt7981b"; model =3D "OpenWrt One"; =20 + aliases { + serial0 =3D &uart0; + }; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + memory@40000000 { reg =3D <0 0x40000000 0 0x40000000>; device_type =3D "memory"; }; }; + +&uart0 { + status =3D "okay"; +}; --=20 2.51.0