From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B2B4EC369D1 for ; Sat, 26 Apr 2025 16:57:50 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7380C8206E; Sat, 26 Apr 2025 18:57:42 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; secure) header.d=disroot.org header.i=@disroot.org header.b="Uvj3wi3g"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 44696810EB; Sat, 26 Apr 2025 18:57:41 +0200 (CEST) Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 60FB682063 for ; Sat, 26 Apr 2025 18:57:39 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=ziyao@disroot.org Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id 3037225ED7; Sat, 26 Apr 2025 18:57:39 +0200 (CEST) Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 4640qrobRqOw; Sat, 26 Apr 2025 18:57:38 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1745686658; bh=3dzUtVuUxk4jfenqGeXgcZuMERNyB4OlgVGfo1XwcA0=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=Uvj3wi3gGbcWpQ6adfSKF9NOZA9m0tsOr297Ql8MnAZBq1ry9YIKRf+3yk4oHs0fB /LI0pn0qMZvab2dmkLxzWirLfuSXC5JVSag2CCO0YZZZ2cGOFh2ghRcHX0YjOk7kyu kTs87iJojAUWIQtQy7i61YCJpjX9UwNaNa4P/ZRngO+7S8HKlVSPMS8JB5j8cx6Bdf 6oP/GM+H4OYWeCvCc6zAi9eTpc/CVPXLM9DAWIBKHMy/xs60MwP+wVSbU99LMWduIq TDDAKkH9CabQ74gSO6G1iYTidRZa8lkTUkbXgVBdyTHa/OH9BzCzsuFtGICfmAQe5s UlkXikJQdy48A== From: Yao Zi To: Rick Chen , Leo , Tom Rini , Wei Fu , Yixun Lan , Maksim Kiselev , Jaehoon Chung , Simon Glass , Heinrich Schuchardt , Ilias Apalodimas , Neha Malcom Francis , Jayesh Choudhary , Wadim Egorov , Vaishnav Achath , Andrew Davis , Chia-Wei Wang Cc: u-boot@lists.denx.de, Han Gao , Han Gao , Yao Zi Subject: [PATCH 02/10] riscv: dts: th1520: Add clock-frequency for UART0 Date: Sat, 26 Apr 2025 16:56:56 +0000 Message-ID: <20250426165704.35523-3-ziyao@disroot.org> In-Reply-To: <20250426165704.35523-1-ziyao@disroot.org> References: <20250426165704.35523-1-ziyao@disroot.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean The BROM of TH1520 always initializes its clock and configure the baudrate to 115200. Add a clock-frequency property to provide such information without introducing CCF to SPL. Signed-off-by: Yao Zi --- arch/riscv/dts/th1520.dtsi | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/riscv/dts/th1520.dtsi b/arch/riscv/dts/th1520.dtsi index cbe3481fadd..e4c8cee66bc 100644 --- a/arch/riscv/dts/th1520.dtsi +++ b/arch/riscv/dts/th1520.dtsi @@ -175,6 +175,7 @@ reg = <0xff 0xe7014000 0x0 0x100>; interrupts = <36 IRQ_TYPE_LEVEL_HIGH>; clocks = <&uart_sclk>; + clock-frequency = <100000000>; reg-shift = <2>; reg-io-width = <4>; status = "disabled"; -- 2.49.0