mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: marouene.boubakri@oss.nxp.com
To: Rob Herring <robh@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>,
	Paul Walmsley <pjw@kernel.org>,
	Palmer Dabbelt <palmer@dabbelt.com>,
	Albert Ou <aou@eecs.berkeley.edu>,
	Alexandre Ghiti <alex@ghiti.fr>
Cc: Daniel Lezcano <daniel.lezcano@kernel.org>,
	Thomas Gleixner <tglx@kernel.org>,
	Anup Patel <anup@brainfault.org>,
	Samuel Holland <samuel.holland@sifive.com>,
	Radu Rendec <radu@rendec.net>,
	devicetree@vger.kernel.org, linux-riscv@lists.infradead.org,
	linux-kernel@vger.kernel.org,
	Marouene Boubakri <marouene.boubakri@oss.nxp.com>
Subject: [PATCH v2 0/8] riscv: add OpenHW Group CVA6 APU on Digilent Genesys 2
Date: Thu, 26 Nov 2026 17:46:24 +0100	[thread overview]
Message-ID: <20261126164632.978624-1-marouene.boubakri@oss.nxp.com> (raw)

From: Marouene Boubakri <marouene.boubakri@oss.nxp.com>

This series adds support for the OpenHW Group CVA6 APU, the FPGA SoC
built around the CVA6 core (https://github.com/openhwgroup/cva6,
corev_apu/fpga, release v5.3.0), running on the Digilent Genesys 2.

Both configurations of the core built for this board are covered: the
64-bit cv64a6 (rv64imafdc plus B, Zcb, Zicond and Zkn, Sv39, 1 GiB) and
the 32-bit cv32a6 (rv32ima, Sv32, 128 MiB). The SoC description is
shared in a dtsi and the two board .dts files only carry the core
specific properties and the memory size.

The peripherals use existing bindings: 8250 UART, Xilinx SPI with an
mmc-spi-slot, Xilinx GPIO with gpio-leds, SiFive compatible CLINT and
PLIC. Patches 1 to 5 add the vendor prefix and the compatible strings
these bindings need, patch 6 the ARCH_OPENHWGROUP Kconfig option,
patch 7 the device trees and the MAINTAINERS entry, patch 8 enables the
platform in the defconfig.

The lowRISC Ethernet controller and the PULP timer of the platform have
no upstream bindings yet and are left out of the device trees.

The bindings and the device trees have been validated with
dt_binding_check and dtbs_check. The v1 device trees were booted with
the cv64a6 configuration on the Genesys 2 from U-Boot 2026.10; the v2
changes and the cv32a6 configuration are build tested.

Changes in v2:
- Collected Acked-by from Conor Dooley on patches 1 to 4
- Patch 5, 7: version the board compatibles after the CVA6 release the
  bitstream is built from (openhwgroup,cv{32,64}a6-genesys2-v5.3.0,
  openhwgroup,cva6-apu-v5.3.0)
- Patch 6: drop the list of supported platforms from the Kconfig help
- Patch 7: add a clocks property to the cpu node, replacing
  clock-frequency, and document that the 50 MHz clock is the output of
  an MMCM without a register interface
- Link to v1: https://lore.kernel.org/r/20261102141727.640769-1-marouene.boubakri@oss.nxp.com

Marouene Boubakri (8):
  dt-bindings: vendor-prefixes: add OpenHW Group
  dt-bindings: riscv: cpus: add OpenHW Group CVA6 compatibles
  dt-bindings: timer: sifive,clint: add OpenHW Group CVA6 APU
  dt-bindings: interrupt-controller: sifive,plic: add OpenHW Group CVA6
    APU
  dt-bindings: riscv: add OpenHW Group CVA6 APU boards
  riscv: add ARCH_OPENHWGROUP Kconfig option
  riscv: dts: openhwgroup: add CVA6 APU on Digilent Genesys 2
  riscv: defconfig: enable OpenHW Group CVA6 APU support

 .../sifive,plic-1.0.0.yaml                    |   1 +
 .../devicetree/bindings/riscv/cpus.yaml       |   2 +
 .../bindings/riscv/openhwgroup.yaml           |  33 +++++
 .../bindings/timer/sifive,clint.yaml          |   1 +
 .../devicetree/bindings/vendor-prefixes.yaml  |   2 +
 MAINTAINERS                                   |   7 +
 arch/riscv/Kconfig.socs                       |   5 +
 arch/riscv/boot/dts/Makefile                  |   1 +
 arch/riscv/boot/dts/openhwgroup/Makefile      |   2 +
 .../boot/dts/openhwgroup/cv32a6-genesys2.dts  |  30 ++++
 .../boot/dts/openhwgroup/cv64a6-genesys2.dts  |  32 +++++
 .../boot/dts/openhwgroup/cva6-genesys2.dtsi   | 134 ++++++++++++++++++
 arch/riscv/configs/defconfig                  |   3 +
 13 files changed, 253 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/riscv/openhwgroup.yaml
 create mode 100644 arch/riscv/boot/dts/openhwgroup/Makefile
 create mode 100644 arch/riscv/boot/dts/openhwgroup/cv32a6-genesys2.dts
 create mode 100644 arch/riscv/boot/dts/openhwgroup/cv64a6-genesys2.dts
 create mode 100644 arch/riscv/boot/dts/openhwgroup/cva6-genesys2.dtsi

-- 
2.43.0


             reply	other threads:[~2026-11-26 16:32 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-26 16:46 marouene.boubakri [this message]
2026-11-26 16:46 ` [PATCH v2 1/8] dt-bindings: vendor-prefixes: add OpenHW Group marouene.boubakri
2026-11-26 16:46 ` [PATCH v2 2/8] dt-bindings: riscv: cpus: add OpenHW Group CVA6 compatibles marouene.boubakri
2026-11-26 16:46 ` [PATCH v2 3/8] dt-bindings: timer: sifive,clint: add OpenHW Group CVA6 APU marouene.boubakri
2026-11-26 16:46 ` [PATCH v2 4/8] dt-bindings: interrupt-controller: sifive,plic: " marouene.boubakri
2026-11-26 16:46 ` [PATCH v2 5/8] dt-bindings: riscv: add OpenHW Group CVA6 APU boards marouene.boubakri
2026-11-27 18:18   ` Conor Dooley
2026-11-26 16:46 ` [PATCH v2 6/8] riscv: add ARCH_OPENHWGROUP Kconfig option marouene.boubakri
2026-11-26 16:46 ` [PATCH v2 7/8] riscv: dts: openhwgroup: add CVA6 APU on Digilent Genesys 2 marouene.boubakri
2026-11-26 16:46 ` [PATCH v2 8/8] riscv: defconfig: enable OpenHW Group CVA6 APU support marouene.boubakri
2026-11-27 18:36 ` [PATCH v2 0/8] riscv: add OpenHW Group CVA6 APU on Digilent Genesys 2 Conor Dooley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20261126164632.978624-1-marouene.boubakri@oss.nxp.com \
    --to=marouene.boubakri@oss.nxp.com \
    --cc=alex@ghiti.fr \
    --cc=anup@brainfault.org \
    --cc=aou@eecs.berkeley.edu \
    --cc=conor+dt@kernel.org \
    --cc=daniel.lezcano@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-riscv@lists.infradead.org \
    --cc=palmer@dabbelt.com \
    --cc=pjw@kernel.org \
    --cc=radu@rendec.net \
    --cc=robh@kernel.org \
    --cc=samuel.holland@sifive.com \
    --cc=tglx@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®