Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp198483lqm; Tue, 30 Apr 2024 18:36:07 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUA7lc0JH9+FeEB/7TA8kE4L9jqknCWG9N1EeceU8l4ArQNI+Obj3YMC3VUJ1ROqO06Pni6qw05i5vhPeg8FqVvf3Id0Gm8HkcZjqoG0Q== X-Google-Smtp-Source: AGHT+IG8kCNJWEjEZ/3um0ngXpCEPd2GVfrhErLvRpNisTS+h2vvs15iXy+QJblnmPctUXNyjpHt X-Received: by 2002:a17:903:4289:b0:1ec:56bc:f96b with SMTP id ju9-20020a170903428900b001ec56bcf96bmr890613plb.30.1714527366723; Tue, 30 Apr 2024 18:36:06 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714527366; cv=pass; d=google.com; s=arc-20160816; b=WXUZa4pTPIF3hgtM4IH+MCXhdUkkMRwzNVBjP4R7CiD4Sscf/pndMh6NP+kmzyuifJ fhPslU6F3pWTtBM25Fd5OHhSFF0mD1YM4CmaB83oKQIZJ/uCtuF3DRUTt1ArO6ft58DN laAenOY7kSS3I+fO7C/TqzXDCoaTOAaAs7PiHAAH2NgHfyFJpbXrrmZVuijdWBldkCZY b0NU1dR/a0eMS/z3mv4dK7rGB0bOs8HSEpWAACmnc26etP3dxUM44OZo8fanuxIIX2eR Jr6aN0Eoy9Jk5qh15kRke+RBunrTViFQxz/J0XutFsK0YpVdFwC14aVpEHf5x8PY73Wn RrgA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=JKwVYqMTzUVdYEGY3FY2+Xcsfsz5CmPf7j0ncIWAAc0=; fh=WtGpGby0YFb2JXn8ZqBUojtEperiWgkzV253M56NXVE=; b=snVVJzY1L7XowVk92Pp+yqBWZPfgRjUTUTJ5AYGovusTXrkU8+vzcqwTaVxrYi9daW 3WruLGvIIYKHSv38WrADKMUZkp8KCszizp22qbsRNO9zpw7LWjewxN54VxoeE3k9bact 48H05kLdKjqsrhHRuIbUA4qiKCPYqfZsVPi0m6IRRJ3lwdlvqfz5fmPQZzCn20gs7XfW LWLn+tCwOk70VMYIfLx+xyk/Xb3rTMapUzDNGt+9mWx/gRHj6tP0BkpbCnQ2p/zxGT8t HbcskAVKiWA1LWjrZa2KPi6Ly0YKuiw//D8EHi22Eg/Cd6kzogxgfC+4E+xL57ayNucT /ihw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=WkjpQ+ul; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-164790-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id w18-20020a170902e89200b001e788371561si23055318plg.524.2024.04.30.18.36.06 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 18:36:06 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164790-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=WkjpQ+ul; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-164790-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164790-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 43ADEB2309C for ; Tue, 30 Apr 2024 23:07:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A61081C0DC3; Tue, 30 Apr 2024 23:07:26 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="WkjpQ+ul" Received: from relay.smtp-ext.broadcom.com (relay.smtp-ext.broadcom.com [192.19.144.208]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6085C181305; Tue, 30 Apr 2024 23:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.144.208 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714518445; cv=none; b=CBQen3iiDVsfQIadc8k5fBA4Druo6CKfJSOX9kDXeOXQg27FIoB9m8m6++Q9PsYHZqG1FGsjXrAFjhJ1LiZs41UAXhUls/9FMb+skV5dS2QHnfZZ5ra6X69FoqtWgbbCsBVP/GVMLu7jS2e+8u4V/3Lu308RdRFuoRXv9r4AaZg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714518445; c=relaxed/simple; bh=n5mrFpEOG6+388ecZ+jUamregsPoeRxyhtNFnQWUUx0=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=HNwfIsKMoe2/3pfBHaUbBfZUys7H5lBdcIbveuJ+K3J98bUj3s+ZV8DRTA7Q8fOWcyFRlSrmZlhVdaaoXuNQxq9hRa3RBXMwOl9fLyRWZOTyu7oTmVore2OS2lFf9kGx9DIyVcxp8LylR6lLAnJl9aRwfrZHnYyPeIOpq1fcQh0= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=WkjpQ+ul; arc=none smtp.client-ip=192.19.144.208 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 1EB38C0000E4; Tue, 30 Apr 2024 16:07:17 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 1EB38C0000E4 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1714518437; bh=n5mrFpEOG6+388ecZ+jUamregsPoeRxyhtNFnQWUUx0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=WkjpQ+ul0UIMwiMN8yGEizy9acg0TfAxXpDaIGi0e5TOGXCiFodAq2c/Ksf54dCGy 7zJdOFvuB5eP3WbgsxK6qVLRAbkGanqvs4VAO3f4wrhbAcc1mNe5A0VhRxMerd1YDG jtWijPqBkQDLyOQzLHpSP2epzX0DCDIQQACWEQkY= Received: from fainelli-desktop.igp.broadcom.net (fainelli-desktop.dhcp.broadcom.net [10.67.48.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id 3C0F018041CAC6; Tue, 30 Apr 2024 16:07:15 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Hauke Mehrtens , =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , Broadcom internal kernel review list , Rob Herring , Krzysztof Kozlowski , Conor Dooley , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 1/2] ARM: dts: BCM5301X: Relocate PCIe nodes to top-level Date: Tue, 30 Apr 2024 16:07:13 -0700 Message-Id: <20240430230714.3923578-2-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240430230714.3923578-1-florian.fainelli@broadcom.com> References: <20240430230714.3923578-1-florian.fainelli@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In order to have the PCIe node(s) gain a "ranges" property which is meaningful, move them out of the axi@18000000 bus node towards the top-level. Signed-off-by: Florian Fainelli --- arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 79 +++++++++++++------------- 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi index d0d5f7e52a91..8f69da8d18c2 100644 --- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi @@ -121,28 +121,28 @@ axi@18000000 { <0x00007000 12 &gic GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, /* PCIe Controller 0 */ - <0x00012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, - <0x00012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, + <0x18012000 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>, + <0x18012000 1 &gic GIC_SPI 127 IRQ_TYPE_LEVEL_HIGH>, + <0x18012000 2 &gic GIC_SPI 128 IRQ_TYPE_LEVEL_HIGH>, + <0x18012000 3 &gic GIC_SPI 129 IRQ_TYPE_LEVEL_HIGH>, + <0x18012000 4 &gic GIC_SPI 130 IRQ_TYPE_LEVEL_HIGH>, + <0x18012000 5 &gic GIC_SPI 131 IRQ_TYPE_LEVEL_HIGH>, /* PCIe Controller 1 */ - <0x00013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, - <0x00013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, - <0x00013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, - <0x00013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, - <0x00013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, - <0x00013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, + <0x18013000 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>, + <0x18013000 1 &gic GIC_SPI 133 IRQ_TYPE_LEVEL_HIGH>, + <0x18013000 2 &gic GIC_SPI 134 IRQ_TYPE_LEVEL_HIGH>, + <0x18013000 3 &gic GIC_SPI 135 IRQ_TYPE_LEVEL_HIGH>, + <0x18013000 4 &gic GIC_SPI 136 IRQ_TYPE_LEVEL_HIGH>, + <0x18013000 5 &gic GIC_SPI 137 IRQ_TYPE_LEVEL_HIGH>, /* PCIe Controller 2 */ - <0x00014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, - <0x00014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, - <0x00014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, - <0x00014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, - <0x00014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, - <0x00014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, + <0x18014000 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, + <0x18014000 1 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>, + <0x18014000 2 &gic GIC_SPI 140 IRQ_TYPE_LEVEL_HIGH>, + <0x18014000 3 &gic GIC_SPI 141 IRQ_TYPE_LEVEL_HIGH>, + <0x18014000 4 &gic GIC_SPI 142 IRQ_TYPE_LEVEL_HIGH>, + <0x18014000 5 &gic GIC_SPI 143 IRQ_TYPE_LEVEL_HIGH>, /* USB 2.0 Controller */ <0x00021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>, @@ -181,27 +181,6 @@ chipcommon: chipcommon@0 { #interrupt-cells = <2>; }; - pcie0: pcie@12000 { - reg = <0x00012000 0x1000>; - - #address-cells = <3>; - #size-cells = <2>; - }; - - pcie1: pcie@13000 { - reg = <0x00013000 0x1000>; - - #address-cells = <3>; - #size-cells = <2>; - }; - - pcie2: pcie@14000 { - reg = <0x00014000 0x1000>; - - #address-cells = <3>; - #size-cells = <2>; - }; - usb2: usb2@21000 { reg = <0x00021000 0x1000>; @@ -494,6 +473,28 @@ usb3_dmp: syscon@18105000 { reg = <0x18105000 0x1000>; }; + pcie0: pcie@18012000 { + reg = <0x18012000 0x1000>; + + #address-cells = <3>; + #size-cells = <2>; + }; + + pcie1: pcie@18013000 { + reg = <0x18013000 0x1000>; + + #address-cells = <3>; + #size-cells = <2>; + }; + + pcie2: pcie@18014000 { + reg = <0x18014000 0x1000>; + + #address-cells = <3>; + #size-cells = <2>; + }; + + thermal-zones { cpu_thermal: cpu-thermal { polling-delay-passive = <0>; -- 2.34.1