From nobody Tue Dec 16 20:02:11 2025 Received: from mail-pf1-f179.google.com (mail-pf1-f179.google.com [209.85.210.179]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 10670163A9B for ; Sun, 16 Jun 2024 01:55:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.179 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718502925; cv=none; b=ObXoUwWNpUhswEshKMBfCVo6FNIDrNpm9LPzTlvjBJYrA3J7WBNhJavQFct9ifzvnK/K0KpiwJ3piojCaZ9AjGUqQh72CreMRtt8MLPgzJdGOcJsC82HelfoFK4OyuF8AZsMbAPxBhNQeFlsMH11uvAgcbij372FD41xM98vkVc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718502925; c=relaxed/simple; bh=jdmR4mbethnmbINzfYelG5bZ/4P0Pr0DSPkP3jxTYBE=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=LWwrYEj2a4mKgciA36ZvUbARSoGVfMJcinjm8CN6Agm2yAtNEGq2hFJrtyvIWG7XAOickUpZwCTuv0EgVderwZPl2t92X3fI+ewYRxGysTWapkIyngA1QQOqID47bjxK/mqsmoMo0kP+wyQX8zD9IxLaduptqld3MFtp0SNd258= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tenstorrent.com; spf=pass smtp.mailfrom=tenstorrent.com; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b=SkdxgZBI; arc=none smtp.client-ip=209.85.210.179 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=tenstorrent.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=tenstorrent.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=tenstorrent.com header.i=@tenstorrent.com header.b="SkdxgZBI" Received: by mail-pf1-f179.google.com with SMTP id d2e1a72fcca58-705f0c54846so662487b3a.3 for ; Sat, 15 Jun 2024 18:55:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenstorrent.com; s=google; t=1718502923; x=1719107723; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=lNPhbe4CKhTW6lWgdp189/o19T4GZdsybtYcMCrAtjY=; b=SkdxgZBI32XHDadUvsgtL5kEtN0sVi8/KDCk1hyGOK+opUkDOljg/fKCWGTNO5qxwH qvj253Y/gaZ/bie9jA68YXQb6gKxdZDqmaZs7YwNmHGmNBm2PCGAZLwta5f36gD2VoN0 ht3bYxAsar1c/+JtzB2erVY46eWeSMpuVzTBGXlaMrzAcpTd+yNDE+EtP/tSCMGLyxYL M45WLo+0DPqiXMCvXBrTYr/Od2BrM4VM2093cLYgOk6pm+9gwBnoQFRl+m4Qd4PfnUKc XBUoM8MaP8kK8CqZ797UmZmfoO+AaQs+S2PvLtJQEJt+PhmpM2ZAIj5AP1SF7Jd4oRsg tLpw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718502923; x=1719107723; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=lNPhbe4CKhTW6lWgdp189/o19T4GZdsybtYcMCrAtjY=; b=BbiVMk41iV1GdrRWCVzuqBV3/zyudbzuW0IgCu8BJtHJYMsoisrSAozAW9/72EsWn5 KebPUHk+BCngoY1mz58dDu2xDZV3+qiHULyVlXtpU+ntLu3w6IHoEeEAJt2sCbw7eSdC bJH5jAVG/A/zURU+g81YCHEO/BGXFT5FewDTu+qAFKUd3GAAG8EOxmtu2CzCnzS+ZywT XJoba3/oIo9aBAtFB2+9FFkpvAD3oxRdMru6kcgblKLBN+IsW1VlrB3emozEEUQChSkZ XBURrOO2sREFeksTFkWKTfm6KyM0ocEo2ZFTMoMEXFvo1fXwccbzqfCPb5qo15G9yPsa dq5g== X-Forwarded-Encrypted: i=1; AJvYcCX/K5QXtAsXYZXkODMC27f22DMDW0QTdDZnqKIXNMt+zAhS1sPGzzbncdwMCOWi1cu5ff8yqnvQGE498DjgjHKSqG6wY//CeSvCrCyJ X-Gm-Message-State: AOJu0YwBYEkWwm4zvE0QgiVKvWHWkTDlUI3mVfbK8yDMjOS1OYW5HLBl 7Xr5JqfgVcvPJ2fP3tlJLRUdfXUZQf2ufO5SEgok8gmFP3slmLpK2vsOCs9Cb3K3YU4YHW0s/E7 P X-Google-Smtp-Source: AGHT+IG2W5IPRHAG1kGoyujjDgtV/z+pDbrlN9J1y1wQMn05h74BhHu6aBbrwBiwAJOG2I5i3s17mA== X-Received: by 2002:a05:6a20:d80d:b0:1b8:3f6d:3037 with SMTP id adf61e73a8af0-1bae7ea0f63mr7711032637.18.1718502923295; Sat, 15 Jun 2024 18:55:23 -0700 (PDT) Received: from [127.0.1.1] ([2601:1c2:1802:170:1cea:28dd:2ee0:e8e5]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-2c4a769aedbsm8751201a91.43.2024.06.15.18.55.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 15 Jun 2024 18:55:22 -0700 (PDT) From: Drew Fustini Date: Sat, 15 Jun 2024 18:54:32 -0700 Subject: [PATCH 3/6] riscv: dts: thead: Add TH1520 AP_SUBSYS clock controller Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Message-Id: <20240615-th1520-clk-v1-3-3ba4978c4d6b@tenstorrent.com> References: <20240615-th1520-clk-v1-0-3ba4978c4d6b@tenstorrent.com> In-Reply-To: <20240615-th1520-clk-v1-0-3ba4978c4d6b@tenstorrent.com> To: Jisheng Zhang , Guo Ren , Fu Wei , Yangtao Li , Thomas Bonnefille , Emil Renner Berthing , Michael Turquette , Stephen Boyd , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: linux-riscv@lists.infradead.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Drew Fustini X-Mailer: b4 0.12.3 Add node for the AP_SUBSYS clock controller on the T-Head TH1520 SoC. Link: https://openbeagle.org/beaglev-ahead/beaglev-ahead/-/blob/main/docs/T= H1520%20System%20User%20Manual.pdf Signed-off-by: Drew Fustini --- arch/riscv/boot/dts/thead/th1520.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/riscv/boot/dts/thead/th1520.dtsi b/arch/riscv/boot/dts/th= ead/th1520.dtsi index d2fa25839012..10a38ed55658 100644 --- a/arch/riscv/boot/dts/thead/th1520.dtsi +++ b/arch/riscv/boot/dts/thead/th1520.dtsi @@ -5,6 +5,7 @@ */ =20 #include +#include =20 / { compatible =3D "thead,th1520"; @@ -161,6 +162,13 @@ soc { dma-noncoherent; ranges; =20 + clk: clock-controller@ffef010000 { + compatible =3D "thead,th1520-clk-ap"; + reg =3D <0xff 0xef010000 0x0 0x1000>; + clocks =3D <&osc>; + #clock-cells =3D <1>; + }; + plic: interrupt-controller@ffd8000000 { compatible =3D "thead,th1520-plic", "thead,c900-plic"; reg =3D <0xff 0xd8000000 0x0 0x01000000>; --=20 2.40.1