From patchwork Thu Jul 21 09:15:09 2022 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: 12924934 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 8BCFDC433EF for ; Thu, 21 Jul 2022 09:16:29 +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=fzqfB/a2fbBsQlwHw0eE9U8GInf3F0VJrV0o6TKBDVc=; b=sv9kTtg7V3D2iB DxAf2Su4Ps2kNRACIKpDldCg/hIv+k2d2OmtT3A+OihTZ6mKHI4e0wuh+7LBmcI//NI6DPkqazTK5 hWZjIzBRRrFOX/hPhrkyUqkBIDlFe0KHWRadvcUj2SxQhio4nSOJVr/T6tIXVffh/3dELT0e5xZ3s hLWkbg2pHbNZYC/+4joKduVgxK64MNSyw7qJhrBJFh8SiYYADJoNEIS1dTUk72Ng/FTwTY+84cVAH NKpPvIAK9scNMGqtHm5lOe0ZBulRXamaQVjGUYk408GRUh/+x0J4zAj8PicefmhlDqNENNESq2j01 mYRuVmSXUhBSEwaeSQ0g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1oESHD-0036S8-FG; Thu, 21 Jul 2022 09:15:23 +0000 Received: from mail-ed1-x52f.google.com ([2a00:1450:4864:20::52f]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1oESHA-0036OJ-Ou for linux-arm-kernel@lists.infradead.org; Thu, 21 Jul 2022 09:15:22 +0000 Received: by mail-ed1-x52f.google.com with SMTP id g1so1333567edb.12 for ; Thu, 21 Jul 2022 02:15:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=t62EoUnLtZtisogF+WnvHg75wkZNkB+wGd3KYs9HnEk=; b=Pr35zDGWOX09nrpbwjPXEflQ79GmB4Tv6+i1kil2bh3hdT1kQ169O2hPSkNkpsFHXh wlp8Bn4bEVswaTH/FByJ+HutAZiNlvt44G9sQy1NSSzKxu8anfpUP1Wdge9c9cORMn0U fRTh2x7Vbxyqe2kQTBuqY0ljF0PD2yotchZVo+H0ine5YCqvvoBs1pQ3Sbj2aMpa4siK K5ZbN6BFFyQTcVMj7zuTnChzI5x2Rrhpw4bHKMTx2yyJl60bfIYdCJRGn60rCnm6NkhB N8jcphJQ1pus1MiSDAzAyre6BZ2g0Me/XqiDUfdc3mTubfYiO/bXDSGBMFowpZ6ZIKeO F3kw== 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:mime-version :content-transfer-encoding; bh=t62EoUnLtZtisogF+WnvHg75wkZNkB+wGd3KYs9HnEk=; b=kpLbDVOraeQDqQiRp9KX/08QWM3uU3/IVyO7Pr6mEHzvh2+DLbzODy9q+BDuiUu5Xl RF8/2nOYpFNUXuXnurcFMa+yLMLauSY7yg3JtFOl1cRlWV4ngWt2WnjxLfGPHkmNZX59 19aumvV9nB6EqTsKx1QtTrUfR9hSQ6xqq2aUiYcVJ46OUHtgbxzm1yznPSlHGRVRYYW1 /dU0+T/ikh9utDAWpqWE0hFiudCwxqopBxS05LWzpdQ8EocBzme6uM3UYGBBTuyW8Tze zf8EKd46IEB2yzLfsazN1h2zEqAo5Zfs2wvzg2tl6WpnsZdtcWabR1nDD4qEwz/0ZYBD oafw== X-Gm-Message-State: AJIora/UF55vp6Eu3w13E5uThuXL5WCQRvuYe6Jo4LBAfbD8K5qZnYss /oCtT04HMcN0oFHPsmg6IyO5oQFZKG0rdw== X-Google-Smtp-Source: AGRyM1uMTOmTd1G1h1qUjrnw3+RyGbBONmxrftVjSb9gxKWzdzTHssbn8vyWxf8yIy7z35Ttmp2yhQ== X-Received: by 2002:a05:6402:1e94:b0:43a:9e92:bf2 with SMTP id f20-20020a0564021e9400b0043a9e920bf2mr55568540edf.248.1658394918515; Thu, 21 Jul 2022 02:15:18 -0700 (PDT) Received: from localhost.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id u17-20020a1709061db100b0072aeda86ac3sm611443ejh.149.2022.07.21.02.15.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 02:15:17 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , Rob Herring , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, bcm-kernel-feedback-list@broadcom.com, =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= Subject: [PATCH] ARM: dts: BCM5301X: Add basic PCI controller properties Date: Thu, 21 Jul 2022 11:15:09 +0200 Message-Id: <20220721091509.27725-1-zajec5@gmail.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220721_021520_831138_979CAEB5 X-CRM114-Status: GOOD ( 11.31 ) 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/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@12000: 'device_type' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@12000: '#address-cells' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@12000: '#size-cells' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@13000: 'device_type' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@13000: '#address-cells' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@13000: '#size-cells' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@14000: 'device_type' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@14000: '#address-cells' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm47081-buffalo-wzr-600dhp2.dtb: pcie@14000: '#size-cells' is a required property From schema: /lib/python3.9/site-packages/dtschema/schemas/pci/pci-bus.yaml What remains missing is "ranges" property. I currently don't know its correct value for Northstar SoC. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm5301x.dtsi | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/arch/arm/boot/dts/bcm5301x.dtsi b/arch/arm/boot/dts/bcm5301x.dtsi index 5fc1b847f4aa..a06184b8e0d9 100644 --- a/arch/arm/boot/dts/bcm5301x.dtsi +++ b/arch/arm/boot/dts/bcm5301x.dtsi @@ -239,14 +239,26 @@ chipcommon: chipcommon@0 { pcie0: pcie@12000 { reg = <0x00012000 0x1000>; + device_type = "pci"; + + #address-cells = <3>; + #size-cells = <2>; }; pcie1: pcie@13000 { reg = <0x00013000 0x1000>; + device_type = "pci"; + + #address-cells = <3>; + #size-cells = <2>; }; pcie2: pcie@14000 { reg = <0x00014000 0x1000>; + device_type = "pci"; + + #address-cells = <3>; + #size-cells = <2>; }; usb2: usb2@21000 {