From patchwork Thu Mar 20 10:54:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Pinkesh Vaghela X-Patchwork-Id: 14023702 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 46FAFC36002 for ; Thu, 20 Mar 2025 10:55:12 +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:References:In-Reply-To: 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: List-Owner; bh=KhukLEmiRV/mnwKuN7yzDMtY1sLKsPKrwpUo3Zb1QVU=; b=qX9ZQ3nn+YzkM5 wxyezQwIaaR1os8G31hH1DPwcv+g2Fiz5MIFcQD9gKoAYvjAEYELmICKk7M9/rzIJJlAS1d+Tfn1U VP4WI/GrQtXMNCqsg0L4fmyZHCeBZCdoUq4yy1abVkIG2fC6ylfTuCb/PBvwmGPCHWHqP0eL9wWJE 8R4R2MZIqdRDqR+MYMlWV40Dsh9m2zDHjuY4Rm86QG5yX3NmI6IRlCSTMwOH+ueoHzxur+JjcYbiC qjgA4DfNWE6O6nXjMDnvN3XYSCImr05xtNkGmyujrZMNghIyCXjol/fNNkYDFPqRT8MGmihmehnca pQvWTKi7QqOX99xjhbJg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1tvDYJ-0000000Bs8B-1yYa; Thu, 20 Mar 2025 10:55:07 +0000 Received: from naesa03.arrow.com ([216.150.161.23]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1tvDYF-0000000Brv6-11BM for linux-riscv@lists.infradead.org; Thu, 20 Mar 2025 10:55:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=einfochips.com; i=@einfochips.com; l=2333; q=dns/txt; s=NAESA-Selector1; t=1742468103; x=1774004103; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=5heB6PuMYbbcCT5z+UhKDkhRC7FHz+vObUOuQmwwSh4=; b=Na7bmkCHu4lCNvdMbXdPmCOGj1VJ/VRBRiZ1rgT6Lny3Y/+5SEplNDnT gE26zVHGh4cP4WqdotVlSfz2C9Z1AQpXsG7pQ+UD3+fMx5K+aLh9B5nI9 XiPmnDnqN5rchn3IRpPo3fGirwliIJs5J0JCPDsEWC4gImGhSxUPxDYXG Prub4t9RcGBxKK3VUlGSWAEeSa+fke+4GqFajEYl8fJZHqpatqaM4Cx9j c6iZ79VKrxt0oux/RQwfHFXhW1RVCvSkXKm6CgNBBhc48sT75e6WIS1/A +VnlRZrkR1bhnTITb51uhhBGYM4+oSqqa/gR+ZcYmXdNct1mU/2VuxT5i Q==; X-CSE-ConnectionGUID: c00AVAyyRf+inAtPhDc0oQ== X-CSE-MsgGUID: 3KmseeC1QHeIPGaMUt46Ig== X-IronPort-AV: E=Sophos;i="6.14,261,1736838000"; d="scan'208";a="80317575" Received: from unknown (HELO eicahmirelay01.einfochips.com) ([10.100.49.50]) by naesa03out.arrow.com with ESMTP; 20 Mar 2025 04:55:02 -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:50 +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 10/10] riscv: dts: eswin: add HiFive Premier P550 board device tree Date: Thu, 20 Mar 2025 16:24:49 +0530 Message-Id: <20250320105449.2094192-11-pinkesh.vaghela@einfochips.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20250320105449.2094192-1-pinkesh.vaghela@einfochips.com> References: <20250320105449.2094192-1-pinkesh.vaghela@einfochips.com> MIME-Version: 1.0 X-OriginalArrivalTime: 20 Mar 2025 10:54:50.0214 (UTC) FILETIME=[80BDA060:01DB9986] X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250320_035503_362258_1403C1D0 X-CRM114-Status: GOOD ( 12.36 ) 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 From: Min Lin Add initial board data for HiFive Premier P550 Development board Currently the data populated in this DT file describes the board DRAM configuration, UART and GPIO. Signed-off-by: Min Lin Co-developed-by: Pinkesh Vaghela Signed-off-by: Pinkesh Vaghela Reviewed-by: Samuel Holland Tested-by: Samuel Holland --- arch/riscv/boot/dts/Makefile | 1 + arch/riscv/boot/dts/eswin/Makefile | 2 ++ .../dts/eswin/eic7700-hifive-premier-p550.dts | 29 +++++++++++++++++++ 3 files changed, 32 insertions(+) create mode 100644 arch/riscv/boot/dts/eswin/Makefile create mode 100644 arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts diff --git a/arch/riscv/boot/dts/Makefile b/arch/riscv/boot/dts/Makefile index bff887d38abe..286a9939a8cb 100644 --- a/arch/riscv/boot/dts/Makefile +++ b/arch/riscv/boot/dts/Makefile @@ -1,6 +1,7 @@ # SPDX-License-Identifier: GPL-2.0 subdir-y += allwinner subdir-y += canaan +subdir-y += eswin subdir-y += microchip subdir-y += renesas subdir-y += sifive diff --git a/arch/riscv/boot/dts/eswin/Makefile b/arch/riscv/boot/dts/eswin/Makefile new file mode 100644 index 000000000000..224101ae471e --- /dev/null +++ b/arch/riscv/boot/dts/eswin/Makefile @@ -0,0 +1,2 @@ +# SPDX-License-Identifier: GPL-2.0 +dtb-$(CONFIG_ARCH_ESWIN) += eic7700-hifive-premier-p550.dtb diff --git a/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts new file mode 100644 index 000000000000..131ed1fc6b2e --- /dev/null +++ b/arch/riscv/boot/dts/eswin/eic7700-hifive-premier-p550.dts @@ -0,0 +1,29 @@ +// SPDX-License-Identifier: (GPL-2.0 OR MIT) +/* + * Copyright (c) 2024, Beijing ESWIN Computing Technology Co., Ltd. + */ + +/dts-v1/; + +#include "eic7700.dtsi" + +/ { + compatible = "sifive,hifive-premier-p550", "eswin,eic7700"; + model = "SiFive HiFive Premier P550"; + + aliases { + serial0 = &uart0; + }; + + chosen { + stdout-path = "serial0:115200n8"; + }; +}; + +&uart0 { + status = "okay"; +}; + +&uart2 { + status = "okay"; +};