aboutsummaryrefslogtreecommitdiff
path: root/doc/device-tree-bindings/misc/bootcounter.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/device-tree-bindings/misc/bootcounter.txt')
-rw-r--r--doc/device-tree-bindings/misc/bootcounter.txt21
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/device-tree-bindings/misc/bootcounter.txt b/doc/device-tree-bindings/misc/bootcounter.txt
new file mode 100644
index 0000000..d32fbc3
--- /dev/null
+++ b/doc/device-tree-bindings/misc/bootcounter.txt
@@ -0,0 +1,21 @@
+U-Boot bootcounter Devicetree Binding
+=====================================
+
+The device tree node describes the U-Boot bootcounter
+memory based device binding.
+
+Required properties :
+
+- compatible : "u-boot,bootcount";
+- single-word : set this, if you have only one word space
+ for storing the bootcounter.
+
+Example
+-------
+
+MPC83xx based board:
+
+bootcount@0x13ff8 {
+ compatible = "u-boot,bootcount";
+ reg = <0x13ff8 0x08>;
+};