Received: by 2002:a05:6602:2086:0:0:0:0 with SMTP id a6csp4053148ioa; Tue, 26 Apr 2022 16:01:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8AQLOgXn8ygOUSGlAwKI7mSPh2M/OZqaLjZdJNAnqhxS/HXqQy7vnLoB2Thb0dxqDUvr1 X-Received: by 2002:a17:902:ef50:b0:156:486f:b593 with SMTP id e16-20020a170902ef5000b00156486fb593mr25749572plx.104.1651014076560; Tue, 26 Apr 2022 16:01:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1651014076; cv=none; d=google.com; s=arc-20160816; b=O9MSfhpC8+VNLokyE4nmh+Xy6B1LMopz1QazeAzsLgxy0ceDxrZRYH1VVA7tKpqmeJ Ec/yTGglJoSKoO6JfAHRSMoEzYvkTMu2gs8NM13f5C1mZQz0HMmwcZQ+EE6L+Mklh+0O tIHkPmgS+U+5+YdayvOSsk1GjQEYMiOSpAFQwNUFSlNtNiBz9KBRPpn9PMlvoGYApSJT TLUVg32YD6PTYBaTtj0Adj2aizjVaWI9ivCeuh9a5gTmf99U1w8t8ek3ox6xo8tFGMiQ sb+IXKHHE5b7GXnx/gEQq4/7gppI67qq7tDCdEGtA6FWrp8kv0t8rita0TxGN9qcgrio 0Dyg== 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=+PqOAHHD5Ke/d891B5zhwO1Haizd/LoBpwF8/ijmhnc=; b=kFM3RZ19Kb/bVe/drAb7vV3JRmWmEcm/9gb3MD1WXVV37DRnwhTD/SgCVCzuTSNJos Z50KLHzCioV12AotFUl3UQfDH9V5UxmtSoHqqe+oQtSf39h7axjwdt7gaOJzo8nHxkEO fexfWRJUwQGX1+x6s25opFQ0LsgT778MvT4NlyPItcAwHFq1YHVCQksp7qLp0tbLqnbB H06HWOqocW+kJRGtAAGdce2ukG8qpXdf4ZJ8nnnRwYvAMNhPJxqZDsJ1/dDRxHbwj3an PocsbbNOdratixGOcGGkBb0bsHBW5V9OFTT5TSTTVsIqeS6cST1/PZdOaVmPsBco17UX L3lw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mailerdienst.de header.s=20200217 header.b=KAgrYqHC; 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 j16-20020a170902759000b00153b2d1650bsi19001442pll.275.2022.04.26.16.00.59; Tue, 26 Apr 2022 16:01:16 -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=KAgrYqHC; 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 S1350928AbiDZNZc (ORCPT + 99 others); Tue, 26 Apr 2022 09:25:32 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57622 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350844AbiDZNZO (ORCPT ); Tue, 26 Apr 2022 09:25:14 -0400 Received: from mxout2.routing.net (mxout2.routing.net [IPv6:2a03:2900:1:a::b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58DA715045D; Tue, 26 Apr 2022 06:22:07 -0700 (PDT) Received: from mxbox1.masterlogin.de (unknown [192.168.10.88]) by mxout2.routing.net (Postfix) with ESMTP id CE8E1615D8; Tue, 26 Apr 2022 13:22:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mailerdienst.de; s=20200217; t=1650979325; 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=+PqOAHHD5Ke/d891B5zhwO1Haizd/LoBpwF8/ijmhnc=; b=KAgrYqHCHmGjb56eabZZY/0kH2URSzS+1Iyy32AoENGlppkXWjuMkLjjJwabq3wAXflkLB n5v3i074u2gai9tBxQ/Y7ZBrnm9XUz3VaYBrMhhyNeOrUi6EF1pb9EvEWWgh4lHcFpJLkg AU6HlL6u+TA8XmH65AkDdavhXbJj198= Received: from localhost.localdomain (fttx-pool-80.245.77.37.bambit.de [80.245.77.37]) by mxbox1.masterlogin.de (Postfix) with ESMTPSA id C83704059D; Tue, 26 Apr 2022 13:22:04 +0000 (UTC) From: Frank Wunderlich To: linux-rockchip@lists.infradead.org Cc: Frank Wunderlich , Bjorn Helgaas , Rob Herring , Krzysztof Kozlowski , Heiko Stuebner , Kishon Vijay Abraham I , Vinod Koul , Lorenzo Pieralisi , =?UTF-8?q?Krzysztof=20Wilczy=C5=84ski?= , Philipp Zabel , Johan Jonker , Peter Geis , Michael Riesch , linux-pci@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-phy@lists.infradead.org Subject: [RFC/RFT v2 11/11] arm64: dts: rockchip: add basic lane-map and drop bifurcation from r2pro Date: Tue, 26 Apr 2022 15:21:39 +0200 Message-Id: <20220426132139.26761-12-linux@fw-web.de> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220426132139.26761-1-linux@fw-web.de> References: <20220426132139.26761-1-linux@fw-web.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Mail-ID: 684376ed-9bc4-4c48-93b3-5deaca47720a 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 Change DTS-Property from bifurcation to the new lane-map. The lane-map is more generic but PCIe controller driver converts it back to the bifurcation-bool. Signed-off-by: Frank Wunderlich --- changes in v2: - new patch --- arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts index 86506d7896c6..9acd85db3a3a 100644 --- a/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts +++ b/arch/arm64/boot/dts/rockchip/rk3568-bpi-r2-pro.dts @@ -477,14 +477,14 @@ &pcie30phy { }; &pcie3x1 { - bifurcation; + lane-map = <0 1>; reset-gpios = <&gpio3 RK_PA1 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_ngff>; status = "okay"; }; &pcie3x2 { - bifurcation; + lane-map = <1 0>; reset-gpios = <&gpio2 RK_PD6 GPIO_ACTIVE_HIGH>; vpcie3v3-supply = <&vcc3v3_minipcie>; status = "okay"; -- 2.25.1