aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorManish V Badarkhe <Manish.Badarkhe@arm.com>2020-08-23 09:46:06 +0100
committerManish V Badarkhe <manish.badarkhe@arm.com>2020-08-28 09:50:03 +0000
commite87c823102f5d439be896d4238dd92807c9d5825 (patch)
tree82680625ba1070f9046129107b84c9d9e4ee912c /docs
parent50eee85e044a77ad59f4903a5dad91b266770a1d (diff)
downloadarm-trusted-firmware-e87c823102f5d439be896d4238dd92807c9d5825.tar.gz
doc: Update the cot-binding for nv-counter node
Updated the cot-binding documentation to add 'id' property for the trusted and non-trusted nv-counters. Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Change-Id: If1c628c5b90fe403dd96c7cd0cd04f37288c965c
Diffstat (limited to 'docs')
-rw-r--r--docs/components/cot-binding.rst24
1 files changed, 14 insertions, 10 deletions
diff --git a/docs/components/cot-binding.rst b/docs/components/cot-binding.rst
index 46915db23..4f8c8b725 100644
--- a/docs/components/cot-binding.rst
+++ b/docs/components/cot-binding.rst
@@ -279,6 +279,10 @@ non-volatile counter node binding definition
Description: Contains various non-volatile counters present in the platform.
PROPERTIES
+ - id
+ Usage: Required for every nv-counter with unique id.
+
+ Value type: <u32>
- reg
Usage:
@@ -301,21 +305,21 @@ Below is non-volatile counters example for ARM platform
.. code:: c
- non-volatile-counters {
+ non_volatile_counters: non_volatile_counters {
compatible = "arm, non-volatile-counter";
#address-cells = <1>;
#size-cells = <0>;
- counters {
- trusted-nv-counter: trusted_nv_counter {
- reg = <TFW_NVCTR_BASE>;
- oid = TRUSTED_FW_NVCOUNTER_OID;
- };
- non_trusted_nv_counter: non_trusted_nv_counter {
- reg = <NTFW_CTR_BASE>;
- oid = NON_TRUSTED_FW_NVCOUNTER_OID;
+ trusted-nv-counter: trusted_nv_counter {
+ id = <TRUSTED_NV_CTR_ID>;
+ reg = <TFW_NVCTR_BASE>;
+ oid = TRUSTED_FW_NVCOUNTER_OID;
+ };
- };
+ non_trusted_nv_counter: non_trusted_nv_counter {
+ id = <NON_TRUSTED_NV_CTR_ID>;
+ reg = <NTFW_CTR_BASE>;
+ oid = NON_TRUSTED_FW_NVCOUNTER_OID;
};
};