From patchwork Thu May 10 21:20:00 2018 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: 10392477 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A86CD6053D for ; Thu, 10 May 2018 21:21:53 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 9974428CF1 for ; Thu, 10 May 2018 21:21:53 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8D72028D5B; Thu, 10 May 2018 21:21:53 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, DKIM_VALID, FREEMAIL_FROM, 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 8C68328CF1 for ; Thu, 10 May 2018 21:21:52 +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=3OIPNf9J8h+JHYdGAbrsJH374PMuV5pCbdRw+yxjyoc=; b=tuUhbX1ZEap+12 wIcaRJscYMZIAFXZtGgpaUWjRoINnJoETILmori/PYWtW4MbOEGqY4swYNqwC8JdnKkT2EMZxtC8g PY3X5+Q8pebcTowKJE14UWrl2/mpHac4tOAHuQcQamfBys8JTtK+ezyXDYAYj5PR59wNil/oMeR48 sf/aymapCX5BM9pkJygSVcdb6OI5lLTaxpbqZpsDRStCJpe0s9/SWM47yLRMSWEL5PUHm9o0fjLYO vXXCxkwbW9x2+d3xQkH+9J4lk+lRkmYTRHMcMioYyQ8BIAcIJQOdy2s08tu15oRlQJi1N518JHMdx rCAtZdHDiUOf/HyE09AA==; 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 1fGt0O-0006lk-Uk; Thu, 10 May 2018 21:21:40 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fGt0L-0006ko-3v for linux-arm-kernel@lists.infradead.org; Thu, 10 May 2018 21:21:38 +0000 Received: by mail-lf0-x241.google.com with SMTP id t129-v6so4978715lff.3 for ; Thu, 10 May 2018 14:21:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RmBbQNV/hJaoZFvl1q5Pm15/JfUindtONSWox4cLMLI=; b=pp5Ep5p4grJIC8XXesaP96ZkGjPXTDF5aU49Qtd7vB2p2k55wX4WsBKcczbYD2WIsA i9GIG0DWXIKqFmvQPE5LZ7QbTubVLN83tETNm+/SAxCbesKoNMV6urd1hBJ6E/MZNdLo p1ogG7DT4bI6xHio1jIAyQ7odsLb5CkObdFKJKA8PreRghKqac0nwNPD0vVqF44rMfQD WOAKwyB222mmko7Itt45ztuVus4NXFVeLe+rWbP/HbSYPeqejEwzjVxOWVpvhHZyk76m oOe2Hkm0IMeWR9oAmrVy14WoEVXHv155w3A+10F4NopNYi+JOzIICYpfKYCYLa2XdxlH qjtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=RmBbQNV/hJaoZFvl1q5Pm15/JfUindtONSWox4cLMLI=; b=TwERUDbA7mSdimS1B0pYgWxqN5+WjudHxtX/wuwf4qKUrPtibeGgjdC90YQENpUotM b0qg01nHmWuQOMLqG0whv2tE+wzbXOnj1UOTml0xrASLQD2JzTCNfzxJ9U9+QKr3eVfH gzF5Mdnj20eUQxZcusXfGyt76X4jreGfocqtOMGAe3thHihgKA4sE41fM2WXYr7bD2V9 KYbis2QVPMsufkakAgIvIEyea8bNzXpmTOfk2rpRD/AYtRB0ilcVkC7f1qCCjeuliBeg n0ZSSjSWpVLv7TZDiyOJpRrrhXToGZbVjp27gCOXePgWyzGV3vNfVrKZ2L1hVyJS9eNx 7wQQ== X-Gm-Message-State: ALKqPweU0yzEc1hFFIrtEYATTOFKezf2nFnNiLMxSOFtMKzTp3LmdUym 7EcflQLHIQY3vuj5hWmqMXc= X-Google-Smtp-Source: AB8JxZq1lN9nZohmHAWntdLYQUSZibU6r886qVP8YiuNQ7T6R6ccmSlSr5MCW8jG2/4PJ0jn1qhgng== X-Received: by 2002:a2e:9d95:: with SMTP id c21-v6mr2280222ljj.89.1525987284898; Thu, 10 May 2018 14:21:24 -0700 (PDT) Received: from linux-veee.lan (ip-194-187-74-233.konfederacka.maverick.com.pl. [194.187.74.233]) by smtp.gmail.com with ESMTPSA id 23-v6sm339956lfw.64.2018.05.10.14.21.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 10 May 2018 14:21:23 -0700 (PDT) From: =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= To: Florian Fainelli Subject: [PATCH] ARM: dts: BCM5301X: Switch D-Link DIR-885L to the new partitions syntax Date: Thu, 10 May 2018 23:20:00 +0200 Message-Id: <20180510212000.11110-1-zajec5@gmail.com> X-Mailer: git-send-email 2.13.6 MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180510_142137_153413_3340A80C X-CRM114-Status: GOOD ( 13.78 ) 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: Mark Rutland , devicetree@vger.kernel.org, Hauke Mehrtens , Rob Herring , bcm-kernel-feedback-list@broadcom.com, =?UTF-8?q?Rafa=C5=82=20Mi=C5=82ecki?= , 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 From: Rafał Miłecki This new syntax is slightly better designed & uses "compatible" string. For details see Documentation/devicetree/bindings/mtd/partition.txt . Signed-off-by: Rafał Miłecki --- arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts index 494dbd39658c..d173bcd93b91 100644 --- a/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts +++ b/arch/arm/boot/dts/bcm47094-dlink-dir-885l.dts @@ -26,9 +26,15 @@ nand: nand@18028000 { nandcs@0 { - partition@0 { - label = "firmware"; - reg = <0x00000000 0x08000000>; + partitions { + compatible = "fixed-partitions"; + #address-cells = <1>; + #size-cells = <1>; + + partition@0 { + label = "firmware"; + reg = <0x00000000 0x08000000>; + }; }; }; };