From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757279AbcJGPar (ORCPT ); Fri, 7 Oct 2016 11:30:47 -0400 Received: from mail-wm0-f46.google.com ([74.125.82.46]:38233 "EHLO mail-wm0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757063AbcJGPYa (ORCPT ); Fri, 7 Oct 2016 11:24:30 -0400 From: Pantelis Antoniou To: Lee Jones Cc: Rob Herring , Mark Rutland , Frank Rowand , David Woodhouse , Brian Norris , Wim Van Sebroeck , Jean Delvare , Georgi Vlaev , Guenter Roeck , JawaharBalaji Thirumalaisamy , Pantelis Antoniou , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org, linux-watchdog@vger.kernel.org, linux-hwmon@vger.kernel.org Subject: [PATCH 6/7] mtd: ptx1kbf: Bindings for Juniper's PTX1K Boot FPGA Date: Fri, 7 Oct 2016 18:22:03 +0300 Message-Id: <1475853724-22557-7-git-send-email-pantelis.antoniou@konsulko.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1475853724-22557-1-git-send-email-pantelis.antoniou@konsulko.com> References: <1475853724-22557-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 From: Georgi Vlaev Add binding document for Junipers Flash IP block present in the PTX1K Boot FPGA on PTX series of routers. Signed-off-by: Georgi Vlaev [Ported from Juniper kernel] Signed-off-by: Pantelis Antoniou --- .../devicetree/bindings/mtd/ptx1kbf-mtd.txt | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt diff --git a/Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt b/Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt new file mode 100644 index 0000000..4e25060 --- /dev/null +++ b/Documentation/devicetree/bindings/mtd/ptx1kbf-mtd.txt @@ -0,0 +1,23 @@ +Flash device on a PTX1K Boot FPGA + +These flash chips are found in the PTX series of Juniper routers. + +Required properties: +- compatible : must be "jnx,flash-sam" + +Optional properties: +- reg : memory address for the flash chip, 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: + +ptx1kbf_mtd { + compatible = "jnx,ptx1kbf-mtd"; + /* usually the whole flash is used */ +}; -- 1.9.1