Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp146030lqm; Tue, 30 Apr 2024 16:07:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVInpFbLPaefZpkD2TlcBtvQGHSaGSyrpv3ZdijJm4+uJdxPE0HCDTwKTUOyQ4A1Hu4kJ1fmD22GweyRM2jufVyNQY5wZ+srIp08d3UlA== X-Google-Smtp-Source: AGHT+IF5DasfCxryuDcVv2cUHfdb5cG/9/LBY5xkbVU9oOWTqD8k2w7b03PY2dcsUyZFSR3cFqdg X-Received: by 2002:a17:906:37ca:b0:a58:eabd:7268 with SMTP id o10-20020a17090637ca00b00a58eabd7268mr708227ejc.77.1714518468709; Tue, 30 Apr 2024 16:07:48 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714518468; cv=pass; d=google.com; s=arc-20160816; b=Yx7IQtHh30st6oF9l3j13kU9O4oUyIK7plcjujDdkfiFEd+uOblVcg67kkIReFLS86 UGzXZU/zoK+Syq7Bi/5NROQ330MpFDncF+mpeRU74neFo+flKMjR8wdtburFiDfpFXkq 2sFhUmcGS8WuazcUTbO1/P5qQeiS87dbl+JCL7Kw5mttABbmkZzjKqvE2It1N4VNJ+ma Onq/kQmCEIvwaYHnymofegW7PPdz98/4p+GGD7TVPK/pjFOvpUaQkkT2Rh8yHJBSFdPO WguDbcPsiggnFj5EfDttqs1CRKrX6RccSkEKoj/ZOKEANl81k1khdoYnTjZ69MyaMV/8 E+Pg== 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=UpFjA5NI/j3RZ9EJl6frWAveVA50S0VEJY0jrr6l/IU=; fh=jm4WhhCsyKFJlnc/C9zLfTbDCtgwW7QTybIJ09uIUgg=; b=iAigenCEg8hjHBsoy79LQl5EmutFYJKFmu6M4jWnecaG0xe9s/lP7MLdG8Ij2d+4/A UpjAnjQF3OcI7D9cFmgJ4DG0Vhgpio68CHEge7eMaPmHMkSEPVZk+4oW9YhkC6UHgwrM 1sbvA6krVKixeyE7eF8kohgBT0AXwgPJDZyfJvDU149v6vVHwkfy8DHCjTo1TxC1eqhM IWOFziHhBo+FuCMzzsIIM46Ei5imsAwfw6JNnpc/Gti2Mr/lg09nf7lnVLbG2GCUXCgY eaQSka2DzgNJabDjt81TkzJTN96ozr6jOkJWPTCK36gR6UrG/gfiTn6xeGQ3HtpSKqs1 LC6g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=aNaDSg5R; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-164791-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164791-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id bg24-20020a170906a05800b00a55b58bb901si11340186ejb.208.2024.04.30.16.07.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 30 Apr 2024 16:07:48 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-164791-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=aNaDSg5R; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-164791-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-164791-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6926F1F23913 for ; Tue, 30 Apr 2024 23:07:48 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7225D1C0DEF; Tue, 30 Apr 2024 23:07:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="aNaDSg5R" Received: from relay.smtp-ext.broadcom.com (relay.smtp-ext.broadcom.com [192.19.144.205]) (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 51A91129E72; Tue, 30 Apr 2024 23:07:24 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.144.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714518446; cv=none; b=XRGjC46DWGowErjPeqaIHxP6trawEIXaFWGkw1qywlJlCDVvP15IlyVB80pgmgv4AdtQQLCqyAhogLHbsNa8P8RLvOqGOslzQrKmv89f9sg80EI1OfDNDaafZXTWfbfsxW+PCTpVa3suzvOAO6EkyrMjAGDREyJx4pIpbhX59EI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714518446; c=relaxed/simple; bh=4Fp3Qi48gxR++eU3dRna/L7sh73jrL5Mucb8Si43TsA=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version:Content-Type; b=p+7gci46s/n/wrVK43MIDTmPu+nGwrPhSY0EXYBhplhwUFFIsX9Grr5bzpAo4iw9n23CBWFAR2HhfOh8SK/l+8VXlFQBSvK6chuWKeZVtk74e2z4teHYbAEds6G5KccMf6VAbWvfrxZ/CkUMtqhRuCqVEauscKs+2xz7A2diryI= 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=aNaDSg5R; arc=none smtp.client-ip=192.19.144.205 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 3F0D2C0000E8; Tue, 30 Apr 2024 16:07:17 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 3F0D2C0000E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1714518437; bh=4Fp3Qi48gxR++eU3dRna/L7sh73jrL5Mucb8Si43TsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aNaDSg5RHdblYgSBb7us6jjlyD/NNQyiUjsQikhJ2I47vv4PkLpLmZYsd+FqmFWn4 lCMWGOkjwVVGL3z9IGvInxQCkWYooCZLiX0KaBjrMtm/OpsHEUVCJ7GHxy0eDvQmxl EWa7ehRRBqRam2t/WiZrI9oYPG3w7JwciHguDIME= 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 5C83F18041CAC7; Tue, 30 Apr 2024 16:07:15 -0700 (PDT) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , =?UTF-8?q?Ar=C4=B1n=C3=A7=20=C3=9CNAL?= , 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 2/2] ARM: dts: BCM5301X: Describe PCIe controllers fully Date: Tue, 30 Apr 2024 16:07:14 -0700 Message-Id: <20240430230714.3923578-3-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-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 [florian: Make it apply to the relocated PCIe node(s)] Signed-off-by: Florian Fainelli --- 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 8f69da8d18c2..b6fc4e4bba8d 100644 --- a/arch/arm/boot/dts/broadcom/bcm-ns.dtsi +++ b/arch/arm/boot/dts/broadcom/bcm-ns.dtsi @@ -474,22 +474,40 @@ usb3_dmp: syscon@18105000 { }; 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>; }; -- 2.34.1