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>; };