Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756937AbcJGPm1 (ORCPT ); Fri, 7 Oct 2016 11:42:27 -0400 Received: from mail-wm0-f41.google.com ([74.125.82.41]:35939 "EHLO mail-wm0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756987AbcJGPUP (ORCPT ); Fri, 7 Oct 2016 11:20:15 -0400 From: Pantelis Antoniou To: Lee Jones Cc: Rob Herring , Linus Walleij , Alexandre Courbot , Mark Rutland , Frank Rowand , Wolfram Sang , David Woodhouse , Brian Norris , Wim Van Sebroeck , Guenter Roeck , Peter Rosin , Debjit Ghosh , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , Rajat Jain , Pantelis Antoniou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-i2c@vger.kernel.org, linux-mtd@lists.infradead.org, linux-watchdog@vger.kernel.org Subject: [PATCH 10/10] mtd: ngpmb_nvram: Add bindings for Juniper's ngpmb NVRAM Date: Fri, 7 Oct 2016 18:17:31 +0300 Message-Id: <1475853451-22121-11-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475853451-22121-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1475853451-22121-1-git-send-email-pantelis.antoniou@konsulko.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1336 Lines: 42 From: Georgi Vlaev Add device tree binging document for the ngpmb NVRAM device. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../devicetree/bindings/mtd/ngpmb-nvram.txt | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/ngpmb-nvram.txt diff --git a/Documentation/devicetree/bindings/mtd/ngpmb-nvram.txt b/Documentation/devicetree/bindings/mtd/ngpmb-nvram.txt new file mode 100644 index 0000000..297ad0e --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/ngpmb-nvram.txt @@ -0,0 +1,22 @@ +Non Volatile RAM device on a Juniper NG PMB FPGA + +These devices are found in the PTX series of Juniper routers. + +Required properties: +- compatible : must be "jnx,ngpmb-nvram" + +Optional properties: +- reg : memory address for the RAM, note that this is not +required since usually the device is a subdevice of the SAM MFD +driver which fills in the register fields. + +For the rest of the properties, see mtd-physmap.txt. + +The device tree may optionally contain sub-nodes describing partitions of the +address space. See partition.txt for more detail. + +Example: + +ngpmb_nvram { + compatible = "jnx,ngpmb-nvram"; +}; -- 1.9.1