From patchwork Tue Sep 24 08:06:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandie Cao X-Patchwork-Id: 13810461 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 AB386CF9C71 for ; Tue, 24 Sep 2024 08:07:44 +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:Date:Subject:From:Cc:To:Mime-Version: Message-Id: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=MG/HVQPb9EK93dQ7vepRsODMVgjbaqlGV4YMH29EMDk=; b=tgPVhzkXC9f/qx xQZH10aG/4ok2C5ktRF4XfTm+vHHyPTzlxjxv5bIhezpBBiRAkof1J2BZ+mgTj/wGP5gf4paYw2+M K3rnVATSuxW4j5qeYv0YM4dIv0Tns0LgKJ/3oJmdXBFNfofzO3ZuRas/3FAerBAVmHtB3VnjjpD3C js7FyZ9jc4MqN4rGu1/anped9GEDfXKU4du8GBWv0yb78QrsiDuCyQQVbUZxeVGJQo6ZRsVh0GN8J Qf3DzTvTBXoni4So5qB04YAJ9xSF585Q1LapBOvD3hjyeoVg+eWqJnDSG4t6VY1ORbEmsms0kZVId KJM3BnIUvbpDQGw9A/Wg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st0aC-00000001X7U-1XhR; Tue, 24 Sep 2024 08:07:40 +0000 Received: from va-2-41.ptr.blmpb.com ([209.127.231.41]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st0a7-00000001X4t-1Pi4 for linux-riscv@lists.infradead.org; Tue, 24 Sep 2024 08:07:37 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=deepcomputing-io.20200927.dkim.feishu.cn; t=1727165243; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=n4FlAamSfqVt7limHNsws50tZuvmPfsWIXOGbBiq7G8=; b=pTTBsRxtcpT1X806nIPg1ilOeZVDPMla+E+UNcUaidTala1kf2rWiH/3BHGv6WSxyJkB+B 1tx1uAPInS+qOHx5kvYU9m+tYOyPBYVPvy/BPaMToMoKzX5HcPcgcmguowp/FBiujL1y2K WGaMnZnl5qs2elGkAyeRUC5D7weO5EEgCFHYqIeDT5PEQhMWZKXrQxUciqZrpvQbymNA2m ClWo2lWGSlQiwvfwopvre+8h4Mej2cxwSW3rn353NCOM7DUcugf2mQw/Wsq0eeH4IKmqN+ r4daMtxY5a38lUZ++3OUo+iOidLkjMX/nq9aN2sIQYxuvuzjFDsRlNPgkXFJ4w== Message-Id: <20240924080650.1345485-2-sandie.cao@deepcomputing.io> Mime-Version: 1.0 X-Lms-Return-Path: To: "Conor Dooley" Cc: "Emil Renner Berthing" , "Rob Herring" , "Krzysztof Kozlowski" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Heiko Stuebner" , "Neil Armstrong" , , "Linus Walleij" , "Michael Zhu" , "Drew Fustini" , , , , , , , , , "Sandie Cao" From: "Sandie Cao" Subject: [patch v2 1/3] dt-bindings: vendor: add deepcomputing X-Original-From: Sandie Cao Date: Tue, 24 Sep 2024 16:06:48 +0800 X-Mailer: git-send-email 2.34.1 Received: from roma-MacBookPro.. ([61.141.249.39]) by smtp.feishu.cn with ESMTPS; Tue, 24 Sep 2024 16:07:21 +0800 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_010735_483083_DF20F057 X-CRM114-Status: UNSURE ( 4.56 ) X-CRM114-Notice: Please train this message. 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 deepcomputing into vendor list. Signed-off-by: Sandie Cao Acked-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/vendor-prefixes.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/vendor-prefixes.yaml b/Documentation/devicetree/bindings/vendor-prefixes.yaml index 56d180f9c1cc..7803b53e9a6a 100644 --- a/Documentation/devicetree/bindings/vendor-prefixes.yaml +++ b/Documentation/devicetree/bindings/vendor-prefixes.yaml @@ -356,6 +356,8 @@ patternProperties: description: DataImage, Inc. "^davicom,.*": description: DAVICOM Semiconductor, Inc. + "^deepcomputing,.*": + description: DeepComputing (HK) Limited "^dell,.*": description: Dell Inc. "^delta,.*": From patchwork Tue Sep 24 08:06:49 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandie Cao X-Patchwork-Id: 13810462 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 1CEA9CF9C72 for ; Tue, 24 Sep 2024 08:07:45 +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:Message-Id:Date:From:Mime-Version: Subject:Cc:To: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=84IW/gFgoReqMjb5eXjY7584lTZsapqYkBPlCsFE2BA=; b=v3vpC+OkbbHvSP cfPwincvW5yzoKn3ZC/LbjKK7W4Z31HEofG0lnp97lA3jov7E69pg1wkA+6ICVHFuSLbw6AKcgasF kEO+j3AQPHuQkCPa/EgW6nSUfRBaDXN3lBLbmYKo9UYnco6DjmbkSDC9On+QXNrLfat1QO42BH31T fFTjIHzxUu55KCotX5tBg7e7j6RzyWPfXF+WiBH9Pzl/DuoJhdEd8zLWz8pKw7UTgcN5otqai4YwJ J9tWjEq9m41+i8y7VC4m/GnLSQ7B5BMJA4aCVFjbjkgT+cDCgPOBt+oDxbrn0MvVZnv47So/0eP/H ExvLeGYBpzi2OQpF3e5A==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st0aE-00000001X8K-0kic; Tue, 24 Sep 2024 08:07:42 +0000 Received: from va-1-14.ptr.blmpb.com ([209.127.230.14]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st0aA-00000001X61-2e8y for linux-riscv@lists.infradead.org; Tue, 24 Sep 2024 08:07:40 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=deepcomputing-io.20200927.dkim.feishu.cn; t=1727165246; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=oB/VU3FI/FnFWz9K+uig7hfrJEDRFlku8hT2eEzdBzo=; b=CRG2h/L0bBUN/UsrxJVVtSo/Xxa0sEFeDOtByr8dsb+ZK0TcO5qG3/7fLZWfCB9pjAL8sm qkEM2i2Hd/4uN2RfUZZ6s6kCRZjO80aZC8Ly59vRahQRR5+6hmC5e7md/B9Giy0R5Trver Mp2H9tlJwGX4CKNd+ZnVycirqJToOwQjib57yetnP8S3ns/LLpMA6Qhda1lsbYu0kNQkFP luE3yEoFlSS3oIIc4r0Hz/brctXK1G18U12jsRhd+6aX08rurG5RIO+Z+FXaE02QJXQ3gU vElY0XYyLyG+cfdsn6hAbitOhVwnfeCteFr15uKc2ALOF2QWbZmNjU6bD7CFKw== To: "Conor Dooley" Cc: "Emil Renner Berthing" , "Rob Herring" , "Krzysztof Kozlowski" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Heiko Stuebner" , "Neil Armstrong" , , "Linus Walleij" , "Michael Zhu" , "Drew Fustini" , , , , , , , , , "Sandie Cao" X-Original-From: Sandie Cao X-Lms-Return-Path: Subject: [patch v2 2/3] dt-bindings: riscv: starfive: add deepcomputing,fm7110 Received: from roma-MacBookPro.. ([61.141.249.39]) by smtp.feishu.cn with ESMTPS; Tue, 24 Sep 2024 16:07:24 +0800 Mime-Version: 1.0 X-Mailer: git-send-email 2.34.1 From: "Sandie Cao" Date: Tue, 24 Sep 2024 16:06:49 +0800 Message-Id: <20240924080650.1345485-3-sandie.cao@deepcomputing.io> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_010738_767912_E405CBD6 X-CRM114-Status: UNSURE ( 4.93 ) X-CRM114-Notice: Please train this message. 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 deepcomputing,fm7110 into compatible list. Signed-off-by: Sandie Cao --- Documentation/devicetree/bindings/riscv/starfive.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/Documentation/devicetree/bindings/riscv/starfive.yaml b/Documentation/devicetree/bindings/riscv/starfive.yaml index 4d5c857b3cac..778617e1dc43 100644 --- a/Documentation/devicetree/bindings/riscv/starfive.yaml +++ b/Documentation/devicetree/bindings/riscv/starfive.yaml @@ -26,6 +26,7 @@ properties: - items: - enum: + - deepcomputing,fm7110 - milkv,mars - pine64,star64 - starfive,visionfive-2-v1.2a From patchwork Tue Sep 24 08:06:50 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sandie Cao X-Patchwork-Id: 13810460 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 C2CF8CF9C71 for ; Tue, 24 Sep 2024 08:07:40 +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:To:Mime-Version:From:Date:Subject: Message-Id:Cc: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=64EE0RHQJZbG9zKeh/cLBzVhpGKFlNsG0oqtiAqW9Pg=; b=o3ekAtL2bWEhjr f1X/77mHvaNGGJG26UTba+wTXq0MDAdOc4NGGcZEg71zKjFinwqo3T2rDq9EOWpHk1iYq8/eTIX9H 6U9qNJXVkdzi3I0TEszU/i6CEBqe7u8tGV9SSKydaaTVzMzAi0JUFtHkYb6ZjmFxyV+x5BAWoGMRK vrm9tcYsdyskLqXfR5CshwWyq4TnukM6Z2Fy9vhlA7mFBNne/knu6upE/qf6skJrxagqNUPUX+mVo UK1Bh7Gw6TrUYJQQVs6J/4qZtYQxxes2WHLbqKnZr2K0m7v1oLHRqLdNdrNTHDRvqTnExMkri96mr kJ3ApThbDVOS6ZeYR5cQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1st0a9-00000001X6H-20aq; Tue, 24 Sep 2024 08:07:37 +0000 Received: from va-2-45.ptr.blmpb.com ([209.127.231.45]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1st0a7-00000001X4u-1PpI for linux-riscv@lists.infradead.org; Tue, 24 Sep 2024 08:07:36 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; s=s1; d=deepcomputing-io.20200927.dkim.feishu.cn; t=1727165249; h=from:subject:mime-version:from:date:message-id:subject:to:cc: reply-to:content-type:mime-version:in-reply-to:message-id; bh=fzkxprVY0lk6xx/1RY0VC7ls/cvJeG6XaU2AqRX8C3A=; b=StysXZtUGeWXIFxFcA71ZhQdQVvChJmXX+WuGWgtzG+RaR/VOQMNoC97HSpweEi54Lpbr0 Uxfw5RIJNRlOz0vOaZv7wRKHV2Su0MGEvVNs44WcLyhYRPcRpuHuWcXi4cy3qHAvObhqi4 2oxLmMWlRUxz8JwUz5tw9OJUtMFcNrCdeMPxHmNXvm8IY+pWYQmWenZxRNre8k8F8YM+ii zYMBpP4byLXWvjk2DeAPCPJ6L/4PtqHrPtrJzive9MPFimkMfroQTos4UnfMuX7238Ka/I tPApxEpZ/qyB1HkcW1b4qBfJpNzkCvq+8jIb2yitq/PfxdSWmHIy/YC/bmMPkg== X-Mailer: git-send-email 2.34.1 X-Original-From: Sandie Cao Cc: "Emil Renner Berthing" , "Rob Herring" , "Krzysztof Kozlowski" , "Paul Walmsley" , "Palmer Dabbelt" , "Albert Ou" , "Heiko Stuebner" , "Neil Armstrong" , , "Linus Walleij" , "Michael Zhu" , "Drew Fustini" , , , , , , , , , "Sandie Cao" Message-Id: <20240924080650.1345485-4-sandie.cao@deepcomputing.io> Subject: [patch v2 3/3] riscv: dts: starfive: add framework dts Received: from roma-MacBookPro.. ([61.141.249.39]) by smtp.feishu.cn with ESMTPS; Tue, 24 Sep 2024 16:07:27 +0800 X-Lms-Return-Path: Date: Tue, 24 Sep 2024 16:06:50 +0800 From: "Sandie Cao" Mime-Version: 1.0 To: "Conor Dooley" X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240924_010735_482295_74A3551B X-CRM114-Status: GOOD ( 10.00 ) 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 framework dts to support RISC-V Framework Laptop 13 Mainboard. Signed-off-by: Sandie Cao --- arch/riscv/boot/dts/starfive/Makefile | 1 + .../boot/dts/starfive/jh7110-framework.dts | 34 +++++++++++++++++++ 2 files changed, 35 insertions(+) create mode 100644 arch/riscv/boot/dts/starfive/jh7110-framework.dts diff --git a/arch/riscv/boot/dts/starfive/Makefile b/arch/riscv/boot/dts/starfive/Makefile index 7a163a7d6ba3..3746f7122834 100644 --- a/arch/riscv/boot/dts/starfive/Makefile +++ b/arch/riscv/boot/dts/starfive/Makefile @@ -8,6 +8,7 @@ DTC_FLAGS_jh7110-starfive-visionfive-2-v1.3b := -@ dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-beaglev-starlight.dtb dtb-$(CONFIG_ARCH_STARFIVE) += jh7100-starfive-visionfive-v1.dtb +dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-framework.dtb dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-milkv-mars.dtb dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-pine64-star64.dtb dtb-$(CONFIG_ARCH_STARFIVE) += jh7110-starfive-visionfive-2-v1.2a.dtb diff --git a/arch/riscv/boot/dts/starfive/jh7110-framework.dts b/arch/riscv/boot/dts/starfive/jh7110-framework.dts new file mode 100644 index 000000000000..ff12c24ebab3 --- /dev/null +++ b/arch/riscv/boot/dts/starfive/jh7110-framework.dts @@ -0,0 +1,34 @@ +// SPDX-License-Identifier: GPL-2.0 OR MIT +/* + * Copyright (C) 2022 StarFive Technology Co., Ltd. + * Copyright (C) 2022 Emil Renner Berthing + */ + +/dts-v1/; +#include "jh7110-common.dtsi" + +/ { + model = "Framework FRANME0000"; + compatible = "deepcomputing,fm7110", "starfive,jh7110"; +}; + +&gmac0 { + status = "disabled"; +}; + +&gmac1 { + status = "disabled"; +}; + +&usb0 { + dr_mode = "host"; + status = "okay"; +}; + +&pwmdac { + status = "disabled"; +}; + +&pcie0 { + status = "disabled"; +};