From patchwork Fri Jun 16 10:58:27 2023 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: 13282614 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 1D915EB64D8 for ; Fri, 16 Jun 2023 10:59:14 +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=m5ANcWySnHYYJtocKlHEsrobzSWJAJc3nyDcTOks5qg=; b=k9gzs2BY+hY4QG jVL69glJyYzOfCNaRRjaRLUmZueiQZxIxfqz0HSjOVZf5MSjC9WCP1wulN5zJp2DS1W0z6z9zM3Z2 z04rutkul7NaQS7pUluMY5L6S0MHlDbMK85ykT+JgBYzQLJA0Qrj6eYcLbEntyMeMIKdtYid3sbyU ezLpEbXr69jteI+alXWKaUPssTp93e3QWrsborVs8NixsEbU3V+bQ+Rh9ACfAoO9tO/ma0QGAs65Z ZrFvmWYSGqxZL1LKNSEbtOhaY5rC7B5jhVCvreAT54RtSsIjtc8fCY0uk9vLnuW8QlM3x6VUtp0Il jQJ2AfVT3BTcNvZvwivQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qA7AM-000Hs5-1h; Fri, 16 Jun 2023 10:58:54 +0000 Received: from mail-lj1-x230.google.com ([2a00:1450:4864:20::230]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qA7AJ-000Hnn-1j for linux-arm-kernel@lists.infradead.org; Fri, 16 Jun 2023 10:58:52 +0000 Received: by mail-lj1-x230.google.com with SMTP id 38308e7fff4ca-2b203891b2cso6819551fa.3 for ; Fri, 16 Jun 2023 03:58:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1686913129; x=1689505129; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=ClW//q56HN5ZX0TrdghINkVT3Q8nQiJs8hPzQQiDBSo=; b=NicyOTU8754t+XdbpOEMpfbqODtdRBqRziCvnNxaFrvB844kcJbJE4yBhQMKaL9TFE sFA3jZ89VlhXgcNlN9p3MnqFQshoRUruOpSaErivYRV1SFgH4qikYx5qLf3r+1+2+SJ6 9vj/pNw1EwpSJCdst+zhDAkrlVytpQdHlA/hZgIld3N54BCdvjXjvL3J2UENXaGPjGra PLSkaIU9ZG1ZjHCqfZP8OW0zWY+77N09yyQnsrRB3LpC/YDjPhJWuhlhvsCQnWFE5zF5 8lixSXWTyekXg2o1NUwJR5V8uK3ChbhT8YD5kGOt2eXbpQ6AnfiumS87mG8dgXCOLX5y j5rg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686913129; x=1689505129; 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=ClW//q56HN5ZX0TrdghINkVT3Q8nQiJs8hPzQQiDBSo=; b=CgZZeI3vlfYubH14IbyJSMfsOOcQo2h3cGlnOBd2oQNevFCgc0xo2izLhcySR05NnC sGrX5ay9BLKHvljGszorh3iNj5YhQefksF3AOXHn5OpwZYhQ8PcWJDMx98oNHgDOejMo XggniydQgFC0V2cDS76Yjt9m540e0VQkEQOmaJJEObvOnO0jfzRyncxwx1Rc7KEfT8if 05bzw6tncezuUQCfVxEWjJNlDYjEHwlugeWbU6lcoxF7E/uMH/hLrNSB+3WE6XyP+grY eiIUrM3WZB9XjA6Z5WlkXXTa7uQMid+DaRcqFoLFDDtj+FsbsYzAjRuLJiS2SZ/veqb9 VMaA== X-Gm-Message-State: AC+VfDxV+FCAyAp16E5hffQ30LiQB4Y5gQchYhJky7OMXX/1cbVBjUvs 8IotdrjJGDregeLM+4dQ+kU= X-Google-Smtp-Source: ACHHUZ5a8a/ER2AhKWXwHab9Rr8+RBbeIGQVmQmtcj1GsGABHrLaPUotNs9xX+4CaNoBrh9HI38Jvg== X-Received: by 2002:a2e:9bc4:0:b0:2b1:e369:40 with SMTP id w4-20020a2e9bc4000000b002b1e3690040mr1537491ljj.27.1686913128316; Fri, 16 Jun 2023 03:58:48 -0700 (PDT) Received: from localhost.lan (031011218106.poznan.vectranet.pl. [31.11.218.106]) by smtp.gmail.com with ESMTPSA id p7-20020a2e9a87000000b002adb10a6620sm3490720lji.107.2023.06.16.03.58.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Jun 2023 03:58:47 -0700 (PDT) From: =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= To: Florian Fainelli Cc: Hauke Mehrtens , 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] ARM: dts: BCM5301X: Add cells sizes to PCIe nodes Date: Fri, 16 Jun 2023 12:58:27 +0200 Message-Id: <20230616105827.21656-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-20230616_035851_592898_3159F626 X-CRM114-Status: GOOD ( 11.95 ) 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/bcm4708-asus-rt-ac56u.dtb: pcie@12000: '#address-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@12000: '#size-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@13000: '#address-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@13000: '#size-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@14000: '#address-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml arch/arm/boot/dts/bcm4708-asus-rt-ac56u.dtb: pcie@14000: '#size-cells' is a required property From schema: /lib/python3.10/site-packages/dtschema/schemas/pci/pci-bus.yaml Two properties that need to be added later are "device_type" and "ranges". Adding "device_type" on its own causes a new warning and the value of "ranges" needs to be determined yet. Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm-ns.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/boot/dts/bcm-ns.dtsi b/arch/arm/boot/dts/bcm-ns.dtsi index 53472d376a2c..dae9c47ace76 100644 --- a/arch/arm/boot/dts/bcm-ns.dtsi +++ b/arch/arm/boot/dts/bcm-ns.dtsi @@ -176,14 +176,23 @@ chipcommon: chipcommon@0 { 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 {