Received: by 2002:a05:6358:16cd:b0:dc:6189:e246 with SMTP id r13csp3574993rwl; Sun, 6 Nov 2022 01:08:46 -0800 (PST) X-Google-Smtp-Source: AMsMyM4JLUvzh5jzriayVuwvw4Ov5ajP6CpbcHViAVTSSb6uZ9loEielmfPyuubAox64NkxrQ7xr X-Received: by 2002:a50:9ea6:0:b0:463:c701:64de with SMTP id a35-20020a509ea6000000b00463c70164demr27490253edf.63.1667725725862; Sun, 06 Nov 2022 01:08:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667725725; cv=none; d=google.com; s=arc-20160816; b=xNd8ZPKuJCd6AvmfAnYgVR16huCqisswxUam6H8njO/XyWI/roEp2hjomC5O66io88 R0ewwaiWPyuH+Ub/4vUSBXgxEqZ5PNLjakfbIH+g8ZbNRVD9dbXQRtGzcMJdYP47aRI6 d5P+GW5ZQr1Q5ZFNk6MYFKxBM0Oik3fl8/mztIGeRELcyV2rZWX68AhnU/abu/KtX774 eP8CcKDI5zKQHSzX3pucjBCwsASMxIK3cb72K8zd/2Kl5Pqb3ZHyDtpH4L4g2JmAY+j4 u4x57ZkmqwRTX9Uz1pIBw1ers+o3o00FgodgKf7rbHJ2BRGB16MbzMtb+vnPFAaTJsCG 42zA== 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=xWv16uoFOb6bItdqVi9OeYNnzGyV0xjUXLKdhVz8KGs=; b=Ssp3LUvOrcNTEI0LiPNAMJD7jgNLGUZvs2wR+iPpTx4SFpsfJR+RO5rQJ6/KGNB/Uf 7IhxeycGq5pdb1z7GPaZvP33LvfJHxM6W6SFAMpO6tPB0IUYA0eEoRtS5YlFgvq33k22 VH+keWmDAxyL+1jZ9wHZoNwppj2+jEllRw99x6QaNZhxYSf/R3IloPRwkP5OV0acOFfd 8OCIrVnQ+FUL+z1RdVubs1HPC+VH5vnyhf3PVqqy/405WDBrfSICMmSewzHo1tLYhbXy 4ALVRVASSWNL/0d9E64+jJG/WAGj4KMDJ7b1V6DfCnooy+m4MBRfd7P/X0FHWomQf6Of rifQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=hpZ5+Tn7; 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 dn21-20020a05640222f500b00463153e5b14si5077480edb.517.2022.11.06.01.08.23; Sun, 06 Nov 2022 01:08:45 -0800 (PST) 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=hpZ5+Tn7; 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 S229948AbiKFIvO (ORCPT + 96 others); Sun, 6 Nov 2022 03:51:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbiKFIuu (ORCPT ); Sun, 6 Nov 2022 03:50:50 -0500 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF2AADF60; Sun, 6 Nov 2022 01:50:47 -0700 (PDT) Received: from mxbox3.masterlogin.de (unknown [192.168.10.78]) by mxout2.routing.net (Postfix) with ESMTP id 7C7365FF40; Sun, 6 Nov 2022 08:50:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1667724646; 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=xWv16uoFOb6bItdqVi9OeYNnzGyV0xjUXLKdhVz8KGs=; b=hpZ5+Tn7KBcpoPDAZ/XeZBAhLzcJUC8XYQOxJRCzxkLPH05hQlnAzQMPebnHEkI9sNrnLz OU+srMGfTWpM5w2qxBzQpaDuRpvDcadWiwV2sBfbvO5BO2XCWV2R9EzXruvmAOZ0BgkSDZ 0g40hdrFnZxquINAlSmFtxwveMwnQV4= Received: from frank-G5.. (fttx-pool-80.245.79.199.bambit.de [80.245.79.199]) by mxbox3.masterlogin.de (Postfix) with ESMTPSA id ED25936054A; Sun, 6 Nov 2022 08:50:45 +0000 (UTC) From: Frank Wunderlich To: linux-mediatek@lists.infradead.org Cc: Frank Wunderlich , Matthias Brugger , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [RFC v3 10/11] arm64: dts: mt7986: add PCIe nodes to BananaPi-R3 Date: Sun, 6 Nov 2022 09:50:33 +0100 Message-Id: <20221106085034.12582-11-linux@fw-web.de> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20221106085034.12582-1-linux@fw-web.de> References: <20221106085034.12582-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: 3b59d6be-ad3e-472f-8b86-c55df8f8e314 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 93ac67641351..01f92db3336a 100644 --- a/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt7986a-bananapi-bpi-r3.dtsi @@ -195,6 +195,16 @@ &i2c0 { status = "okay"; }; +&pcie { + pinctrl-names = "default"; + pinctrl-0 = <&pcie_pins>; + status = "okay"; +}; + +&pcie_phy { + status = "okay"; +}; + &pio { i2c_pins: i2c-pins { mux { @@ -261,6 +271,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