From nobody Thu Oct 2 05:08:11 2025 Received: from outbound.pv.icloud.com (p-west1-cluster5-host7-snip4-3.eps.apple.com [57.103.66.234]) (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 CA12B2EE5F0 for ; Mon, 22 Sep 2025 03:58:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=57.103.66.234 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758513518; cv=none; b=ryd9P25lEjLYVI3ubG5Vdt+EpGvHSyTWHD3fz7fNM+lSBSTgRcTylBQWXxmq6YcHhMIv92uUAlZZug3tIJoIUx5qtmUptZhd/kHkzi10hh9uYi6D70OdBWeFxbBN3lIWi0hAMW5qEWc/FGq2aCCFw8H7Un+dyds1kvlBqtLA5G8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1758513518; c=relaxed/simple; bh=a3eS4LsaDgWxJX0nJZ5rLV0s3OKa8cAn/Cd//hvIp6M=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=f/itfG6E/n2wBO59W39MvYSZBaCy6o79zF7a3w7sfLKGhLX0gkkAaPYsSIPMTVwHJTRz8lUPoLfT7UAVF+oSrt8Nqo1gsVg6YFLJ7igvzMalVaU4qmxu9csxtDWzHt84i2I61EbX8Ruk2JqFvL0i3Tan8cI7manVobx8PbZ81Oc= 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=xdqJdTDl; arc=none smtp.client-ip=57.103.66.234 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="xdqJdTDl" Received: from outbound.pv.icloud.com (unknown [127.0.0.2]) by p00-icloudmta-asmtp-us-west-1a-60-percent-0 (Postfix) with UTF8SMTPS id 97E47180072C; Mon, 22 Sep 2025 03:58:34 +0000 (UTC) Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bryanhinton.com; s=sig1; bh=k0SOWbLw84OBsxZriedsqK5hxUT6sNCYYaMQDUt04bA=; h=From:To:Subject:Date:Message-ID:MIME-Version:x-icloud-hme; b=xdqJdTDl4PTuY5yyelJOWXBYGsD6SFvelOfbzxdGVIVo+Smqm6z3waDMZX0Nu0tYJRuYvrduxBVriNXPO/UgsUDVp+ho2iVlX2NE5pYbE5/P7FanWNSegw2DM3xpom41XdmdmUTf0Xv6VJqLkoV7Vbv9q2qtWKQA8OTJVytkfgXmLp8kgssPvejQdetb5c408zUN8m3iGuwY79Vav40z7DeGRGVDFfC3QXMQuGiMhps2Xd+IYgoIoKBYSYksH+oJYc27s6CwhYkdt+bJIYrRDeI6qBmVw2k+xG329n06/pMu0K/e9g2wJ920rEVRJVorE2tSRhAF6D91HYM/xh2pJw== 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-0 (Postfix) with UTF8SMTPSA id BC4341800173; Mon, 22 Sep 2025 03:58:33 +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 Subject: [PATCH v3 1/2] arm64: dts: mediatek: mt7981b: add labels for UART0/1/2 nodes Date: Sun, 21 Sep 2025 22:58:09 -0500 Message-ID: <20250922035828.2941327-2-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: 16us1-7uQ-icvud8FCfkJX5TH-XTXojo X-Proofpoint-GUID: 16us1-7uQ-icvud8FCfkJX5TH-XTXojo X-Proofpoint-Spam-Details-Enc: AW1haW4tMjUwOTIyMDAzNiBTYWx0ZWRfX/kB/Z/VgWHMZ bGPcgeuOEXLri78acByacKphJi5QY6QxpNIgU0eqfvlOGcgoei2AgwIutO0uiRtqofCZ4wCXQ+U ZvpFTnAhwcrkDG6+YqXt/xmrKiQz4Idk4kI0IZ2lqhjN1OLwX0BTREFrlWdBawqYKA4TIWHgJjB cI3U5C13VdJwGjGqmGpgU+E1KseVnIp5ErxTVxMLCshryLsJZOblunz1OhIZbJU+u/KPDN7XhQw 9wZDwkUplriiC/5i1fnzg0AOma/oajT7YpoBPFZgwRVMCt3B2q2LycXfeM7Ksr4FxyL/zH0Gs= 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 mlxlogscore=999 clxscore=1030 spamscore=0 bulkscore=0 mlxscore=0 suspectscore=0 adultscore=0 phishscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.22.0-2506270000 definitions=main-2509220036 X-JNJ: AAAAAAABXmXmdxg3OHjerRfjKPm6KYJ4ABxHzCP9HsIfYf0MFwJKu55EvjTkLDQ8cPXRNPB2fa0JxZY7Vh05caRl49e2FEADvBgp5VfiwRvdRNRPyprdzVYaKxeu0OwqFNcoSa3ZpuT5ibYmCykjgj1L43k/iFy3cLg0ZpKX0IZqujwkkj0E0uqjMtXDZIbQ+5Lp2vFJui6sTDjjBtRgoEhqoUHEh/YKOhsO1k2CbXgrcRs4wvFyMqWrF2gv489aMIMkv6AW1tLwdwuN06xl1CQPsQ2zN9nGPul03wV6WMALvrJFITbxbbneclTaWWNE5sgt0xxUt69JcEAExD8ffXiRNN1NuPMfJ5PrIUafFJ6P8TYzq9DTScvBeGek+r4AUoSHmFX1c1YNEiNVuF/owS+JJPm5ORCY3kA7uyw4Hp1XTyCVmCY/FwqH0M3Rp2BclFd6MFiz8YTvCXj1uYwwvF3qF/vLoQdn8ZB2skIcGsR5pSRcpBGVNIUnUUgB1FccZ+1ZpR7uXOONFso4pHjM1LN0osK9QLq2U1rlGEOFh5uwLc2dqJDpHZ5LHKUqXq6UswtbO6F7mK8wAnvk7+P5tq7ijwlsGO1FwQQOoXE9Wic+0/FbBQl6irSZQNiQpmVrmwgrP2dU/jBeaACZTXUFXJOsnNgKGbBdJobcwoZb6HsLGPt2QcV2ohgMHVQW6orkS2bMfPxTiFmAJL3B71NByxDMDs4VRoXUJF0Yb3DfKHqYmpSp Content-Type: text/plain; charset="utf-8" Add stable labels (uart0, uart1, uart2) to the MT7981B SoC UART nodes so board DTS files can reference them directly. This change is purely cosmetic and introduces no functional differences. Verification: Built dtbs and boot-tested mainline Image+DTB via U-Boot on MT7981B hardware; decompiled DT shows the uart0 label present and the serial0 alias (or absolute path) resolves to serial@11002000. Signed-off-by: Bryan Hinton Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt7981b.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi b/arch/arm64/boot/dt= s/mediatek/mt7981b.dtsi index 5cbea9cd411f..4ee7fb83000d 100644 --- a/arch/arm64/boot/dts/mediatek/mt7981b.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7981b.dtsi @@ -94,7 +94,7 @@ pwm@10048000 { #pwm-cells =3D <2>; }; =20 - serial@11002000 { + uart0: serial@11002000 { compatible =3D "mediatek,mt7981-uart", "mediatek,mt6577-uart"; reg =3D <0 0x11002000 0 0x100>; interrupts =3D ; @@ -105,7 +105,7 @@ serial@11002000 { status =3D "disabled"; }; =20 - serial@11003000 { + uart1: serial@11003000 { compatible =3D "mediatek,mt7981-uart", "mediatek,mt6577-uart"; reg =3D <0 0x11003000 0 0x100>; interrupts =3D ; @@ -116,7 +116,7 @@ serial@11003000 { status =3D "disabled"; }; =20 - serial@11004000 { + uart2: serial@11004000 { compatible =3D "mediatek,mt7981-uart", "mediatek,mt6577-uart"; reg =3D <0 0x11004000 0 0x100>; interrupts =3D ; --=20 2.51.0 From nobody Thu Oct 2 05:08:11 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 Reviewed-by: AngeloGioacchino Del Regno --- 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