From patchwork Thu Mar 20 10:54:39 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pinkesh Vaghela X-Patchwork-Id: 14023693 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id C3FA9C36000 for ; Thu, 20 Mar 2025 10:55:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject:Cc :To:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=yd7ZRkjjpGfy55gxTRtiMpm9w1IabzcZe8rGZbgNQW4=; b=mj/Jp5AHBQjk0w Wlm5tUdxuQ0Dx5u73ZXpBw23FpS/0LW5AjrZNuKzR+td8F+NOboXnNS3RsjSf2Hv1VmQGkSBx1Nb/ yQYnIgow2snO/bwc0Ug/imNYu6BoHDONXwnLkWJcDGA49OfDh4fSLE9kYlnvcU7Zbo2XjL0Hc3OT7 TOSCa4Os48Cgjz4ee18dBjFqbXkWCxfsBOrDFq/MSZXHFF+mG3RuKwzrTIBIfwTBgA1Dbi75HBU5F VI9e6kZ/jv7pFmLYEM9Gc7w4SMnEIU+44NZ5MiqjA3qhbB7O15mmmL9MJv7N4r/S+ctQMf7xd3s/M pVmg5G8+ypAThG8X8Nqw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tvDY8-0000000Brwz-3kHs; Thu, 20 Mar 2025 10:54:56 +0000 Received: from naesa03.arrow.com ([216.150.161.23]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tvDY5-0000000Brv6-43yQ for linux-riscv@lists.infradead.org; Thu, 20 Mar 2025 10:54:55 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=einfochips.com; i=@einfochips.com; l=2547; q=dns/txt; s=NAESA-Selector1; t=1742468094; x=1774004094; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=X0wyKFUB79B8njiPMvO0AbT8BMzGHrl1igEtHamhg4Y=; b=Dk6a+AJgkUGn2x3YZVzS9ezGBHGUkfh7nmLJBcKbmuNdg2sIZEQsFFTF MnpOEUzDzIr3oNQio0H4IKVwpOf4AX4xRmPoC8VPNMfneSOgZHm8MNK3E OJcRXRt8Xe/CthQwi8QuejvvYEJy+UeMvsisZQubQZGhz5YxNDJn5bAvV rbMNz7EcgqvUaz0eDTDGyuf/9xjtcevCSOEuG84i6VqFwkXMQGnE0OCgR d7NxHlWgbYgP05KplHDmo2rcrI1yujbGqZ0ZwXZErFhrA0Spra+908SBW UQUsm+MKpJWazJ6CJU22Rm6bRz7D0KWLz5JcpzAA9gBqLL/YCF5FurUA6 w==; X-CSE-ConnectionGUID: o6NF8Fp/Sh+VCzjxy6nUxw== X-CSE-MsgGUID: x3EfGpxgTbK8EryTjd7vsw== X-IronPort-AV: E=Sophos;i="6.14,261,1736838000"; d="scan'208";a="80317523" Received: from unknown (HELO eicahmirelay01.einfochips.com) ([10.100.49.50]) by naesa03out.arrow.com with ESMTP; 20 Mar 2025 04:54:51 -0600 Received: from AHMCPU1888.ap.corp.arrow.com ([172.25.5.100]) by eicahmirelay01.einfochips.com with Microsoft SMTPSVC(10.0.14393.4169); Thu, 20 Mar 2025 16:24:49 +0530 From: Pinkesh Vaghela To: Conor Dooley , Rob Herring , Krzysztof Kozlowski , Thomas Gleixner Cc: Paul Walmsley , Samuel Holland , Palmer Dabbelt , Albert Ou , Daniel Lezcano , Min Lin , Pinkesh Vaghela , Pritesh Patel , Yangyu Chen , Lad Prabhakar , Yu Chien Peter Lin , Charlie Jenkins , Kanak Shilledar , Darshan Prajapati , Neil Armstrong , Heiko Stuebner , Aradhya Bhatia , rafal@milecki.pl, Anup Patel , devicetree@vger.kernel.org, linux-riscv@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 00/10] Basic device tree support for ESWIN EIC7700 RISC-V SoC Date: Thu, 20 Mar 2025 16:24:39 +0530 Message-Id: <20250320105449.2094192-1-pinkesh.vaghela@einfochips.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-OriginalArrivalTime: 20 Mar 2025 10:54:49.0663 (UTC) FILETIME=[80698CF0:01DB9986] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250320_035454_067767_E0F2135A X-CRM114-Status: GOOD ( 11.79 ) X-BeenThere: linux-riscv@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-riscv" Errors-To: linux-riscv-bounces+linux-riscv=archiver.kernel.org@lists.infradead.org Add support for ESWIN EIC7700 SoC consisting of SiFive Quad-Core P550 CPU cluster and the first development board that uses it, the SiFive HiFive Premier P550. This patch series adds initial device tree and also adds ESWIN architecture support. Boot-tested using intiramfs with Linux 6.14.0-rc2 on HiFive Premier P550 board using U-Boot 2024.01 and OpenSBI 1.4. Changes in v2: - Added "Acked-by" tag of "Conor Dooley" for Patches 1, 2, 3, 7 and 8 - Added "Reviewed-by" tag of "Matthias Brugger" for Patch 4 - Updated MAINTAINERS file - Add the path for the eswin binding file - Updated sifive,ccache0.yaml - Add restrictions for "cache-size" property based on the compatible string - Link to v1: https://lore.kernel.org/lkml/20250311073432.4068512-1-pinkesh.vaghela@einfochips.com/ Darshan Prajapati (3): dt-bindings: riscv: Add SiFive P550 CPU compatible dt-bindings: interrupt-controller: Add ESWIN EIC7700 PLIC dt-bindings: timer: Add ESWIN EIC7700 CLINT Min Lin (2): riscv: dts: add initial support for EIC7700 SoC riscv: dts: eswin: add HiFive Premier P550 board device tree Pinkesh Vaghela (2): riscv: Add Kconfig option for ESWIN platforms cache: sifive_ccache: Add ESWIN EIC7700 support Pritesh Patel (3): dt-bindings: vendor-prefixes: add eswin dt-bindings: riscv: Add SiFive HiFive Premier P550 board dt-bindings: cache: sifive,ccache0: Add ESWIN EIC7700 SoC compatibility .../bindings/cache/sifive,ccache0.yaml | 44 ++- .../sifive,plic-1.0.0.yaml | 1 + .../devicetree/bindings/riscv/cpus.yaml | 1 + .../devicetree/bindings/riscv/eswin.yaml | 29 ++ .../bindings/timer/sifive,clint.yaml | 1 + .../devicetree/bindings/vendor-prefixes.yaml | 2 + MAINTAINERS | 8 + arch/riscv/Kconfig.socs | 6 + arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/eswin/Makefile | 2 + .../dts/eswin/eic7700-hifive-premier-p550.dts | 29 ++ arch/riscv/boot/dts/eswin/eic7700.dtsi | 344 ++++++++++++++++++ drivers/cache/sifive_ccache.c | 2 + 13 files changed, 467 insertions(+), 3 deletions(-) create mode 100644 Documentation/devicetree/bindings/riscv/eswin.yaml create mode 100644 arch/riscv/boot/dts/eswin/Makefile create mode 100644 arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts create mode 100644 arch/riscv/boot/dts/eswin/eic7700.dtsi