From patchwork Tue Nov 27 12:45:51 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Maxime Ripard X-Patchwork-Id: 10700469 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 43AE814BD for ; Tue, 27 Nov 2018 13:12:57 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3234E2B2D8 for ; Tue, 27 Nov 2018 13:12:57 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 265042B2CE; Tue, 27 Nov 2018 13:12:57 +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 B702D2B2D8 for ; Tue, 27 Nov 2018 13:12:56 +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:References:In-Reply-To: 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: List-Owner; bh=xv21A6Vn+TCdchvwdu2dYcUPZ+cBSE5Z3XQzTpMBvOo=; b=oI9NsrZDn28fhj TzovrF9mlHIjagQs965IiJl0IWrIg7FIVH/WhmIwcwsenTj43vRNLo0mpx38x8Ug2eJyiYeckwxjC sv2lh4yYBCE7fkk+zDqVjm8cejK+QpCorl4lMLjBsZxy+bGWmt2N8ve6KQ6290dDwbkorAya0LZ9O wUrGECpSq2gDYDRvWXocldvMZSwsJ0mw1fESe8otWmXlT1ZyAI4Q1tn9c5IW2Mv1ux2ijxF3HKNwY tJ+VPwrfmW5os9u1qBMgmpsYqyQgZmN4f4VfdmP/+GBRGRQ+RgH9FLTjqssFouQAoFZpR1NgZjGbc tJSCJzlwlTxttOdZ1oQQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRdAT-0004AQ-Rt; Tue, 27 Nov 2018 13:12:45 +0000 Received: from casper.infradead.org ([2001:8b0:10b:1236::1]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRd91-0002ol-Ci for linux-arm-kernel@bombadil.infradead.org; Tue, 27 Nov 2018 13:11:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=Content-Transfer-Encoding:MIME-Version: References:In-Reply-To:Message-Id:Date:Subject:Cc:To:From:Sender:Reply-To: Content-Type:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=TDFOnm5a/lUzbV+Il5sRMkavnNeGAE76CU+5YMmLKBY=; b=s2uLRH+4fnNnwJSvYtubEvICj/ 1tS2Jvy/k0M3Mru1RcAHAfY0GfZgxbk8Pk3Ah6GPMYuGoXIWqPG2GpZ+pWZ+aFKYSf+aWCfAoGAsu 7KsgG9Xjxp1/Uk0tF0gMMkdfqbuF4F5lg6AhQoF72mKS9nq0/mGySqUF/X3f7D/kFmdcoiASSv2cF 2BPcwUMzVixnDMR9zTdlU4lbiT7dezNVQiP39lCrqEk+/0v5GwW+3ZxVojzozyOaK86VG11WhDE9d NNceqiC7PGrtgnyBSWcoA3nwXi9cWN7pz4l/wH8/o/E1EH7Xtl0vAdG/UPMXTm6R6WkzMvGTbDhU9 Dv018y0Q==; Received: from mail.bootlin.com ([62.4.15.54]) by casper.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gRcls-00045D-3u for linux-arm-kernel@lists.infradead.org; Tue, 27 Nov 2018 12:47:24 +0000 Received: by mail.bootlin.com (Postfix, from userid 110) id 009C820DED; Tue, 27 Nov 2018 13:47:06 +0100 (CET) Received: from localhost (aaubervilliers-681-1-94-205.w90-88.abo.wanadoo.fr [90.88.35.205]) by mail.bootlin.com (Postfix) with ESMTPSA id 4D6EC213E7; Tue, 27 Nov 2018 13:46:39 +0100 (CET) From: Maxime Ripard To: Chen-Yu Tsai , Maxime Ripard Subject: [PATCH 50/77] ARM: dts: sun7i: lamobo-r1: Remove unused address-cells/size-cells Date: Tue, 27 Nov 2018 13:45:51 +0100 Message-Id: X-Mailer: git-send-email 2.19.1 In-Reply-To: References: MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181127_124720_287718_26DC99ED X-CRM114-Status: GOOD ( 13.60 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 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 #address-cells and #size-cells are only relevant for nodes that have childs with reg properties. Otherwise, DTC will emit a warning saying that those properties are unnecessary. Remove them when needed. Signed-off-by: Maxime Ripard Acked-by: Chen-Yu Tsai --- arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts index 6f8dfa717994..f91e1bee44e8 100644 --- a/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts +++ b/arch/arm/boot/dts/sun7i-a20-lamobo-r1.dts @@ -123,6 +123,8 @@ phy-mode = "rgmii"; phy-supply = <®_gmac_3v3>; status = "okay"; + /delete-property/#address-cells; + /delete-property/#size-cells; fixed-link { speed = <1000>; @@ -137,8 +139,6 @@ switch: ethernet-switch@1e { compatible = "brcm,bcm53125"; reg = <30>; - #address-cells = <1>; - #size-cells = <0>; ports { #address-cells = <1>;