From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pj1-f65.google.com (mail-pj1-f65.google.com [209.85.216.65]) (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 493198248B for ; Mon, 22 Dec 2025 13:06:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.65 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408776; cv=none; b=j9vafhqniOev6F0VCZtsEA1AokDbgorRe+Xu1yhrP1h8iryQXqnNkVUNPHuerl47Azdq8hnd4myaAaWCNn+NHFW8KHaK/WZlvbPNQ5sVom3Jf/86pXWoiu+4ij5eWudIRiZCpekOsE28wl44DMPgcSVlkdrdEblvDP/B2JI9jiY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1766408776; c=relaxed/simple; bh=6X67lCmir/2S11a1n7DUM2/s4Tf0fqpcdoiIQ36e88U=; h=From:Subject:Date:Message-Id:MIME-Version:Content-Type:To:Cc; b=lr/doRAw27glc/eOuweWy7d1ELoMSaYmDRHVPMJGLoB+GCCkLFkpFKPAIFcsX5pyzYmrcAVn2HPT4k2wMPSbK1ZQDSWPwZlZ2cSDm6hrVSxzaVwQ0N2vbaTLlNZoKzNOh36bTfe2WSHurltZzvbbhkGj0fe9ol1jQWDWq9hCDZM= 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=G1fNoATv; arc=none smtp.client-ip=209.85.216.65 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="G1fNoATv" Received: by mail-pj1-f65.google.com with SMTP id 98e67ed59e1d1-34c84ec3b6eso5186957a91.3 for ; Mon, 22 Dec 2025 05:06:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riscstar-com.20230601.gappssmtp.com; s=20230601; t=1766408772; x=1767013572; 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=gSLBcbUhwlgDEaLrs1/PzmUOuvFFTI4tz34GWoit1b0=; b=G1fNoATv4iBtppklR7Rnoeeg9vIYaeKuHzo9H6PLVE6ma/wVQXGx/2qvYr9Sh/iK2c TK/XSgVim3Le7gyDSKVMyhjXdEu/ZoPu0JjqFH82FkDteQV4we48Bp8d3Zo+LFAJfy0b YJE+7P52FWWOHyi7qlIUeRzvkTtCDFit4svZkwKfYjrvpq/w/5PTXAY8RDcxxeCHp+J+ XCYc/s34nTDBt/l5YyKB5WOHZ3/xtvULcnsv4rlT+lQaAgfplVvfkxPThoyAd9+XC9mI ArLN9ssp+mIq5MpeGq1ZGUCp8egkfB9LEJ6PrPPweYFmHf9CvjMije3Lwut7GEG0esdA kenA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1766408772; x=1767013572; 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=gSLBcbUhwlgDEaLrs1/PzmUOuvFFTI4tz34GWoit1b0=; b=tA46uU5PVrsxaRtJkEpTMgRKlNZ3hn9SmW8bJO/mQzEW8cJKNeuJ+lwlyf35ni2Ma/ wTzrrn7dMF/7/UrIwMrbHBG64RJulTP+pxMyUHf18nPgjPJUMEd0J29xyjxiioVyQSa7 q+Sm6FgVLi/OhQeLQkQzMSQsbs6IKS4BTwEIfTowBAy2wdZSZhyOLzcXcEioWxVmg5P1 7hMk5sGArZtj4bq5eMk6U9nnxqOANP7D6NoQ9XMxVuUJCAtLO3rlD3fASxzd6ym1pL2D 45R6XypAvkXSWypzD1jjOyt2/XAHOcWS1B1A5Kz9lNmmu+4ahcmAxKQJmcgF3U1enybr SMyQ== X-Forwarded-Encrypted: i=1; AJvYcCVX5FtK4JNR5Q8cN/c0fxnide2LDtDz++p+A36LV+9DW2GHt+uQCPx5kn/GNMee26vpx2RtJshu4g==@lists.linux.dev X-Gm-Message-State: AOJu0YzokPjevXJEgUnREE+gexrPN3fUlcrKoMt+j/AEpHpXE0Bhprug mNmLt+XKQIuWUDkap/r14KWpdMD5QVLZ/iYuDXjCzpQoT/YLv956Ui3FzNwZsaqq+3I= X-Gm-Gg: AY/fxX4+w6Byvbl+FvoOY4Uskcoqhd3PUWapZN/WFQKqIzMJrkA0dp8BTJ6y26H5OJJ q0I13koyW+vRp9TbWEsKdMHIzx9PUA10QZi+eAMOznAsPTyh7G1QSVNz2lvOlCh92pgq3o20l0n +stH1ngpM0wV90CD5IJ+Vj3xU48/55d6Nu7WogZ4Hg3cJ3s3jWibRDnjB4u9NAjC8IpyzdMoWcI GSWxLvJD901WoUelsSk3CNu+dgCQDFxFFQKz9DNNA9Wftb84v7mKtFgfsvRBQwX25h7bqW0/56j tHULCtMz4LNjq3mwARai3cid6hkQmC98JFUaxqNlp1yxI00FYTJdolknRZMdtIPAkC+W75kDTFZ yIJNZQkTxGZWnLOfA/GwJEr+O8IeIAmxoLxrDWg+LtRvLUKAm1B57DAIbCov1ykn0BuWVWc+5i5 D0fWM8QFSrsTqnOaUvU6o0ycVbmld+F1/oBFnf4cm1kg== X-Google-Smtp-Source: AGHT+IHXI9Uk+L57JPJ2MjX19LtjvDYEjxYY7iQ/11Hl0xX72T2G5hRIIcsMHGDw/P1z/NE6Wuw7Mg== X-Received: by 2002:a17:90b:3c4e:b0:338:3789:2e7b with SMTP id 98e67ed59e1d1-34e92139f2dmr9527010a91.13.1766408772522; Mon, 22 Dec 2025 05:06:12 -0800 (PST) Received: from [127.0.1.1] ([2a12:a305:4::402f]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-34e70c932casm12970405a91.0.2025.12.22.05.05.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 22 Dec 2025 05:06:11 -0800 (PST) From: Guodong Xu Subject: [PATCH v2 00/13] riscv: spacemit: Add SpacemiT K3 SoC and K3 Pico-ITX board Date: Mon, 22 Dec 2025 21:04:10 +0800 Message-Id: <20251222-k3-basic-dt-v2-0-3af3f3cd0f8a@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: 7bit X-B4-Tracking: v=1; b=H4sIAMpBSWkC/23MQQrCMBCF4auUWTuSRFOMK+8hXcRJtIPYlplQl NK7G7t2+T943wKahbPCuVlA8szK41DD7RqgPg6PjJxqgzPOW2dbfB7wFpUJU0FKwR+NaW04Bai PSfKd35t27Wr3rGWUz4bP9rf+d2aLBqNJzrcUEgV3EVbSEmVP4wu6dV2/t9tfw6kAAAA= 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 , Conor Dooley , Heinrich Schuchardt , Kevin Meng Zhang , Anup Patel , Andrew Jones , 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 , Heinrich Schuchardt , Conor Dooley X-Mailer: b4 0.14.2 This series introduces basic support for the SpacemiT K3 SoC and the K3 Pico-ITX evaluation board. This series (starting from v2) also adds descriptions about ISA extensions mandated by the RVA23 Profile Version 1.0 into riscv/extensions.yaml. These additions are implemented in Patches 7 through 11. 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. >From an RVA23 profile compliance perspective, the X100 supports all mandatory extensions required by RVA23U64 and RVA23S64. This v2 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. - Add DT bindings for mandatory extensions of RVA23. This series has been rebased to v6.19-rc2. Link: https://www.spacemit.com/en/spacemit-x100-core/ [1] Patches 7 and 8 from the v1 series have been renumbered to Patches 12 and 13. Changes in v2: - Patch 1: Fixed alphanumeric sorting order of compatible strings (swapped x100 and x60) as per Krzysztof's feedback. Update commit message with more information about X100 featurs per Yixun's feedback. - Patch 4: Fixed the order to keep things alphabetically. - Patch 6: Use "one blank space" between name and email address. - Patch 7 ~ 11: New patches. Add description of RVA23 mandatory extensions into riscv binding YAML file. - Patch 12 (Patch 7 in v1): Removed aliases node. Updated 'riscv,isa-extensions' with new extension strings available - Patch 13 (Patch 8 in v1): Updated the memory address to the hardware truth. Added aliases node in board dts. - Patch 1,2,3,5: Add Reviewed-by and Acked-by collected. Link to v1: https://lore.kernel.org/r/20251216-k3-basic-dt-v1-0-a0d256c9dc92@riscstar.com Signed-off-by: Guodong Xu --- Guodong Xu (13): 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 dt-bindings: riscv: Add B ISA extension description dt-bindings: riscv: Add descriptions for Za64rs, Ziccamoa, Ziccif, and Zicclsm dt-bindings: riscv: Add Ssccptr, Sscounterenw, Sstvala, Sstvecd, Ssu64xl dt-bindings: riscv: Add Sha and its comprised extensions dt-bindings: riscv: Add Supm extension description 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/extensions.yaml | 180 +++++++ .../devicetree/bindings/riscv/spacemit.yaml | 4 + 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 | 38 ++ arch/riscv/boot/dts/spacemit/k3.dtsi | 548 +++++++++++++++++++++ 10 files changed, 776 insertions(+) --- base-commit: 9448598b22c50c8a5bb77a9103e2d49f134c9578 change-id: 20251216-k3-basic-dt-cd9540061989 Best regards, -- Guodong Xu