From patchwork Wed Aug 17 22:30:53 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Pali_Roh=C3=A1r?= X-Patchwork-Id: 12946548 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 DB8E8C25B08 for ; Wed, 17 Aug 2022 22:34:17 +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:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8zAmV33b3dksZ61LjP7Jw8Khhc2HGFVJHr3LxYRTdFs=; b=Cd82Kv1OlweuX7 IairWSaHiG/pjhy1kVfY3HT0+syWsnXemyybScg4BwGzh/g0Rl50eE6kXHJkbT23wRYEgkpKkI8Dg rd6CLj3RpAtO9R0d4Zehbghxxsupht7lvOPPRHwilosOAUkR8eanUjwtCCb+HlV5GVKxAgvgThpgZ NhLFxfR0Kr5cg3Pv7c4lv4Dl4goLOE9aWfp1q0rIvwZkIK1BNk+Hrqetrs1qa5iQHq9LnoXIdz+lj 6auG3XRQ9Ff7dcuVdFuOxIoQue9dh6CjO/XhEsTYRpm12OGck9rby8ubk8amcpUkDpLVD98nSJTn5 a+l7D5q1lMM049XH5Ykg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oORax-007kH0-6v; Wed, 17 Aug 2022 22:33:03 +0000 Received: from dfw.source.kernel.org ([139.178.84.217]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oORZO-007il0-OD for linux-arm-kernel@lists.infradead.org; Wed, 17 Aug 2022 22:31:28 +0000 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id E07076164B; Wed, 17 Aug 2022 22:31:25 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28A6EC433D7; Wed, 17 Aug 2022 22:31:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660775485; bh=gQUaymIowR25DXa5AbueJuH8cy4DUdbVM3txqyEF8k0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lGuDWWpozoA7gck4dxIJHTZB0fgC/e+0g6VuasOiDYhamJmPx9LrAyVt8HRyEcxYS upDCXiWpt1EQZtIc4skRdbRHI91InPIdpEzlzQp7PTfs8n6EmwwgwkSn8g0BPe3Nx0 dLfIWnnG0cU5NrML+uRPW1Dkpuvb8ODCRdH8H1/mSdzt9Np9MBnX2iuTEXnff9Lqh8 YzDi6bHxUDF1SYWknyVbB8Rt52PLPOmCpjDmsbRiNb1fQLYNuC5Yj3BzdvyVEMks4q NVUuSOv7kD6AFP7X73wiYl9oGzXICezZvzd2O/hb8mzmb9ZCKpBwV4ifAReCD/LpG4 rYZg1tgieD3ig== Received: by pali.im (Postfix) id D822177A; Thu, 18 Aug 2022 00:31:24 +0200 (CEST) From: =?utf-8?q?Pali_Roh=C3=A1r?= To: Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Rob Herring Cc: linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, =?utf-8?q?Marek_Beh=C3=BAn?= Subject: [PATCH 6/6] ARM: dts: armada-39x: Fix assigned-addresses for every PCIe Root Port Date: Thu, 18 Aug 2022 00:30:53 +0200 Message-Id: <20220817223053.31141-7-pali@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20220817223053.31141-1-pali@kernel.org> References: <20220817223053.31141-1-pali@kernel.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220817_153126_846037_4FB6ADD0 X-CRM114-Status: GOOD ( 12.38 ) X-BeenThere: linux-arm-kernel@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-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org BDF of resource in DT assigned-addresses property of Marvell PCIe Root Port (PCI-to-PCI bridge) should match BDF in address part in that DT node name as specified resource belongs to Marvell PCIe Root Port itself. Fixes: 538da83ddbea ("ARM: mvebu: add Device Tree files for Armada 39x SoC and board") Signed-off-by: Pali Rohár --- arch/arm/boot/dts/armada-39x.dtsi | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/armada-39x.dtsi b/arch/arm/boot/dts/armada-39x.dtsi index d2150d87ea7b..036f91bec618 100644 --- a/arch/arm/boot/dts/armada-39x.dtsi +++ b/arch/arm/boot/dts/armada-39x.dtsi @@ -469,7 +469,7 @@ /* x1 port */ pcie@2,0 { device_type = "pci"; - assigned-addresses = <0x82000800 0 0x40000 0 0x2000>; + assigned-addresses = <0x82001000 0 0x40000 0 0x2000>; reg = <0x1000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; @@ -499,7 +499,7 @@ /* x1 port */ pcie@3,0 { device_type = "pci"; - assigned-addresses = <0x82000800 0 0x44000 0 0x2000>; + assigned-addresses = <0x82001800 0 0x44000 0 0x2000>; reg = <0x1800 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; @@ -532,7 +532,7 @@ */ pcie@4,0 { device_type = "pci"; - assigned-addresses = <0x82000800 0 0x48000 0 0x2000>; + assigned-addresses = <0x82002000 0 0x48000 0 0x2000>; reg = <0x2000 0 0 0 0>; #address-cells = <3>; #size-cells = <2>;