From patchwork Wed Jul 3 13:22:45 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 11029631 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id D8C6113B1 for ; Wed, 3 Jul 2019 13:23:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C6C3D26E54 for ; Wed, 3 Jul 2019 13:23:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BB2CC28932; Wed, 3 Jul 2019 13:23:11 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 5C190284F1 for ; Wed, 3 Jul 2019 13:23:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:Message-Id:Date:Subject: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=aD7KI0OBlHm0v10QTaoWZrd8Usw9WmukrHSAsTXlhBM=; b=ik+/Ywf+skf/EB plC4N3E5Ao/e3dzVTwMFe5Ivk5gZcQfk19xqh58SVz26lY4tqBdNxjdXKSvzVWqGzLTqgZfDGqHuf xu9EaC/5xDzgyT0dzWZW4j9n6vMTkFXv0wSGeWPzLyNSabH+GTAQe7Y2PVJyFZJxYURUcMlWrqiJ/ bRTz7uUBeNvPl5BJ3M+qtVRKEjexcu6e+HlPPFiSlZr9S1/AOBvIJ4TPAdN/Ubto25gy8pSU+P5c5 s3/3XNxxN4xNG0R5HSGURBOfW8D2qrtChx0S7XV5NfhkOE7kKGisVA8tmguZsNDg2tMMvZp1yqtgi QvYswUhp9I3MHaYPcccQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92 #3 (Red Hat Linux)) id 1hifE6-0001Mc-W0; Wed, 03 Jul 2019 13:23:10 +0000 Received: from mout.kundenserver.de ([212.227.126.131]) by bombadil.infradead.org with esmtps (Exim 4.92 #3 (Red Hat Linux)) id 1hifE3-0001M2-2j for linux-arm-kernel@lists.infradead.org; Wed, 03 Jul 2019 13:23:08 +0000 Received: from threadripper.lan ([149.172.19.189]) by mrelayeu.kundenserver.de (mreue012 [212.227.15.129]) with ESMTPA (Nemesis) id 1M28O9-1hgjPt2sY5-002TnS; Wed, 03 Jul 2019 15:22:56 +0200 From: Arnd Bergmann To: Hauke Mehrtens , =?utf-8?b?UmFmYcWCIE1pxYJlY2tp?= , bcm-kernel-feedback-list@broadcom.com, Rob Herring , Mark Rutland Subject: [PATCH] ARM: bcm47094: add missing #cells for mdio-bus-mux Date: Wed, 3 Jul 2019 15:22:45 +0200 Message-Id: <20190703132255.852025-1-arnd@arndb.de> X-Mailer: git-send-email 2.20.0 MIME-Version: 1.0 X-Provags-ID: V03:K1:lvCFNj9rbQR8RjOV+MdKMN2bThGvAL+qaIb0oH5aGJue3TtP6ln d06sVHt6EYjIPOROSrbU6OtWl5LwghmnPvShGgDdr3Yx4Y58LgyPOn61l1tQj64jSgrSV2V oHrxr3wIM2tTby06bedxGhM2+S+nwWbrAlQRvfny4jBGFGMXWaOpDANZEBrzusRolOE6GIs 9n6vd3A5ulAq03Ib8PKNA== X-UI-Out-Filterresults: notjunk:1;V03:K0:l7jljqs9bFs=:KFglj0618tLWnyn1ATzAdo uIUjTjubRhoedfMbin5H/FoTO8PCiZnOMjlibAiNvYNuNQkqF6IpoB1/sukRqXavCjJN3ns6Q MjoA1M9xS+JQ1sG8JAvyo1lrfuhs2aHSWNSFAYx29AA0lmdl/+RBUP/NrDJ7+HXqY9RRPPNF9 1LzieIzos+QwFS+NBtE6CtxLBBOlpvB5qjD3/c7WoQWxgEuIhUTWnNBSU4LS2+LecsGP62YZp aEFAktZAd3XCcf0mKPJSR7Ve7E8YuFmyZgXgW4ZORNtRtdeYG74+T1X0ZNNIyokWWUHgahgNk xPI54+54p7TsXAifdYSWElb1GBDOCAE60Mg9eTZYAs93zACU8y2rxWSxGtvCY0yIkZLOabu7h NDhsnZyokdN5PN8i8S82mU+OZBwvvwZNmYrDgFBw9UhvN7/7FywSmeLHzEjRR7D8PHYauM6lT mCX8fbSF4pUiJuZs8637L59AHoiwbZ9RZ9kQAqA7kl0N47Xp6DVp6FqYUTV5cVkQE1L/p10xq wd3ZKhtMaH0PJnclTiU584ON5yxmjoaNe88mmnTrFboypT1NZGa2bLjq/ucSFwe79a+sQx9t0 A9XznHTmFTHmEnfa9Qa2b98+K2psiYq/Jw4uI+n36ELcC8kOoMEvGAo1ws4o/nJi5/MQ1KD0C 53TlBlpT5EY/JYztPcttty21x9Hl/LKdWBie9hpYxBPQIL9iLqbr9eOjWgjpS66ak2T6B0LOX c8Ar9G7tUYlIiPW1X8VzC7v+t4xTACx1gtnZOA== X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190703_062307_408969_A796A08A X-CRM114-Status: GOOD ( 10.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Florian Fainelli , Alexandre TORGUE , Arnd Bergmann , Neil Armstrong , linux-kernel@vger.kernel.org, Vivek Unune , linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The mdio-bus-mux has no #address-cells/#size-cells property, which causes a few dtc warnings: arch/arm/boot/dts/bcm47094-linksys-panamera.dts:129.4-18: Warning (reg_format): /mdio-bus-mux/mdio@200:reg: property has invalid length (4 bytes) (#address-cells == 2, #size-cells == 1) arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (pci_device_bus_num): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (i2c_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-linksys-panamera.dtb: Warning (spi_bus_reg): Failed prerequisite 'reg_format' arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default #address-cells value arch/arm/boot/dts/bcm47094-linksys-panamera.dts:128.22-132.5: Warning (avoid_default_addr_size): /mdio-bus-mux/mdio@200: Relying on default #size-cells value Add the normal cell numbers. Fixes: 2bebdfcdcd0f ("ARM: dts: BCM5301X: Add support for Linksys EA9500") Signed-off-by: Arnd Bergmann --- arch/arm/boot/dts/bcm47094-linksys-panamera.dts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts index 18d0ae46e76c..0faae8950375 100644 --- a/arch/arm/boot/dts/bcm47094-linksys-panamera.dts +++ b/arch/arm/boot/dts/bcm47094-linksys-panamera.dts @@ -124,6 +124,9 @@ }; mdio-bus-mux { + #address-cells = <1>; + #size-cells = <0>; + /* BIT(9) = 1 => external mdio */ mdio_ext: mdio@200 { reg = <0x200>;