From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pl1-f195.google.com (mail-pl1-f195.google.com [209.85.214.195]) (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 4B6993B1D1A for ; Tue, 16 Dec 2025 13:32:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.195 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765891976; cv=none; b=AKvRFey2qdUOiR6GxvBmCxPFdlM3XuZxSDyr/1ySFEDYwPyLdVrrCNNOThjt33o5422Wqr4F3IroupAz8IxygNXEUgEklkXabu/0oKpH/hc65jkYqPJAoiwJG0VJN+Fl8u7lhK8zqcZreS+A3WJI1fLvu3lez7tt3KidfXGS+XU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765891976; c=relaxed/simple; bh=pU0oP5/c/7ypY5esHJsYEwlRjlrC/o562rPa9fS6psA=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=AYcT3rZTJ2s4z7Pvf5I9ZEvo/FkTP0dvR0Qm/vp7HO/HOX5t83ithfzTony62xWSjKdM7KPXoZiMmTZEPy3x0KefVWHgdP4tu+7VS1TMfZvMUfbKpEikeBCJSKbppnUrgEQC23UjAqaaFCLmiJR/yL4PETUK2h35fY9+0v5ndy4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com; spf=pass smtp.mailfrom=riscstar.com; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b=aFpkkVsM; arc=none smtp.client-ip=209.85.214.195 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=riscstar.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=riscstar.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=riscstar-com.20230601.gappssmtp.com header.i=@riscstar-com.20230601.gappssmtp.com header.b="aFpkkVsM" Received: by mail-pl1-f195.google.com with SMTP id d9443c01a7336-2a1022dda33so18535095ad.2 for ; Tue, 16 Dec 2025 05:32:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1765891974; x=1766496774; darn=lists.linux.dev; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=g/JfJQXcFgX18niVnHrsIFrsFHpq0fWX7xoHVIFhehA=; b=aFpkkVsM22twIlLytsSYYLDJyJvjcAKZ5SJkoEaPjXcsLtuoucz+cH4OrBrEvOLZuR aJ2frUnLheeDNrdSrtheO8oz8oswpLzbHKsgTUm6H59+oBCXWg+kKi3tc0yJ7gvGBRdq oABtpVjTaCniduvkb6vounwk9QkWOu0p7Ec7t2NpAo1amqCWBD4alGqk32MMgE/R1p/6 15q6mrSrB10mPuncuh3/7rKQdyMvhHO8L1jwNH9F7G+ZEs8iy22jNCg4h1ULXMAjlVJW yY4L1KATPPTS+8zdRJ10PneRszZKq2YZT1U0drJHHpjzOrPbBxNRYrUwRrbtNrSaDCAi d64g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765891974; x=1766496774; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=g/JfJQXcFgX18niVnHrsIFrsFHpq0fWX7xoHVIFhehA=; b=ZCaSLVZoDvtNQtJV0fWN2zly3h1210Wc4TzrjS7VChmEwdkEIoEvSpmdnPHJmNqL/x eKXIIjZoiwbT3aIIB0c4sX1VojCWxBjGpfmZNLGYVConi3Jr8YF/PVrimNa0ioCsDkU2 1oGXNt9dlVJKeQK3UDZEWPix+WhMrtTnXUbYKUQK6TQJSA6g/Giqt+3S1+CgUh6eZMsi UInYBvUtwx3gU29K1zwQRPT2x46IEbYnPuVHz1XBTvknDwMtKZsVZBfEX/dkl8qP4lMU GmJxUnZ3LboCQEZ5tuKUI0HCx4/ArIySVDYZOJTKTOngKPw0oQrb2cqQdfXkV89kZJFe IEgQ== X-Forwarded-Encrypted: i=1; AJvYcCVGlXuYzZOBKX7s8liR3KaCBxDJdbxx5E9gGIiDCuZDcQqgNPl+/kXrxqZRlROt58nHU5I5yAdJng==@lists.linux.dev X-Gm-Message-State: AOJu0YwBQau7dKuKzl8kcRPV05IRBe8nPsF4tz/mTHi3AEjKfCOrID2f qqmVHOj8IqSFR53q0zcFO1/gLjHyDArJDF4B41R4cf8/T8E+d4s/YiUunJwb8RKRAWA= X-Gm-Gg: AY/fxX53pj/daBFbdKstepRDKXrKMd+bHHYA0gGyEE7lz0/QayIfF23t59HCzytLHsi 6M6CoVan+wXC07gsU4dcyJq+zb2yqgndZLKCvOPaAay09il3XNV7G+jF0+D1OfLT+aAR2neB9EX DzB6jUoiLwM+LMiCiQU9KvdLjYH0W0EJJ45YDko82vi83ne5SCy+s9iqkVjn7Ic9AbsEocyMaPJ P57b14cos32UkMQxeVc0uHCOfdhNoBKjnEtCCbglpVPfzBvGMHnavjHDwH1s1idRFgBH3P2QaIu KuM6/n0hpWRdMKAoqEks0q3GCnO736hnreW3lCEJSQlIWt8ZrNynudcDl1WMp7JMLFVqfoBWHt4 CStN4VDscyqGXuPW1S8jvG9HkFUmmjQrI86uSuiA+9vgWSVBOUip1yPj50qmUROB5CDPN8rODAi hYBttlyWNoM7ac8x6Go8HD66BGN/coTvCzAu9kjB6Jqg== X-Google-Smtp-Source: AGHT+IHT8YPzl6f7Pnw8yu1d9OLksn7u1Cax08hiwcjf1bsYEfnVPO1K1qwPGMHdLgZugryriieEFw== X-Received: by 2002:a17:902:ea0c:b0:2a0:f47c:cfc with SMTP id d9443c01a7336-2a0f47c0e76mr73502685ad.34.1765891973637; Tue, 16 Dec 2025 05:32:53 -0800 (PST) Received: from [127.0.1.1] ([2a12:a305:4::4029]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2a14625add8sm15829525ad.61.2025.12.16.05.32.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Dec 2025 05:32:53 -0800 (PST) From: Guodong Xu Subject: [PATCH 0/8] riscv: spacemit: Add SpacemiT K3 SoC and K3 Pico-ITX board Date: Tue, 16 Dec 2025 21:32:24 +0800 Message-Id: <20251216-k3-basic-dt-v1-0-a0d256c9dc92@riscstar.com> Precedence: bulk X-Mailing-List: spacemit@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit X-B4-Tracking: v=1; b=H4sIAGhfQWkC/6tWKk4tykwtVrJSqFYqSi3LLM7MzwNyDHUUlJIzE vPSU3UzU4B8JSMDI1NDI0Mz3Wxj3aTE4sxk3ZQS3eQUS1MTAwMzQ0sLSyWgjoKi1LTMCrBp0bG 1tQC0HgM4XQAAAA== X-Change-ID: 20251216-k3-basic-dt-cd9540061989 To: Rob Herring , Krzysztof Kozlowski , Conor Dooley , Paul Walmsley , Palmer Dabbelt , Albert Ou , Alexandre Ghiti , Yixun Lan , Daniel Lezcano , Thomas Gleixner , Samuel Holland , Anup Patel , Greg Kroah-Hartman , Jiri Slaby , Lubomir Rintel , Yangyu Chen Cc: Paul Walmsley , Palmer Dabbelt , Conor Dooley , Heinrich Schuchardt , Kevin Meng Zhang , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org, spacemit@lists.linux.dev, linux-serial@vger.kernel.org, Guodong Xu X-Mailer: b4 0.14.2 This series introduces basic support for the SpacemiT K3 SoC and the K3 Pico-ITX evaluation board. The SpacemiT K3 is an SoC featuring 8 SpacemiT X100 RISC-V cores. The X100 is a 4-issue, out-of-order core compliant with the RVA23 profile, targeting high-performance scenarios. [1] The K3 Pico-ITX is an evaluation board built around the K3 SoC. This series includes: - DT bindings for SpacemiT X100 core, K3 SoC, and Pico-ITX board. - DT bindings for K3 integrated peripherals: CLINT, APLIC, IMSIC, and UART. - Initial Device Tree for K3 SoC and Pico-ITX board. >From an RVA23 profile compliance perspective, the X100 supports all mandatory extensions required by RVA23U64 and RVA23S64. Ideally, all these extensions should be listed in the 'riscv,isa-extensions' string. However, some mandatory extensions (e.g. "ziccif", "sstvecd") are not yet supported (listed) by the upstream riscv/extensions.yaml binding. To avoid validation warnings (“Unevaluated properties are not allowed" when make dtbs_check W=3) and to prevent the kernel from silently dropping unrecognized strings, this series only declares the isa-extensions that are currently supported by the kernel bindings. Link: https://www.spacemit.com/en/spacemit-x100-core/ [1] Signed-off-by: Guodong Xu --- Guodong Xu (8): dt-bindings: riscv: add SpacemiT X100 CPU compatible dt-bindings: timer: add SpacemiT K3 CLINT dt-bindings: interrupt-controller: add SpacemiT K3 APLIC dt-bindings: interrupt-controller: add SpacemiT K3 IMSIC dt-bindings: serial: 8250: add SpacemiT K3 UART compatible dt-bindings: riscv: spacemit: add K3 and Pico-ITX board bindings riscv: dts: spacemit: add initial device tree of SpacemiT K3 SoC riscv: dts: spacemit: add SpacemiT K3 Pico-ITX board device tree .../bindings/interrupt-controller/riscv,aplic.yaml | 1 + .../interrupt-controller/riscv,imsics.yaml | 1 + Documentation/devicetree/bindings/riscv/cpus.yaml | 1 + .../devicetree/bindings/riscv/spacemit.yaml | 6 +- Documentation/devicetree/bindings/serial/8250.yaml | 1 + .../devicetree/bindings/timer/sifive,clint.yaml | 1 + arch/riscv/boot/dts/spacemit/Makefile | 1 + arch/riscv/boot/dts/spacemit/k3-pico-itx.dts | 25 + arch/riscv/boot/dts/spacemit/k3.dtsi | 529 +++++++++++++++++++++ 9 files changed, 565 insertions(+), 1 deletion(-) --- base-commit: 8f0b4cce4481fb22653697cced8d0d04027cb1e8 change-id: 20251216-k3-basic-dt-cd9540061989 Best regards, -- Guodong Xu