Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp5342454rwb; Wed, 17 Aug 2022 16:03:06 -0700 (PDT) X-Google-Smtp-Source: AA6agR6jqcAH1wVWmHFc65ZBF6ERbkkTWo1lhJeeZ8UF1cf8r33XzKqT3VIuT5UGIqyne+XO54K4 X-Received: by 2002:a17:907:3d94:b0:731:744f:63ab with SMTP id he20-20020a1709073d9400b00731744f63abmr138779ejc.541.1660777386775; Wed, 17 Aug 2022 16:03:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660777386; cv=none; d=google.com; s=arc-20160816; b=Tjnw/ng3yVZnm83JrJziIkn38HkqA7xI+WVgt0e1P/9fMR1U65uRsENvpEeK/XaujF r9wlLiiq/VbjjdXMg4wU3FUDNfbJzxIyY2oP9ZftKWstEFe/CG8YhzjpCzpZb2/BYfFN 03ZR5pIzm0R7sBlteg0zx/1+Pv4oWgbHrUIalYKggl1++aT8gEx/VGzC7zZxZPiLQljI +hQIXhEyadPV2AZ9kKrwNNsf/SyZG69mYZLP0SolduZy+xA79kWCR0gunYMnJKMeWK4k j3wJZALDqNgnJQ09eLs8Lj4ylAwSleUHe34OAtl51tr7v6UO+dl+npVS9pkNvmSVv3RP GLOg== 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=roZFs8jScjG9/PlaMEIq5l4cQhmDq6eZXxG9VhQXhbc=; b=iCHcU84t/BJPNGWhTirRF2DzxD3Sacn2JPMt/P5UHRhFdhTeWjw1kdKN1Ev9IHjZwF VnzXlSOlLXs4cBK0iI7eKEMVI3cxpu3N7OS6cLP/HQjgPCTdB0hsrXylytBtN7iWg0LJ l9snMhGqWdH4BjKeQYOZxOoL/KdP3fxlC0HnCI5YpT9yLWfudqb2TmQ3hq54hctRY52y xuBNenJ9Rd8/rRC81BeWBXiPhUCWO2xoQKxWF5FNxPFoxKSXR58A5+eCZrIhQ/Rsa7DD epgmL6JkRD63QFP9voR9BAgcYhfTBfu3RA+zDEgleg0N4Mdd1WNuuxvQAs+bW7r4lH45 NrKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=b6Xgkpvx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m16-20020a056402511000b0043d651cf5acsi51202edd.99.2022.08.17.16.02.31; Wed, 17 Aug 2022 16:03:06 -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=@kernel.org header.s=k20201202 header.b=b6Xgkpvx; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233930AbiHQWbg (ORCPT + 99 others); Wed, 17 Aug 2022 18:31:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42692 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242232AbiHQWbZ (ORCPT ); Wed, 17 Aug 2022 18:31:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C698A1A49; Wed, 17 Aug 2022 15:31:25 -0700 (PDT) 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 B78D36164A; Wed, 17 Aug 2022 22:31:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 00DA5C433B5; Wed, 17 Aug 2022 22:31:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660775484; bh=Z9fjxbNnKhhvveqn7OhF0WrGiE1Ebxofzn7E5GFmuFU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=b6Xgkpvx1+eqqGx/wbXRyJou0+sruDr1v7MNt7g0lZ3oLOzGIFJo5BC87M+GrGq2T icXcuFeCiK1AA98fw6RKzKwE/toTYLgzX1jgh+q8gR5x80bvN1kVgga3whoMGNAFEO xUIqqc1+sGPhs3+oMbfOpFY41aSCeI69MpApr2hjTp2kqb/o4FcD3rsPwWJkVBJjDM jOO0cUkF3TgVHfZ35vXE7sEsqkBn5hza7WZgifkcCcnai0juhMMOAAaJY2rjnl/zNj kBLYtv72fKB0u/Zq4WmoVfk01BV0rQjfPEx5gmNhgIZc0XceJlnrVWw1PA/PKJBs0c HOkWs/XPzT2sQ== Received: by pali.im (Postfix) id B0D0677A; Thu, 18 Aug 2022 00:31:23 +0200 (CEST) From: =?UTF-8?q?Pali=20Roh=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=20Beh=C3=BAn?= Subject: [PATCH 5/6] ARM: dts: armada-38x: Fix assigned-addresses for every PCIe Root Port Date: Thu, 18 Aug 2022 00:30:52 +0200 Message-Id: <20220817223053.31141-6-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 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, 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 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: 0d3d96ab0059 ("ARM: mvebu: add Device Tree description of the Armada 380/385 SoCs") Signed-off-by: Pali Rohár --- arch/arm/boot/dts/armada-380.dtsi | 4 ++-- arch/arm/boot/dts/armada-385.dtsi | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/arch/arm/boot/dts/armada-380.dtsi b/arch/arm/boot/dts/armada-380.dtsi index dd726a686a00..9334a1e64165 100644 --- a/arch/arm/boot/dts/armada-380.dtsi +++ b/arch/arm/boot/dts/armada-380.dtsi @@ -90,7 +90,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>; @@ -120,7 +120,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>; diff --git a/arch/arm/boot/dts/armada-385.dtsi b/arch/arm/boot/dts/armada-385.dtsi index f71cc765a7f2..313526fed3ed 100644 --- a/arch/arm/boot/dts/armada-385.dtsi +++ b/arch/arm/boot/dts/armada-385.dtsi @@ -94,7 +94,7 @@ /* x1 port */ pcie2: 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>; @@ -123,7 +123,7 @@ /* x1 port */ pcie3: 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>; @@ -155,7 +155,7 @@ */ pcie4: 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>; -- 2.20.1