[PATCH 2/3] firmware: dt: document lpc1850 boot ROM bindings
Joachim Eastwood
manabian at gmail.com
Tue Sep 13 12:51:16 PDT 2016
Binding documentation for the NXP LPC boot ROM.
Signed-off-by: Joachim Eastwood <manabian at gmail.com>
---
.../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 at 10400000 {
+ compatible = "nxp,lpc1850-boot-rom";
+ reg = <0x10400000 0x10000>;
+ syscon = <&creg>;
+ nvmem-cells = <&part_id>;
+ nvmem-cell-names = "PartID";
+};
--
2.9.3
More information about the linux-arm-kernel
mailing list