Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp186034rwi; Wed, 26 Oct 2022 23:05:17 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6GZfZb4leZGPZ/vDDZIP44HtVbdtPkzU9xX6F3138hntimcxmwTBCE16tfqYzjnKC12Dqn X-Received: by 2002:aa7:d996:0:b0:461:88b8:c581 with SMTP id u22-20020aa7d996000000b0046188b8c581mr23425951eds.111.1666850717455; Wed, 26 Oct 2022 23:05:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666850717; cv=none; d=google.com; s=arc-20160816; b=sP1qmnBYJkssRBkm5eCXxiDnF4RpNv6Gq9AR4C1o4TRGpzw0DJnhzBgXVpmqFX3sAR 3MtSqMLScraN3JItxHjXvMcvzFUIlTICLJsIKEH2su8fwEMkd65svE2cz1gTMppO5qSP V5KfaaaccSdaijYGZXEvgNZUoWOeZ9Pt6dkruiCJFPFcGtfLfzssc7acPi75p/wsQbgA TfJb2G2y/QF/4i7EmbG935J+XHv8s50Ivz8leUXtQfn4yF7kkrrGrikO2dGWwNEEr79R +AoKgVy+x5T0r9sdE5Ieg+UNMfXibBxZC/Dx5FD4Vg6za/WJZndcsTCbHcJH0zw3Rq3u 2n5g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=w2ZE/qIsyIboT5rUi20tqGS1dAa2vfhMvGcGE1QuP94=; b=M6gSwpwV1kucRFWKdc6VzfidDna8BVn8P4DiTwE7loqZrArQAhRq9F67SbQqhgqyH2 Sdhv4efXMUNwUY84c8f9GCPBQ85cIRjbsZlHiD7/E+Ui0dQBpOzXvKQzwrTNW6POymlJ YVvCmOM+IyvfS/TpzwcuBLYSv6kkebeRf2szWiKXCAJKYLMX7DAyT6n7SzPzT/Zt6812 t7zy+9+5snoOGkAApQZ+Advq6GsOr3ZPuPQinzZtMV0F5YueYPq4UfLc8iNSDI7ObKu/ pHfUkxpMEYcf1V8LSrVYUISt5kxj14prQobk5QTKCx7fPrUr97EhrH6ujSKugZ2oGvYi K3mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b="xu/80XHq"; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170906455300b0078d44c5da0esi469642ejq.667.2022.10.26.23.04.50; Wed, 26 Oct 2022 23:05:17 -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; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b="xu/80XHq"; 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 S234330AbiJ0GCf (ORCPT + 99 others); Thu, 27 Oct 2022 02:02:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60354 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234358AbiJ0GCH (ORCPT ); Thu, 27 Oct 2022 02:02:07 -0400 Received: from mxout4.routing.net (mxout4.routing.net [IPv6:2a03:2900:1:a::9]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A96C815626C; Wed, 26 Oct 2022 23:01:55 -0700 (PDT) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout4.routing.net (Postfix) with ESMTP id 308E81009A7; Thu, 27 Oct 2022 06:01:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1666850514; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=w2ZE/qIsyIboT5rUi20tqGS1dAa2vfhMvGcGE1QuP94=; b=xu/80XHq712kMldqEFAn77AXFGc4ltrRt3kBabQFKFon+p76ogbIbTgv8EbYLwHF+CVWcc fVSlml6uTxMuLRcbotWh6YM1ASTrCza+naipI+WXjITDLdn6f6uY7/11J9X8WcqqeYdrTQ QIm1JxKe7hDef8RRtCUT4axQnDPq4HI= Received: from frank-G5.. (fttx-pool-80.245.77.6.bambit.de [80.245.77.6]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id 75228405D6; Thu, 27 Oct 2022 06:01:53 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Rob Herring , Krzysztof Kozlowski , Matthias Brugger , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v1 2/2] arm64: dts: mt7986: add PCIe nodes to BananaPi-R3 Date: Thu, 27 Oct 2022 08:01:42 +0200 Message-Id: <20221027060142.6354-3-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221027060142.6354-1-linux@fw-web.de> References: <20221027060142.6354-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: f1260125-602d-462f-afe8-10e90a54aa61 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS 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 From: Frank Wunderlich Add PCIe nodes to Banana Pi R3 SBC which is used on M.2 slot. Signed-off-by: Frank Wunderlich --- .../dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi index fc100c3a6415..8eb7079cf6d7 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi @@ -181,6 +181,16 @@ &i2c0 { status = "okay"; }; +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pins>; + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + &pio { i2c_pins: i2c-pins { mux { @@ -247,6 +257,13 @@ conf-rst { }; }; + pcie_pins: pcie-pins { + mux { + function = "pcie"; + groups = "pcie_clk", "pcie_pereset"; + }; + }; + spi_flash_pins: spi-flash-pins { mux { function = "spi"; -- 2.34.1