From patchwork Thu Jul 26 04:02:55 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chris Packham X-Patchwork-Id: 10545169 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 E1B7114E0 for ; Thu, 26 Jul 2018 04:03:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CD22826CFF for ; Thu, 26 Jul 2018 04:03:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE4012AA1D; Thu, 26 Jul 2018 04:03:32 +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=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI 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 6C1B226CFF for ; Thu, 26 Jul 2018 04:03:32 +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:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: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=f2HjHAoddyDLm026tH5eeFhUYpRlcgQVgVVeCfi4H7Q=; b=Hvjgv4CXRld1gOuS8n7h6V26id JlXfDK4MXIcXgU0OyeCYSJvaO7Co/AFHjQ9DOiKPcDKqRbh6zRDeS9faCv/mUIsqFWatXU2PL7pQR aJF3a11Osh21o2lqJiBJwR28QXWfK1E+BzR4ygHdhuxJ0W5Rkog96nADvYt4pfDHyszJ8SqAYLpCG HzS5FECPSHMSSwvZWaJEPOjdIrwVqWj8j+5KlyfqxYuT+zPLlWvdHKkqpH5Xq/nqlsoiym43z0e2a Ah+wcVtOpTK3doRdW2iGl+JB/vuhG7/Q2KqdwjGo4AqdiU/c9EOMwQSiF2DVCzsWloOikt3T/Dju/ 4kZKuqxQ==; 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 1fiXUu-00081G-BP; Thu, 26 Jul 2018 04:03:28 +0000 Received: from gate2.alliedtelesis.co.nz ([202.36.163.20]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fiXUg-0007kj-Oc for linux-arm-kernel@lists.infradead.org; Thu, 26 Jul 2018 04:03:17 +0000 Received: from mmarshal3.atlnz.lc (mmarshal3.atlnz.lc [10.32.18.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by gate2.alliedtelesis.co.nz (Postfix) with ESMTPS id 0E43B8781F; Thu, 26 Jul 2018 16:03:01 +1200 (NZST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=alliedtelesis.co.nz; s=mail; t=1532577781; bh=H2N776aEBywh1IbTbT4FoModpBclCV+WkNul5jHw5lk=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=vC5WEG6ZH4aLPowbrIZBhGpHTWF9axybh8DQcPRmrmoxm/LSyvbGrdqP/XlBqHJkw uNy5e6yj9BSrtOdp5W/VZi6MZDFloZBsPfzYRBzeKlFRXnFB8mK5e55Qyp5ZYfPE2j 37EtvwyZk0zeXVxqyWMHWr6pIJ2c5h3pr+eLb2gk= Received: from smtp (Not Verified[10.32.16.33]) by mmarshal3.atlnz.lc with Trustwave SEG (v7, 5, 8, 10121) id ; Thu, 26 Jul 2018 16:03:01 +1200 Received: from chrisp-dl.ws.atlnz.lc (chrisp-dl.ws.atlnz.lc [10.33.22.30]) by smtp (Postfix) with ESMTP id 2E8C913ED1C; Thu, 26 Jul 2018 16:03:02 +1200 (NZST) Received: by chrisp-dl.ws.atlnz.lc (Postfix, from userid 1030) id C8AFE1E262C; Thu, 26 Jul 2018 16:03:00 +1200 (NZST) From: Chris Packham To: robh+dt@kernel.org, mark.rutland@arm.com, jason@lakedaemon.net, andrew@lunn.ch, gregory.clement@bootlin.com, sebastian.hesselbarth@gmail.com Subject: [PATCH 2/4] ARM: dts: mvebu: db-dxbc2: use new style nand binding Date: Thu, 26 Jul 2018 16:02:55 +1200 Message-Id: <20180726040257.22285-3-chris.packham@alliedtelesis.co.nz> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180726040257.22285-1-chris.packham@alliedtelesis.co.nz> References: <20180726040257.22285-1-chris.packham@alliedtelesis.co.nz> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180725_210315_035414_7E38CFC4 X-CRM114-Status: GOOD ( 10.17 ) 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: devicetree@vger.kernel.org, Chris Packham , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 Update the nand flash binding to the new style. Signed-off-by: Chris Packham --- arch/arm/boot/dts/armada-xp-db-dxbc2.dts | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/armada-xp-db-dxbc2.dts b/arch/arm/boot/dts/armada-xp-db-dxbc2.dts index 944e0a9c9dac..8a3aa616bbd0 100644 --- a/arch/arm/boot/dts/armada-xp-db-dxbc2.dts +++ b/arch/arm/boot/dts/armada-xp-db-dxbc2.dts @@ -70,12 +70,16 @@ &nand_controller { status = "okay"; - label = "pxa3xx_nand-0"; - num-cs = <1>; - marvell,nand-keep-config; - nand-on-flash-bbt; - nand-ecc-strength = <4>; - nand-ecc-step-size = <512>; + + nand@0 { + reg = <0>; + label = "pxa3xx_nand-0"; + nand-rb = <0>; + marvell,nand-keep-config; + nand-on-flash-bbt; + nand-ecc-strength = <4>; + nand-ecc-step-size = <512>; + }; }; &sdio {