From patchwork Thu Feb 1 21:32:40 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Rob Herring (Arm)" X-Patchwork-Id: 10196067 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 23F9760362 for ; Thu, 1 Feb 2018 21:57:36 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C534E287B5 for ; Thu, 1 Feb 2018 21:57:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DE24F285AF; Thu, 1 Feb 2018 21:55:14 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id A3CA829030 for ; Thu, 1 Feb 2018 21:51:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject: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=RBPk0w4myhspQUHXbbsChYuP/jLxZP+rKD/Lf0WnM4s=; b=oJD xM4dcANclqNL0myBotd8IrvdTT5YX9JkORt3J1EcxQLDMWODvsuy43Vrkwlit9uUsKEGN1nGYHMHh aVuwDVx2XQEnIgRZzcn8zA8Cnuux5V6U8CPSHOzz3GB6bruTNIegnxCQWG/6hCFiTHDhXhjirHfnX XUnnWT352KcsiBe5JuRPkAm3Xr68NHunlXn020l4DdR97CDasY0a6WkN5i/xNcmWEcjs46kw9V+6B /ISs/QBxnLAdeMC4FTG1H8VueN1zbiag0WwpCI/JPilBySvpU1R/URQO3yaMIR6c3YUf9FCeIC1jh N5vyerU26laxo0/LN/BB1ceJwj+XsSQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.89 #1 (Red Hat Linux)) id 1ehMTa-00054z-Ej; Thu, 01 Feb 2018 21:32:58 +0000 Received: from mail-ot0-f194.google.com ([74.125.82.194]) by bombadil.infradead.org with esmtps (Exim 4.89 #1 (Red Hat Linux)) id 1ehMTX-00053b-CL for linux-arm-kernel@lists.infradead.org; Thu, 01 Feb 2018 21:32:57 +0000 Received: by mail-ot0-f194.google.com with SMTP id r23so16848231ote.8 for ; Thu, 01 Feb 2018 13:32:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=M71PGuvEr94Gjethpaa7Hv5NHkQVxLsKXGXGv/eNqI8=; b=WgU0qxRD5Z8qTHsmRmy4xS5KYJuOXRQN5nCv407OJSAMZcyypYTpz4vyC+Br2cDwba JH/cxkj2OcHr4E3np1Ihua8Y2hzz/+Evb4P4NV5NDVqPfdtoS1stiJn5+zuabniM/cxy bFdjqKSOhWGUvDYn5AMZBnoECxuWO4/T13y7ED/tg3oWQjjMN5KYKbFdmLIb0MMjl6ki WPAwcbEtjLVD5UHaKYVSwHrQ8r1iplYynmEVOjEuG/DCKw89Cmuhj6a4Oiw3/F2QG7tW YvxJDnSiwbKsLrdiMkLLmT/gkK1yHM3fdbO4BBI8iFOmbtC35Qp7M97nuARQiV2Ttcid GgPA== X-Gm-Message-State: AKwxytcQCvOH5SLpvQn4CPCAIM8bMxLTQnRigQwFL5nvDeH4l1bZHf0y JT6w3qDpBU0D0xZ9prDvaQ== X-Google-Smtp-Source: AH8x227ruUqlUZB3JBsIqsRJd1nxZrnVc65IfrFUS3c4YLaStN87zotgiAf5+2qXWfXVxLwyio30Sw== X-Received: by 10.157.46.46 with SMTP id q43mr10646288otb.127.1517520762743; Thu, 01 Feb 2018 13:32:42 -0800 (PST) Received: from xps15.herring.priv (216-188-254-6.dyn.grandenetworks.net. [216.188.254.6]) by smtp.googlemail.com with ESMTPSA id q34sm298537otd.1.2018.02.01.13.32.41 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 01 Feb 2018 13:32:42 -0800 (PST) From: Rob Herring To: arm@kernel.org Subject: [PATCH RESEND] arm64: dts: cavium: fix PCI bus dtc warnings Date: Thu, 1 Feb 2018 15:32:40 -0600 Message-Id: <20180201213240.28862-1-robh@kernel.org> X-Mailer: git-send-email 2.14.1 X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Jayachandran C , linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP dtc recently added PCI bus checks. Fix these warnings: arch/arm64/boot/dts/cavium/thunder2-99xx.dtb: Warning (pci_bridge): Node /pci missing bus-range for PCI bridge arch/arm64/boot/dts/cavium/thunder2-99xx.dtb: Warning (unit_address_vs_reg): Node /pci has a reg or ranges property, but no unit name Signed-off-by: Rob Herring Cc: Jayachandran C --- Arnd, Olof, Going thru my backlog of patches and found this one never made it upstream. Please apply. Rob arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi index 4220fbdcb24a..ff5c4c47b22b 100644 --- a/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi +++ b/arch/arm64/boot/dts/cavium/thunder2-99xx.dtsi @@ -98,7 +98,7 @@ clock-output-names = "clk125mhz"; }; - pci { + pcie@30000000 { compatible = "pci-host-ecam-generic"; device_type = "pci"; #interrupt-cells = <1>; @@ -118,6 +118,7 @@ ranges = <0x02000000 0 0x40000000 0 0x40000000 0 0x20000000 0x43000000 0x40 0x00000000 0x40 0x00000000 0x20 0x00000000>; + bus-range = <0 0xff>; interrupt-map-mask = <0 0 0 7>; interrupt-map = /* addr pin ic icaddr icintr */