From patchwork Tue Sep 20 21:02:12 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Fainelli X-Patchwork-Id: 12982629 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 F1AD1C54EE9 for ; Tue, 20 Sep 2022 21:03:30 +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: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:In-Reply-To:References: List-Owner; bh=Edxgdo/nWQ73qxpfhoxvTI+firXf1fClD5RxpVb2Msg=; b=gVQRDd+P7ajurI 9ZBuLrMrlXnnmL/1JNnii2OuIqKmnhytEoQSUJfeIhMMwFMs0c6C2oZIH2WbXoSFLiqEF7Yxd7QQ4 wy+4JV9VsuW05MuH1GH7tcgpEX0qDl52kBv0ReVwY/tS0NcZFmTCErGMK1i7XevQMaZcsmyhTiSpL po8ps1GccUXWMs8S594VIMyFXcLAhzwLBgm0GSLK7t0kz4iFFljxnH7a3dJu3IFQHelLHmQN+m6kg GuvAJDWkWLildZDHJ7L6O9A0Txj5b1Clyo/drzv1Cap05dcyW8fDJX43Z8uv3nt9/T2/ORAYYmXQH oCj4hlgoN3RAE2fJmMpA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oakNw-006ZnZ-VF; Tue, 20 Sep 2022 21:02:29 +0000 Received: from mail-qv1-xf30.google.com ([2607:f8b0:4864:20::f30]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oakNs-006ZhF-PC for linux-arm-kernel@lists.infradead.org; Tue, 20 Sep 2022 21:02:26 +0000 Received: by mail-qv1-xf30.google.com with SMTP id ml1so3016493qvb.1 for ; Tue, 20 Sep 2022 14:02:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date; bh=NSLrDkTBcy9Rw0cL9fnsWKIlU6heAD2FFLT8LdLFl8o=; b=B/OPwJ0okN/Kut70qnqPaTowHsFqf53kAp51Z9JC07NWXMwaKSVGzQJnojA2Nt10mg Hw0Y+M11BhXHVPPRSTDue8Z0vnDOjNUyQQTEHPPe8SU3BWcUSh2LyekOn7NoPalLsFxu dM4M6aX0fM2OLPXGbTnG+CwDH9ExUJi8FQyzujcKZ81KRX/4qsp8mXUicpCxjjb75JnB SZ26DuCTf7BCbRFt8ENCmolZa0Hm/8uIjESunXM8JkaNbon14zM0zl+q3KoXQi43nljZ E0FIiAD9puX+ZYhKQu1DyRhX9mt+CazFO1AHln9dAHGvmhnAo8Cjr9XZJW9dCeJgW8HB 9XSQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date; bh=NSLrDkTBcy9Rw0cL9fnsWKIlU6heAD2FFLT8LdLFl8o=; b=oLpGTvifhV3IFk5u9vC+/32m5xFZPrU9/R8XcNRTO5Mu8rLbTzUJDjOIl4UR+ZRwKj BxgOWproQyC/55DPIjEfcJzlgDVIfEjOJ2XlXNkWOzEmK0G3l1O3/ygmprZFbqvql6YB Z0z/dCXMtKPu42NizGeh+DYQmxbCE5ieUfVIYV2ynPcgzdA6qSvQUBMHYQrKxCjH5Zvn IqEfYm+khIHwJuXxxKo5uhCzwEHXU5DgxybibvtHBcblXeJyg7U2DgpjhLkX/mnG+eYB HbfxVrNEu9bblZim7UHTZNOSYlwW2dRWvoGXgr0L2z/fwk4sYWz3MtgjKm/5jZ80dFar iZGg== X-Gm-Message-State: ACrzQf020wRBj1z3+XWJE4vI+8tuHszgp9rPnb1jssKf0EpK0HgCq+wl xdHve6fNEOhPXmE6WNUwWL6xSYw5dOo= X-Google-Smtp-Source: AMsMyM4UEP+K9EikOm54PJ9qlt+YMjmqTxntOx61by31fTyWLuPyqv46WdK95B67PLytdilVPIVrqA== X-Received: by 2002:a05:6214:300b:b0:4ad:14c4:39f4 with SMTP id ke11-20020a056214300b00b004ad14c439f4mr18214329qvb.105.1663707738510; Tue, 20 Sep 2022 14:02:18 -0700 (PDT) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id h5-20020a05620a284500b006ce5f4720cdsm562058qkp.47.2022.09.20.14.02.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 20 Sep 2022 14:02:17 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Stephen Rothwell , Florian Fainelli , Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , Broadcom internal kernel review list , Rob Herring , Krzysztof Kozlowski , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH] ARM: dts: BCM5301X: Add missing "ranges property for PCIe nodes Date: Tue, 20 Sep 2022 14:02:12 -0700 Message-Id: <20220920210213.3268525-1-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220920_140224_940188_8037010A X-CRM114-Status: GOOD ( 13.80 ) 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 Add empty ranges properties to silence such warnings: arch/arm/boot/dts/bcm5301x.dtsi:240.21-246.5: Warning (pci_bridge): /axi@18000000/pcie@12000: missing ranges for PCI bridge (or not a bridge) arch/arm/boot/dts/bcm5301x.dtsi:248.21-254.5: Warning (pci_bridge): /axi@18000000/pcie@13000: missing ranges for PCI bridge (or not a bridge) arch/arm/boot/dts/bcm5301x.dtsi:256.21-262.5: Warning (pci_bridge): /axi@18000000/pcie@14000: missing ranges for PCI bridge (or not a bridge) to silence warnings. This is not a functional issue since the driver does not make use of the OF infrastructure for registering the PCIe controller(s) on this chip, but uses the BCMA bus. Fixes: 61dc1e3850a6 ("ARM: dts: BCM5301X: Add basic PCI controller properties") Signed-off-by: Florian Fainelli Change-Id: Ia4eba6d21b72620d2fd8d5c3548c1777d3c1c357 --- arch/arm/boot/dts/bcm5301x.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index a06184b8e0d9..3fb1448b449f 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -240,6 +240,7 @@ chipcommon: chipcommon@0 { pcie0: pcie@12000 { reg = <0x00012000 0x1000>; device_type = "pci"; + ranges = <0 0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; @@ -248,6 +249,7 @@ pcie0: pcie@12000 { pcie1: pcie@13000 { reg = <0x00013000 0x1000>; device_type = "pci"; + ranges = <0 0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>; @@ -256,6 +258,7 @@ pcie1: pcie@13000 { pcie2: pcie@14000 { reg = <0x00014000 0x1000>; device_type = "pci"; + ranges = <0 0 0 0 0 0>; #address-cells = <3>; #size-cells = <2>;