Browse Source

Merge "doc: Update the cot-binding for nv-counter node" into integration

pull/1979/head
Mark Dykes 4 years ago
committed by TrustedFirmware Code Review
parent
commit
b020586a50
  1. 24
      docs/components/cot-binding.rst

24
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. Description: Contains various non-volatile counters present in the platform.
PROPERTIES PROPERTIES
- id
Usage: Required for every nv-counter with unique id.
Value type: <u32>
- reg - reg
Usage: Usage:
@ -301,21 +305,21 @@ Below is non-volatile counters example for ARM platform
.. code:: c .. code:: c
non-volatile-counters { non_volatile_counters: non_volatile_counters {
compatible = "arm, non-volatile-counter"; compatible = "arm, non-volatile-counter";
#address-cells = <1>; #address-cells = <1>;
#size-cells = <0>; #size-cells = <0>;
counters { trusted-nv-counter: trusted_nv_counter {
trusted-nv-counter: trusted_nv_counter { id = <TRUSTED_NV_CTR_ID>;
reg = <TFW_NVCTR_BASE>; reg = <TFW_NVCTR_BASE>;
oid = TRUSTED_FW_NVCOUNTER_OID; oid = TRUSTED_FW_NVCOUNTER_OID;
}; };
non_trusted_nv_counter: non_trusted_nv_counter {
reg = <NTFW_CTR_BASE>;
oid = NON_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;
}; };
}; };

Loading…
Cancel
Save