From patchwork Tue Sep 13 19:51:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joachim Eastwood X-Patchwork-Id: 9329891 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 DAF72607FD for ; Tue, 13 Sep 2016 19:53:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA109295DA for ; Tue, 13 Sep 2016 19:53:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE1A7295FC; Tue, 13 Sep 2016 19:53:25 +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=-4.1 required=2.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_MED, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6050D295DA for ; Tue, 13 Sep 2016 19:53:23 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bjtkU-0007X7-5H; Tue, 13 Sep 2016 19:52:06 +0000 Received: from mail-lf0-x241.google.com ([2a00:1450:4010:c07::241]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bjtkC-0007RU-GJ for linux-arm-kernel@lists.infradead.org; Tue, 13 Sep 2016 19:51:49 +0000 Received: by mail-lf0-x241.google.com with SMTP id k12so7557282lfb.1 for ; Tue, 13 Sep 2016 12:51:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=LV3QFv5Oo6g2gRa/mcpAQj7V3EWUVbIntNYDY70aaw0=; b=IHUTnljuXU7zi51+MXZhZZQfIWlB3zAFjHRxvVkk9hQOfODg+YFrwm/81AFDWRM3Ry 2Jen7RfXWJOqZ01qT8D2882juT2o2Q9Gnd3bGCPa9Jc4fD/qs8/RHMvZK/BhSKlPYHAT J4K9hYz5ncZIX2ddVOHBmBIdsXPxvOo9pcuKIVOQUiM373/sYi1WcvTSyDPIuw+gLTeb Ai/9EKbsnowxnWu/B75U4VWGilgcbLQqFF5iVYfnnsvBHMs/H68Z5G2hr+1EcBagLmck /DxdFTV8kQ6+yP5syiLP+ub0gespHvTNVCfgpbAYw1ldCUZvUCNYOjnyX6VWhEHXVhOW GI+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=LV3QFv5Oo6g2gRa/mcpAQj7V3EWUVbIntNYDY70aaw0=; b=lW2BhMIWM4vIt36it5+qLo//GO3qTVksZ9yCdeqDOWnrEKQYjniWm3w3Hu05UothZG LmhqKAyme74sIPCGZRwSDRenwN6rmkGzvpsoDdt0aN7T3FyPeC9UWEg/YSaWELGgB7P+ xPfMpniqnh62fVGUdbSgHgz1kNo01txCF1fIjuQkoVAKbspgWBw6gxuznLACDjzhwJs0 2umJvYMvHmBizXmmf6y+qeAWLJqDEK6wsCorzsBbHvfc5xrL5GnQxTBQLaz+QPo5sKfI m1lOSt3fqGih9LU5huZfhOviPQ/7Xe5pOdwpNrnGdumD6zHXUnL5Vgpvexl8wmHURQmn W7fg== X-Gm-Message-State: AE9vXwOT6O+6azFlHPFhCtS2zIKBzbA+OvYBE1iYq/tLpNkQAlR0bvYNAlczJEQXSYnAgQ== X-Received: by 10.25.42.82 with SMTP id q79mr8474643lfq.102.1473796286176; Tue, 13 Sep 2016 12:51:26 -0700 (PDT) Received: from archthink.lan ([89.11.254.244]) by smtp.gmail.com with ESMTPSA id s187sm4198511lfd.3.2016.09.13.12.51.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 13 Sep 2016 12:51:25 -0700 (PDT) From: Joachim Eastwood To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/3] firmware: dt: document lpc1850 boot ROM bindings Date: Tue, 13 Sep 2016 21:51:16 +0200 Message-Id: <20160913195117.2887-3-manabian@gmail.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20160913195117.2887-1-manabian@gmail.com> References: <20160913195117.2887-1-manabian@gmail.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20160913_125148_791656_657B01B9 X-CRM114-Status: GOOD ( 12.62 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Joachim Eastwood , robh+dt@kernel.org, arnd@arndb.de 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 Binding documentation for the NXP LPC boot ROM. Signed-off-by: Joachim Eastwood --- .../devicetree/bindings/firmware/nxp,boot-rom.txt | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Documentation/devicetree/bindings/firmware/nxp,boot-rom.txt diff --git a/Documentation/devicetree/bindings/firmware/nxp,boot-rom.txt b/Documentation/devicetree/bindings/firmware/nxp,boot-rom.txt new file mode 100644 index 0000000..5f3a044 --- /dev/null +++ b/Documentation/devicetree/bindings/firmware/nxp,boot-rom.txt @@ -0,0 +1,21 @@ +* NXP LPC boot ROM + +NXP LPC microcontrollers contains a boot ROM used to retrieve part information +and access internal Flash memory and OTP memory. Note that the Flash API is +not available on Flashless devices. + +Required properties: +- compatible: must contain the following: "nxp,lpc1850-boot-rom". +- reg: physical base address of the ROM and length of memory mapped region. +- syscon: handle to NXP CREG (Configuration Registers) syscon block. +- nvmem-cells: = handle to OTP memory cell which contain the part ID. +- nvmem-cell-names: must contain "PartID". + +Example: +boot_rom: firmware@10400000 { + compatible = "nxp,lpc1850-boot-rom"; + reg = <0x10400000 0x10000>; + syscon = <&creg>; + nvmem-cells = <&part_id>; + nvmem-cell-names = "PartID"; +};