From patchwork Thu Jun 29 07:51:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Minda Chen X-Patchwork-Id: 114197 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp9469565vqr; Thu, 29 Jun 2023 01:01:35 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4tXxBk2Oe4IXA3eeEUknjwJFk+yIMi3HGfyoFrCl/F8pCmfYQXwx1PfZJA8CKTrRfftptS X-Received: by 2002:a05:6a20:8426:b0:11f:7829:6d6c with SMTP id c38-20020a056a20842600b0011f78296d6cmr43280893pzd.3.1688025694813; Thu, 29 Jun 2023 01:01:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1688025694; cv=none; d=google.com; s=arc-20160816; b=YRE9mCNHV+exLQhhA1I6Mdbu+LYRYCZ0BBoS9gzfeqq19A/ZTfCJfXSs3vswd/Ruvy RQKLoHXwBdj6S6RS1PzcuXWPNb8Qmjimmn6iogGMUvKHQaARVQXK0gyxNfOzOQl46SYp Is2voZlouvdf7HYLKEIq7FORYE90aqVi/tuY3yN+1m/miqdkK0vaKIPhIC4/amV+xsbI O/s+/dnRY9Rfhp4NwazSmj7uWhnq8/TRtgf1g2CA0mbXW1bLpU1z/MFkklS4YFcI8LrE +4O7yUDdXoHQvG+SWOH+5lljhsYuUZMilOWtAu3fWibYx/MUqVtBH17goYI6DuQ25dgQ ChOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=H4YBSkCM6N0QC3JdGk8cwcRnqeE58+643D777/LBIHE=; fh=eeODssFzCiLuj4Y2Poz4a1+JaBBLhhwnNU23JWsakRA=; b=n7e8VfbaGXhNkgdR9POsim9oMXlhu3ioGIfWZxTIl0GVDzxRuXmtiM4C9HwbcDqGgu uX8DyBWELQMXCVp7fflKJ2MUFn42Yo/rLIjwRpv7k8JBf4fA1HnXmemHBzpDnyL5wrcn Wmw9fpGcpkPZHCpNaOqbJmgVR1evbx4hi13L3TGLFZRUMMok5aSG5/BnoLd9vq+o9uRN GnLGBuTzceWuNJP1Oph1vwaZVkuMlNMsaUWBsukjj5ETtaPd6nB2FDBEJst3YNapQjJk 5EMhu8Xx5t+DLx/O8ofiEbDV58MSNyqS8uDNgfD71g1E5iSTKPnkJQKCZ9pfBqJJYujT eb6Q== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id by8-20020a056a00400800b0067a4b6093a8si6059182pfb.29.2023.06.29.01.01.16; Thu, 29 Jun 2023 01:01:34 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232458AbjF2Hxh (ORCPT + 99 others); Thu, 29 Jun 2023 03:53:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33262 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232260AbjF2Hwl (ORCPT ); Thu, 29 Jun 2023 03:52:41 -0400 Received: from ex01.ufhost.com (ex01.ufhost.com [61.152.239.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B1EB82D7C; Thu, 29 Jun 2023 00:51:22 -0700 (PDT) Received: from EXMBX165.cuchost.com (unknown [175.102.18.54]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "EXMBX165", Issuer "EXMBX165" (not verified)) by ex01.ufhost.com (Postfix) with ESMTP id 5C91C24E2D7; Thu, 29 Jun 2023 15:51:21 +0800 (CST) Received: from EXMBX171.cuchost.com (172.16.6.91) by EXMBX165.cuchost.com (172.16.6.75) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 29 Jun 2023 15:51:21 +0800 Received: from ubuntu.localdomain (183.27.97.206) by EXMBX171.cuchost.com (172.16.6.91) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Thu, 29 Jun 2023 15:51:20 +0800 From: Minda Chen To: Emil Renner Berthing , Conor Dooley , Vinod Koul , Kishon Vijay Abraham I , Rob Herring , Krzysztof Kozlowski , Roger Quadros CC: , , , , "Paul Walmsley" , Palmer Dabbelt , Albert Ou , Minda Chen , Mason Huo Subject: [PATCH v8 5/5] riscv: dts: starfive: Add PCIe PHY dts configuration for JH7110 Date: Thu, 29 Jun 2023 15:51:15 +0800 Message-ID: <20230629075115.11934-6-minda.chen@starfivetech.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20230629075115.11934-1-minda.chen@starfivetech.com> References: <20230629075115.11934-1-minda.chen@starfivetech.com> MIME-Version: 1.0 X-Originating-IP: [183.27.97.206] X-ClientProxiedBy: EXCAS063.cuchost.com (172.16.6.23) To EXMBX171.cuchost.com (172.16.6.91) X-YovoleRuleAgent: yovoleflag X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1770023231345201748?= X-GMAIL-MSGID: =?utf-8?q?1770023231345201748?= Add PCIe PHY dts configuration for StarFive JH7110 SoC. PCIe0 PHY can be use as USB 3.0 PHY. Signed-off-by: Minda Chen Reviewed-by: Hal Feng --- arch/riscv/boot/dts/starfive/jh7110.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/riscv/boot/dts/starfive/jh7110.dtsi b/arch/riscv/boot/dts/starfive/jh7110.dtsi index 4c5fdb905da8..7e5c3ae83aa1 100644 --- a/arch/riscv/boot/dts/starfive/jh7110.dtsi +++ b/arch/riscv/boot/dts/starfive/jh7110.dtsi @@ -353,6 +353,18 @@ status = "disabled"; }; + pciephy0: phy@10210000 { + compatible = "starfive,jh7110-pcie-phy"; + reg = <0x0 0x10210000 0x0 0x10000>; + #phy-cells = <0>; + }; + + pciephy1: phy@10220000 { + compatible = "starfive,jh7110-pcie-phy"; + reg = <0x0 0x10220000 0x0 0x10000>; + #phy-cells = <0>; + }; + uart3: serial@12000000 { compatible = "snps,dw-apb-uart"; reg = <0x0 0x12000000 0x0 0x10000>;