From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joachim Eastwood 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> References: <20160913195117.2887-1-manabian@gmail.com> Return-path: In-Reply-To: <20160913195117.2887-1-manabian-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> Sender: devicetree-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org Cc: Joachim Eastwood , robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, arnd-r2nGTMty4D4@public.gmane.org List-Id: devicetree@vger.kernel.org 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"; +}; -- 2.9.3 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html