From nobody Mon Feb 9 06:34:38 2026 Received: from layka.disroot.org (layka.disroot.org [178.21.23.139]) (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 61F41233149; Thu, 1 May 2025 04:44:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=178.21.23.139 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746074666; cv=none; b=uH+8nHSehSNxCUgNpCyIfqVq+Mz6bObP03Y05MPF01MGrctjZgIca7WFqEPNhnVoM4QwfPspKU7bcMZ8MYXEQIPWJd4tJ5cHSwN2tqeM2x/o8/nBzuEg0Hv3uVNxzT9AK1WvVWm2jnRg/PGY4BnYDekGLB6UOlDa0OBnlLD4EBk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1746074666; c=relaxed/simple; bh=/LzP27Kr7PItlbaBuhA2H/AWoUL7f41PHi1KHFImP2Y=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=LAZgOJbzi4ggIu47Dt5g24Ygo6Z2779PreE4T+SdVtpHsEa7CZpwFJqaELFFh2VbPCKEkIL/PcnDLOuZd+9afe1Z9XLke+P70aHRKCDwpfDSIogvl7qrpIx3g442kB6UF/cxwuQ8Jkd2yzKpGEzsR5BTsJmBTeJ207Bc1GSKuxw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org; spf=pass smtp.mailfrom=disroot.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b=OEkw6Tbx; arc=none smtp.client-ip=178.21.23.139 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=disroot.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=disroot.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=disroot.org header.i=@disroot.org header.b="OEkw6Tbx" Received: from mail01.disroot.lan (localhost [127.0.0.1]) by disroot.org (Postfix) with ESMTP id B22CE25EF5; Thu, 1 May 2025 06:44:23 +0200 (CEST) X-Virus-Scanned: SPAM Filter at disroot.org Received: from layka.disroot.org ([127.0.0.1]) by localhost (disroot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id PAlZ3cr2ZZX3; Thu, 1 May 2025 06:44:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1746074663; bh=/LzP27Kr7PItlbaBuhA2H/AWoUL7f41PHi1KHFImP2Y=; h=From:To:Subject:Date:In-Reply-To:References; b=OEkw6TbxGDtroVG2dOqG4y/dgWTkRXTvBnJXLEqMtQyasWVYLTgYKwoi5ikD2I8nL jYu1PyjJ3wFhu1GP2xRob6s6gr0t++gG4us6008D3SU8delOSy+TbYwyldlriyjgSM 18IM3hRT/GzjOUNrQr+1QNw8RdN90cbY87CLeIE5zIJRiaztTG+42XJAjDFRKjxDFZ ZFlumOJpk9YzaACLEMy2wCPsl5Y1EThmScYIZkj2Pa3T8k6bkunEDaebN80CZhqbe5 gLsTlE2FgUa/YQLs3vshDgEOKPoc6UZTNDvLSfTIyRGpxiMiT6qLOZKPk9OVbGSfHu mVJQ+BivgSD5A== From: Yao Zi To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Huacai Chen , WANG Xuerui , Yao Zi , Neil Armstrong , Heiko Stuebner , Junhao Xie , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Aradhya Bhatia , Manivannan Sadhasivam , Binbin Zhou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, loongarch@lists.linux.dev, Mingcong Bai , Kexy Biscuit Subject: [PATCH 4/4] LoongArch: dts: Add initial devicetree for CTCISZ Ninenine Pi Date: Thu, 1 May 2025 04:42:40 +0000 Message-ID: <20250501044239.9404-6-ziyao@disroot.org> In-Reply-To: <20250501044239.9404-2-ziyao@disroot.org> References: <20250501044239.9404-2-ziyao@disroot.org> 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 Content-Type: text/plain; charset="utf-8" Enable UART0 as it's the boot UART used by firmware. Signed-off-by: Yao Zi --- arch/loongarch/boot/dts/Makefile | 1 + .../boot/dts/ls2k0300-ctcisz-nineninepi.dts | 41 +++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 arch/loongarch/boot/dts/ls2k0300-ctcisz-nineninepi.dts diff --git a/arch/loongarch/boot/dts/Makefile b/arch/loongarch/boot/dts/Mak= efile index 15d5e14fe418..e55df9f385af 100644 --- a/arch/loongarch/boot/dts/Makefile +++ b/arch/loongarch/boot/dts/Makefile @@ -1,3 +1,4 @@ # SPDX-License-Identifier: GPL-2.0-only =20 dtb-y =3D loongson-2k0500-ref.dtb loongson-2k1000-ref.dtb loongson-2k2000-= ref.dtb +dtb-y +=3D ls2k0300-ctcisz-nineninepi.dtb diff --git a/arch/loongarch/boot/dts/ls2k0300-ctcisz-nineninepi.dts b/arch/= loongarch/boot/dts/ls2k0300-ctcisz-nineninepi.dts new file mode 100644 index 000000000000..a67a8ce4211e --- /dev/null +++ b/arch/loongarch/boot/dts/ls2k0300-ctcisz-nineninepi.dts @@ -0,0 +1,41 @@ +// SPDX-License-Identifier: GPL-2.0 +/* + * Copyright (C) 2025 Yao Zi + */ + +/dts-v1/; + +#include "loongson-2k0300.dtsi" + +/ { + compatible =3D "ctcisz,ninenine-pi", "loongson,ls2k0300"; + model =3D "CTCISZ Ninenine Pi"; + + chosen { + stdout-path =3D "serial0:115200n8"; + }; + + memory@200000 { + device_type =3D "memory"; + reg =3D <0 0x00200000 0 0x0ee00000>, + <0 0x90000000 0 0x10000000>; + }; + + reserved-memory { + #address-cells =3D <2>; + #size-cells =3D <2>; + ranges; + + linux,cma { + compatible =3D "shared-dma-pool"; + reusable; + size =3D <0 0x02000000>; + linux,cma-default; + }; + }; +}; + +&uart0 { + clock-frequency =3D <100000000>; + status =3D "okay"; +}; --=20 2.49.0