From patchwork Tue Apr 23 11:02:37 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13639873 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 DF5F5C4345F for ; Tue, 23 Apr 2024 11:03:40 +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=eEABenr8QFRDUiTHTc+809oGgh5pWRd/9AhrWobFeY8=; b=42i7XT0ZLvqMUz gN/57PI7P3mdsdhLyPY+wtMbpk3Otk4QoGL+bD8Nx1DxHZVFdR4tp66QqnFGGAWZYmB56k9TQbN9l wUSKKE2A9bOrvnMygolNnHurEU+8fBcjsqRWNSMnyXmUPlBGamdlllyBrN2cyApjUg8wEFRs03uXa K+0zOngGDST3cPxDKI//5IFp7q+5jg6JLKxQTyWkzmxv60k9HlHtlLubbY0tLf/ctUjB1sHIku0mK Oew4iqvzmA1l1tbtcDpKM71/5ffMClG6NNoepMvHZBQQes6woMNMyjpixc1FhGKvCs4wPTo4zVuRi +Nt7VZvvD2XXM/HXD3Cg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzDvl-0000000H0a0-3zh1; Tue, 23 Apr 2024 11:03:21 +0000 Received: from mail-ej1-x631.google.com ([2a00:1450:4864:20::631]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzDvg-0000000H0Wm-2fXk for linux-arm-kernel@lists.infradead.org; Tue, 23 Apr 2024 11:03:20 +0000 Received: by mail-ej1-x631.google.com with SMTP id a640c23a62f3a-a5544fd07easo618273366b.0 for ; Tue, 23 Apr 2024 04:03:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713870195; x=1714474995; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=7r0ATgXSp/oBNR7ifpQh+7u9p7ur9HwBYcIJ309pf8U=; b=UhSL+a6SZ1b03aSx98kMQTPU+Pp18KFXT5Hakn0lS6m1nKwdThrehs2C8hx4/z860A HWBbxG9PXpSng0F+bR7rQAFL1MGqux9HBGzPtlricB63o+SB/45zbvv616LSDxN96CSl ZnC3di8atT16d0rO1xrgpq26b9geAraM76qUCs7nHZC+msnMnmFhVtfEm5L547pLbjGz OeYD/RwrkpSvy3v5uQcFxlhMbKvY1WbbimbIwqnfiCIPCAGcPyss96JW5CLh87edF7iE CUX6uIRUqCJn78Pm5L+NZzLb12P13RP0GoutIgoRB8Rt5NK0kZ2X/WDGPalPRHU7jlcO 8TSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713870195; x=1714474995; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=7r0ATgXSp/oBNR7ifpQh+7u9p7ur9HwBYcIJ309pf8U=; b=q9iIjhzB4dt66vzBoWuDDl8KEaZsBk6qR5GRH5aXnMBuhT4OcJ1fawAyWZabxEUCDG nMigRsbnpMxssc/kfopH3NCcaDclrotBVis5jUur2Zsd011x3HQi35UBxN28kdwRY8L3 rDgkpWUqoEivYMEKMkUnoRZxsDQCcy6Ap6bhJbpv4b7AZAA+tWYP696+LyL1CE43RsIc VZ4UofWoYT1KM7XuMs57SAWiJJXDt0ovzoEfUrvkAX8rinHMPoNcKGnn4/sfSREhZ5k5 dJjgat+0B6fIUaHGd6E4Z/kVUxflCFiH+sftGPiSFO6qqOMDxuS/k3k+u1fw83xN8C/Q T5Vg== X-Forwarded-Encrypted: i=1; AJvYcCVaKM/Iztw8jHdH+k2G32t3y9E4V4oT5tdrnkhnza133iwBD8l696cW1GfoLRY0twatjKA/66DSNoU0WwkuS8FkLMBu831LSqaNFUskmKo5ZoxS77U= X-Gm-Message-State: AOJu0YwPiICtP7IX8o9aonUb5Grn48DligQmSKCNYAP24UuzeH0/AXNL aGUY6HZfdxva/vdaZoodbXQ0Yb/CV6nc0oxKywZIevFH1FUCXzC4Dq+NKw== X-Google-Smtp-Source: AGHT+IF9hX1ykaoqcrwqjAr2Vhai/eCeZvVBsn0U2cmh0mSsKOrt30tJqjg9vRsPa5IxSPO0zaheeQ== X-Received: by 2002:a17:906:5847:b0:a52:4394:fffa with SMTP id h7-20020a170906584700b00a524394fffamr6816312ejs.12.1713870194876; Tue, 23 Apr 2024 04:03:14 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id s17-20020a1709067b9100b00a51bf5932aesm6900880ejo.28.2024.04.23.04.03.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 04:03:14 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , Hauke Mehrtens Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH 1/2] ARM: dts: BCM5301X: Drop ranges mapping from AXI bus Date: Tue, 23 Apr 2024 13:02:37 +0200 Message-Id: <20240423110238.32148-1-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240423_040316_831553_224C904F X-CRM114-Status: GOOD ( 11.70 ) 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 From: Rafał Miłecki Limiting addresses to 0x18000000 + 0x100000 disallowed describing some devices (e.g. PCIe controllers). Signed-off-by: Rafał Miłecki Reviewed-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 146 ++++++++++++------------- 1 file changed, 73 insertions(+), 73 deletions(-) diff --git a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi index d0d5f7e52a91..7c8ee2df538f 100644 --- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi @@ -95,7 +95,7 @@ L2: cache-controller@22000 { axi@18000000 { compatible = "brcm,bus-axi"; reg = <0x18000000 0x1000>; - ranges = <0x00000000 0x18000000 0x00100000>; + ranges; #address-cells = <1>; #size-cells = <1>; @@ -103,77 +103,77 @@ axi@18000000 { interrupt-map-mask = <0x000fffff 0xffff>; interrupt-map = /* ChipCommon */ - <0x00000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, + <0x18000000 0 &gic GIC_SPI 85 IRQ_TYPE_LEVEL_HIGH>, /* Switch Register Access Block */ - <0x00007000 0 &gic GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 1 &gic GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 2 &gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 3 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 4 &gic GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 5 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 6 &gic GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 7 &gic GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 8 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 9 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 10 &gic GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 11 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, - <0x00007000 12 &gic GIC_SPI 107 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 0 &gic GIC_SPI 95 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 1 &gic GIC_SPI 96 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 2 &gic GIC_SPI 97 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 3 &gic GIC_SPI 98 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 4 &gic GIC_SPI 99 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 5 &gic GIC_SPI 100 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 6 &gic GIC_SPI 101 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 7 &gic GIC_SPI 102 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 8 &gic GIC_SPI 103 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 9 &gic GIC_SPI 104 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 10 &gic GIC_SPI 105 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 11 &gic GIC_SPI 106 IRQ_TYPE_LEVEL_HIGH>, + <0x18007000 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>, + <0x18021000 0 &gic GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>, /* USB 3.0 Controller */ - <0x00023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, + <0x18023000 0 &gic GIC_SPI 80 IRQ_TYPE_LEVEL_HIGH>, /* Ethernet Controller 0 */ - <0x00024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, + <0x18024000 0 &gic GIC_SPI 147 IRQ_TYPE_LEVEL_HIGH>, /* Ethernet Controller 1 */ - <0x00025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, + <0x18025000 0 &gic GIC_SPI 148 IRQ_TYPE_LEVEL_HIGH>, /* Ethernet Controller 2 */ - <0x00026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, + <0x18026000 0 &gic GIC_SPI 149 IRQ_TYPE_LEVEL_HIGH>, /* Ethernet Controller 3 */ - <0x00027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, + <0x18027000 0 &gic GIC_SPI 150 IRQ_TYPE_LEVEL_HIGH>, /* NAND Controller */ - <0x00028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, - <0x00028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; - - chipcommon: chipcommon@0 { - reg = <0x00000000 0x1000>; + <0x18028000 0 &gic GIC_SPI 64 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 1 &gic GIC_SPI 65 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 2 &gic GIC_SPI 66 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 3 &gic GIC_SPI 67 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 4 &gic GIC_SPI 68 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 5 &gic GIC_SPI 69 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 6 &gic GIC_SPI 70 IRQ_TYPE_LEVEL_HIGH>, + <0x18028000 7 &gic GIC_SPI 71 IRQ_TYPE_LEVEL_HIGH>; + + chipcommon: chipcommon@18000000 { + reg = <0x18000000 0x1000>; gpio-controller; #gpio-cells = <2>; @@ -181,29 +181,29 @@ chipcommon: chipcommon@0 { #interrupt-cells = <2>; }; - pcie0: pcie@12000 { - reg = <0x00012000 0x1000>; + pcie0: pcie@18012000 { + reg = <0x18012000 0x1000>; #address-cells = <3>; #size-cells = <2>; }; - pcie1: pcie@13000 { - reg = <0x00013000 0x1000>; + pcie1: pcie@18013000 { + reg = <0x18013000 0x1000>; #address-cells = <3>; #size-cells = <2>; }; - pcie2: pcie@14000 { - reg = <0x00014000 0x1000>; + pcie2: pcie@18014000 { + reg = <0x18014000 0x1000>; #address-cells = <3>; #size-cells = <2>; }; - usb2: usb2@21000 { - reg = <0x00021000 0x1000>; + usb2: usb2@18021000 { + reg = <0x18021000 0x1000>; #address-cells = <1>; #size-cells = <1>; @@ -211,9 +211,9 @@ usb2: usb2@21000 { interrupt-parent = <&gic>; - ehci: usb@21000 { + ehci: usb@18021000 { compatible = "generic-ehci"; - reg = <0x00021000 0x1000>; + reg = <0x18021000 0x1000>; interrupts = ; phys = <&usb2_phy>; @@ -231,9 +231,9 @@ ehci_port2: port@2 { }; }; - ohci: usb@22000 { + ohci: usb@18022000 { compatible = "generic-ohci"; - reg = <0x00022000 0x1000>; + reg = <0x18022000 0x1000>; interrupts = ; #address-cells = <1>; @@ -251,8 +251,8 @@ ohci_port2: port@2 { }; }; - usb3: usb3@23000 { - reg = <0x00023000 0x1000>; + usb3: usb3@18023000 { + reg = <0x18023000 0x1000>; #address-cells = <1>; #size-cells = <1>; @@ -260,9 +260,9 @@ usb3: usb3@23000 { interrupt-parent = <&gic>; - xhci: usb@23000 { + xhci: usb@18023000 { compatible = "generic-xhci"; - reg = <0x00023000 0x1000>; + reg = <0x18023000 0x1000>; interrupts = ; phys = <&usb3_phy>; phy-names = "usb"; @@ -277,8 +277,8 @@ xhci_port1: port@1 { }; }; - gmac0: ethernet@24000 { - reg = <0x24000 0x800>; + gmac0: ethernet@18024000 { + reg = <0x18024000 0x800>; phy-mode = "internal"; fixed-link { @@ -287,8 +287,8 @@ fixed-link { }; }; - gmac1: ethernet@25000 { - reg = <0x25000 0x800>; + gmac1: ethernet@18025000 { + reg = <0x18025000 0x800>; phy-mode = "internal"; fixed-link { @@ -297,8 +297,8 @@ fixed-link { }; }; - gmac2: ethernet@26000 { - reg = <0x26000 0x800>; + gmac2: ethernet@18026000 { + reg = <0x18026000 0x800>; phy-mode = "internal"; fixed-link { @@ -307,7 +307,7 @@ fixed-link { }; }; - gmac3: ethernet@27000 { + gmac3: ethernet@18027000 { reg = <0x27000 0x800>; }; }; From patchwork Tue Apr 23 11:02:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= X-Patchwork-Id: 13639874 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 5F707C4345F for ; Tue, 23 Apr 2024 11:03:55 +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=1UySobycHeum0b/DzCStIxaiVbaHs//Xxuxyqh6+zD8=; b=39vPgk5j7fedye AnTce9bbMlvycDF8oLgvQgy5i2G403ELjjGbabMaFWiCugH226pXM7pmHIuEfzZE+7TXY7BP+Qoo/ DbpFJz15XY4DKI3jnLgzpmQp6qeXpzIOeFcYl60R1e2gi9b1MZwm6RQZz9bZvoEXKzTF9CBTmd7IE DOhP7ED6CMH6vTcKcRIKZuHARQM1rz9LfWN0MWn+qgOWBKpi+jjruQ0WZCdDhbLv0h4pQ2RhnIIlL M6cd3D75BTF3VJvKRgG3Hd1s+ffiYOIlyS0LgxxoMLgGFZvFQ48ruS68IPjtppqggnjOHZZ5QAOvD UDV7YyG3FKdeDZCp/uJQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzDw0-0000000H0hQ-1hn3; Tue, 23 Apr 2024 11:03:37 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.97.1 #2 (Red Hat Linux)) id 1rzDvj-0000000H0Xy-496a for linux-arm-kernel@lists.infradead.org; Tue, 23 Apr 2024 11:03:24 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a55b3d57277so268378466b.2 for ; Tue, 23 Apr 2024 04:03:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1713870197; x=1714474997; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=suQfsfx0XfDLtajJq53CjRK2qU0iyazyi3mzkZPE6Kk=; b=kEfADWym+7TKMx7uOAtyJBn+qLkuXxYQSVjfLT6A2Rq625svqpGtYINLPHywoyEzzq O8QFdMynTV7GLcHBpfVnZSrRq13BexIIB5qSWbEoWgWW0cAxIV5A7gzk9u2HAaEdCCu0 hZXsRhSTW753pRnDR3Ow/EeBEex/PiKj9AmlMlRjCPzd1Umo7mtsbUClH1YvWmZAu/w5 kVF6FYqW+/3maFxfQ4UwdKgQDcVnsqkTSKpDyBowLu5VQeMOnjzU2yIWzE9k4GWAfcRH jLfHd5cVmS+RGj3r8qlv0tP2L5vrkGG2JuOu9QVpO9rZFo5opyM5EfForhV4htrKyP8+ RFXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713870197; x=1714474997; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=suQfsfx0XfDLtajJq53CjRK2qU0iyazyi3mzkZPE6Kk=; b=OwlZHY0KYpsN3sP688Uh2tL/90ZnnX46px1unOtY3H1YlN6iUKncgYLlpb8FpDCI6c tyNms8zw6LE4I1ziYrnwo2tXFRskgDhXd1ZRfiIoaX2KfMa+jUmK0jLPkEUbFez4R7yt ROj7AkFJSO2ReHI4luE6aFQa4KNFVzUA1ot+mb5jiDNMPxIBR9+at5+0Ft/CYa7ajCvy CT0jPf1bpMwYR0bsumWmXOkMYFD1DBRJc12dahc+mrzO9pEI6XspxAFwFjFOFIhJKAx1 z3m4NJ/JzFbNTeROaEvFO2nGn/0d/ouAyeEaeJEmefWzpZaq6newJKGRb6W3oEGqWIMF qh/Q== X-Forwarded-Encrypted: i=1; AJvYcCV7bAsOuNuoh5fHltNS5p0bVqK43yqPrvJZoc0Sjhvse+vAz0jNb7BSFRnHmMPlw584wPgb/kY8Wl3JSlF2rheE7u9Zixi3u5PESbNdyah2xstbWbs= X-Gm-Message-State: AOJu0YzypYKfeSOeFHSgQhYFrVi82/QUCVEbH7VSJwCqGNAi5AOsCD6E /q7GxBgIFU3I4YhcSe0rajT+Z0I7K7iTd05mbPtJ8fCzbLPtc01D X-Google-Smtp-Source: AGHT+IHv+P2G0OR3Cx5px2TP1AQ3ioquImCGwg6nlBqFaf8+DPNIu7+xpPJcZ8r55QAt/HjchGckzA== X-Received: by 2002:a17:907:a0e:b0:a55:af02:912e with SMTP id bb14-20020a1709070a0e00b00a55af02912emr5180016ejc.8.1713870197409; Tue, 23 Apr 2024 04:03:17 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id s17-20020a1709067b9100b00a51bf5932aesm6900880ejo.28.2024.04.23.04.03.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 Apr 2024 04:03:17 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli , Hauke Mehrtens Cc: Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , =?utf-8?b?QXLEsW7DpyA=?= =?utf-8?b?w5xOQUw=?= Subject: [PATCH 2/2] ARM: dts: BCM5301X: Describe PCIe controllers fully Date: Tue, 23 Apr 2024 13:02:38 +0200 Message-Id: <20240423110238.32148-2-zajec5@gmail.com> X-Mailer: git-send-email 2.35.3 In-Reply-To: <20240423110238.32148-1-zajec5@gmail.com> References: <20240423110238.32148-1-zajec5@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240423_040320_103928_E373B773 X-CRM114-Status: GOOD ( 11.44 ) 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 From: Rafał Miłecki This fixes: arch/arm/boot/dts/broadcom/bcm4708-asus-rt-ac56u.dtb: pcie@18012000: 'device_type' is a required property from schema $id: http://devicetree.org/schemas/pci/pci-bus.yaml# arch/arm/boot/dts/broadcom/bcm4708-asus-rt-ac56u.dtb: pcie@18012000: 'ranges' is a required property from schema $id: http://devicetree.org/schemas/pci/pci-bus.yaml# arch/arm/boot/dts/broadcom/bcm4708-asus-rt-ac56u.dtb: pcie@18013000: 'device_type' is a required property from schema $id: http://devicetree.org/schemas/pci/pci-bus.yaml# arch/arm/boot/dts/broadcom/bcm4708-asus-rt-ac56u.dtb: pcie@18013000: 'ranges' is a required property from schema $id: http://devicetree.org/schemas/pci/pci-bus.yaml# arch/arm/boot/dts/broadcom/bcm4708-asus-rt-ac56u.dtb: pcie@18014000: 'device_type' is a required property from schema $id: http://devicetree.org/schemas/pci/pci-bus.yaml# arch/arm/boot/dts/broadcom/bcm4708-asus-rt-ac56u.dtb: pcie@18014000: 'ranges' is a required property from schema $id: http://devicetree.org/schemas/pci/pci-bus.yaml# Cc: Arınç ÜNAL Signed-off-by: Rafał Miłecki Reviewed-by: Linus Walleij --- arch/arm/boot/dts/broadcom/bcm-ns.dtsi | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi index 7c8ee2df538f..fac3e9859b3e 100644 --- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi @@ -182,22 +182,40 @@ chipcommon: chipcommon@18000000 { }; pcie0: pcie@18012000 { + compatible = "brcm,iproc-pcie"; reg = <0x18012000 0x1000>; - + ranges = <0x82000000 0 0x08000000 0x08000000 0 0x08000000>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 126 IRQ_TYPE_LEVEL_HIGH>; + bus-range = <0x00 0xff>; + device_type = "pci"; + #interrupt-cells = <1>; #address-cells = <3>; #size-cells = <2>; }; pcie1: pcie@18013000 { + compatible = "brcm,iproc-pcie"; reg = <0x18013000 0x1000>; - + ranges = <0x82000000 0 0x20000000 0x20000000 0 0x08000000>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 132 IRQ_TYPE_LEVEL_HIGH>; + bus-range = <0x00 0xff>; + device_type = "pci"; + #interrupt-cells = <1>; #address-cells = <3>; #size-cells = <2>; }; pcie2: pcie@18014000 { + compatible = "brcm,iproc-pcie"; reg = <0x18014000 0x1000>; - + ranges = <0x82000000 0 0x28000000 0x28000000 0 0x08000000>; + interrupt-map-mask = <0 0 0 0>; + interrupt-map = <0 0 0 0 &gic GIC_SPI 138 IRQ_TYPE_LEVEL_HIGH>; + bus-range = <0x00 0xff>; + device_type = "pci"; + #interrupt-cells = <1>; #address-cells = <3>; #size-cells = <2>; };