From mboxrd@z Thu Jan 1 00:00:00 1970 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 4F502C433F5 for ; Wed, 8 Dec 2021 04:06:15 +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=BBpdwSqHzoosHgbsoLSGRH9sZGd+WUDbok5RCHZBTmQ=; b=YnanroVJK7/gNO 8BSCLQIikSD9E/CSBWSW+irNCA8RL09f00Xb8FV48lJIanc4ZgYt3isXwGDeU4KDAoVfgstAYnSGv ZoPp91Ueg08Kt3wUuKnwQwNqfH5LsOON5B2/EaT6vmDtp/WlOoAT7sdlw/zi1O84rW+87BPXG2vp3 KuT0X3maVZYYHcYAiDS32BVWYSi/2H01xLKNp4dEK5jaz5hcuwejzzN8+FUZnlLP2HrYPkiM1MlB7 hRlujKOhxa8Fk0nAYwVqfrVt4JyANf3sp+L2JF2dWUMwWQVkXFN74tSV3QQ5Avw6zJu/pwIkV+kOC 4ZWEsfcsd+BT5diUZBHQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1muoCL-00B8YU-2I; Wed, 08 Dec 2021 04:04:53 +0000 Received: from mail-pf1-x430.google.com ([2607:f8b0:4864:20::430]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1muoC7-00B8Qe-DF for linux-arm-kernel@lists.infradead.org; Wed, 08 Dec 2021 04:04:40 +0000 Received: by mail-pf1-x430.google.com with SMTP id z6so1318634pfe.7 for ; Tue, 07 Dec 2021 20:04:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=4HXxSu2gPMhcps5sa6jyk5e2IIZg5iM9c1rXs+VhM6A=; b=iqOfLIN7fCiWY7C+553okIzVz1isalKGAq39L/xo9MHJg+7Xg8sJ3fhzbJUDk62Vzz o7VtgLVuunOQl4Yry45IF+HKpQxT6I5YC4yL11OcqS+WsPPzLPNL0NUJ1Rtyv6x92Qsz D4pUFl2LL1VRH2sGvlpOaDwTpmeSA+R7bkgSMvbfnYjh3Lv7++CQuI5iymiih8ATJsfN 8Jk1x2wFbfbSTs9OAITPBbp4zwLznjL5IoXp3WQd2q+Hf/tRIFtIJEKUipPgu1SMc+JH WzECqubp33RMJX4Rcas2PCtaDv9HDFT99kYm95XueBT4GGhuFSFhM/tzA+Q6xPTioyXi 5uDA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=4HXxSu2gPMhcps5sa6jyk5e2IIZg5iM9c1rXs+VhM6A=; b=F+FrqXu5JhyfO3TtFgKkOgPPuXTJQ8ZfI9ruAyIVbz7Nb8IEPVqFxwGrzyaMJg4b5F IUnAKnxMrhjoy6WfOGwS3GIIjTvYdrkj2EanQo1lDaNYdZbquNEMkOBznvImCK835n2q qLz+66gDIkgOI8YRMUv5SCHHYIAEkKgEHlr1bCtpKBmXPHXzGylVgeCfKtlrv3pEeZBl Bl4VEwSueRI/Wkbyo/Xr/Q0pdlV85FNTl+nuOvVSs5mrq2Gz+voX/Ihhnf2fvPaMRZdp sCrlsAKtD8d+F/Jzo3Di1znL3KCLlz1uWKTlkpMnxQq5gVAhYhsuqMA9t4/+Lkl0Ctvm jEYQ== X-Gm-Message-State: AOAM5329j6zkCdKFM/hfQKJQmaI+q+9L4bcjVsAHSSvmLvofPa36yxLy AdTHr+sATHh9TYUfSJO+3eM= X-Google-Smtp-Source: ABdhPJw3Z63ln1wMYmIq8JnnWDgqOMGmdjyelgUJgU/3ubh8JNENwUyXKiDRafZp+CM5D0lKgBcjxQ== X-Received: by 2002:a63:85c3:: with SMTP id u186mr27255326pgd.201.1638936278516; Tue, 07 Dec 2021 20:04:38 -0800 (PST) Received: from fainelli-desktop.igp.broadcom.net ([192.19.223.252]) by smtp.gmail.com with ESMTPSA id c18sm1320684pfl.201.2021.12.07.20.04.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Dec 2021 20:04:38 -0800 (PST) From: Florian Fainelli To: devicetree@vger.kernel.org Cc: Florian Fainelli , Bjorn Helgaas , Rob Herring , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM IPROC ARM ARCHITECTURE), linux-pci@vger.kernel.org (open list:PCI SUBSYSTEM), linux-arm-kernel@lists.infradead.org (moderated list:BROADCOM IPROC ARM ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH v3 1/6] ARM: dts: Cygnus: Fixed iProc PCIe controller properties Date: Tue, 7 Dec 2021 20:04:27 -0800 Message-Id: <20211208040432.3658355-2-f.fainelli@gmail.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211208040432.3658355-1-f.fainelli@gmail.com> References: <20211208040432.3658355-1-f.fainelli@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211207_200439_484901_6F1EC46A X-CRM114-Status: GOOD ( 12.79 ) 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: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Rename the msi controller unit name to 'msi' to avoid collisions with the 'msi-controller' boolean property and add the missing 'interrupt-controller' property which is necessary. We also need to re-arrange the 'ranges' property to show the two cells as being separate instead of combined since the DT checker is not able to differentiate otherwise. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/bcm-cygnus.dtsi | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/bcm-cygnus.dtsi b/arch/arm/boot/dts/bcm-cygnus.dtsi index 8ecb7861ce10..d6e2b2ba3a19 100644 --- a/arch/arm/boot/dts/bcm-cygnus.dtsi +++ b/arch/arm/boot/dts/bcm-cygnus.dtsi @@ -274,8 +274,8 @@ pcie0: pcie@18012000 { #address-cells = <3>; #size-cells = <2>; device_type = "pci"; - ranges = <0x81000000 0 0 0x28000000 0 0x00010000 - 0x82000000 0 0x20000000 0x20000000 0 0x04000000>; + ranges = <0x81000000 0 0 0x28000000 0 0x00010000>, + <0x82000000 0 0x20000000 0x20000000 0 0x04000000>; phys = <&pcie0_phy>; phy-names = "pcie-phy"; @@ -283,7 +283,7 @@ pcie0: pcie@18012000 { status = "disabled"; msi-parent = <&msi0>; - msi0: msi-controller { + msi0: msi { compatible = "brcm,iproc-msi"; msi-controller; interrupt-parent = <&gic>; @@ -298,6 +298,7 @@ pcie1: pcie@18013000 { compatible = "brcm,iproc-pcie"; reg = <0x18013000 0x1000>; + interrupt-controller; #interrupt-cells = <1>; interrupt-map-mask = <0 0 0 0>; interrupt-map = <0 0 0 0 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>; @@ -309,8 +310,8 @@ pcie1: pcie@18013000 { #address-cells = <3>; #size-cells = <2>; device_type = "pci"; - ranges = <0x81000000 0 0 0x48000000 0 0x00010000 - 0x82000000 0 0x40000000 0x40000000 0 0x04000000>; + ranges = <0x81000000 0 0 0x48000000 0 0x00010000>, + <0x82000000 0 0x40000000 0x40000000 0 0x04000000>; phys = <&pcie1_phy>; phy-names = "pcie-phy"; @@ -318,7 +319,7 @@ pcie1: pcie@18013000 { status = "disabled"; msi-parent = <&msi1>; - msi1: msi-controller { + msi1: msi { compatible = "brcm,iproc-msi"; msi-controller; interrupt-parent = <&gic>; -- 2.25.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel