From patchwork Fri Sep 7 17:35:14 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bernhard Frauendienst X-Patchwork-Id: 967450 Return-Path: X-Original-To: incoming-dt@patchwork.ozlabs.org Delivered-To: patchwork-incoming-dt@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=vger.kernel.org (client-ip=209.132.180.67; helo=vger.kernel.org; envelope-from=devicetree-owner@vger.kernel.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=nospam.obeliks.de Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=obeliks.de header.i=@obeliks.de header.b="Ugwt6RIq"; dkim-atps=neutral Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id 426QTw5VMqz9s4s for ; Sat, 8 Sep 2018 04:10:44 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726614AbeIGWwt (ORCPT ); Fri, 7 Sep 2018 18:52:49 -0400 Received: from scopuli.esotechnik.de ([79.143.188.15]:44258 "EHLO mail.esotechnik.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726411AbeIGWwt (ORCPT ); Fri, 7 Sep 2018 18:52:49 -0400 X-Greylist: delayed 1205 seconds by postgrey-1.27 at vger.kernel.org; Fri, 07 Sep 2018 18:52:48 EDT Received: by mail.esotechnik.net (Postfix) with ESMTPSA id 51F3CAE0B82; Fri, 7 Sep 2018 19:35:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=obeliks.de; s=jul2017; t=1536341717; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:content-type: content-transfer-encoding:in-reply-to:in-reply-to: references:references; bh=kwVJxlRBwObGSuUluWCFRaIRGaCErdzhKSHHJ0CGFt4=; b=Ugwt6RIqCWXWrP/5Dqed1FsCEdDa/adjpl4hVfNuZKNfF5B4heXNqL79Z7SemHehsuwUPC 8ydt+ABFbBqbIIY4571mnjax5NmENwZ3NuMPV6t1XTrIfn4zlo/SmcMUG5Dchp/4+eIqYr BWtoklbAIATAn+w4j4rwe/lke9F60gmH7obaWiW5sEp4FvAQ2S3KOb1kIsRKZcE9YK8fgb dYpsuzJOP7L9vF1O6NdOWKFFL3NL71j9KwMsOXOCBtKOjKIOHE8Nw+SZmGLxjuwJpP9qj/ ZQZvxsWq9/usk+H5yOCJg4psxrkU6fo5CUmtyDfeelDZgzp3ls/4xaSOg5jbSw== From: Bernhard Frauendienst To: David Woodhouse , Brian Norris , Boris Brezillon , Marek Vasut , Richard Weinberger Cc: Miquel Raynal , Rob Herring , Mark Rutland , linux-mtd@lists.infradead.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/3] dt-bindings: add bindings for mtd-concat devices Date: Fri, 7 Sep 2018 19:35:14 +0200 Message-Id: <20180907173515.19990-3-kernel@nospam.obeliks.de> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180907173515.19990-1-kernel@nospam.obeliks.de> References: <20180907173515.19990-1-kernel@nospam.obeliks.de> Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Signed-off-by: Bernhard Frauendienst --- .../devicetree/bindings/mtd/mtd-concat.txt | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/mtd-concat.txt diff --git a/Documentation/devicetree/bindings/mtd/mtd-concat.txt b/Documentation/devicetree/bindings/mtd/mtd-concat.txt new file mode 100644 index 000000000000..2daf3157b163 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/mtd-concat.txt @@ -0,0 +1,36 @@ +Virtual MTD concat device + +Requires properties: +- devices: list of phandles to mtd nodes that should be concatenated + +Example: + +&spi { + flash0: flash@0 { + ... + }; + flash1: flash@1 { + ... + }; +}; + +flash { + compatible = "mtd-concat"; + + devices = <&flash0 &flash1>; + + partitions { + compatible = "fixed-partitions"; + + partition@0 { + label = "boot"; + reg = <0x0000000 0x0040000>; + read-only; + }; + + partition@40000 { + label = "firmware"; + reg = <0x0040000 0x1fc0000>; + }; + } +}