File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Copyright (c) 2025 Basalte bv
2
+ # SPDX-License-Identifier: Apache-2.0
3
+
4
+ description : |
5
+ Non-Volatile Memory (NVMEM) provider.
6
+
7
+ NVMEM provider refers to an entity that implements methods to
8
+ read and write the non-volatile memory.
9
+
10
+ properties :
11
+ " #address-cells " :
12
+ type : int
13
+ description : |
14
+ Number of cells required to represent a child node's
15
+ reg property address.
16
+
17
+ " #size-cells " :
18
+ type : int
19
+ description : |
20
+ Number of cells required to represent a child node's size.
21
+
22
+ child-binding :
23
+ description : |
24
+ Each child node of the NVMEM provider node represents
25
+ an individual NVMEM cell. These should usually
26
+ look like this:
27
+
28
+ cell_nodelabel: cell@START_OFFSET {
29
+ reg = <0xSTART_OFFSET 0xSIZE>;
30
+ #nvmem-cell-cells = <0>;
31
+ };
32
+
33
+ properties :
34
+ reg :
35
+ type : array
36
+ required : true
37
+ description : |
38
+ This should be in the format <OFFSET SIZE>, where OFFSET
39
+ is the offset of the NVMEM cell relative to the base
40
+ address of the parent memory, and SIZE is the size of
41
+ the cell in bytes.
42
+
43
+ read-only :
44
+ type : boolean
45
+ description : Set this property if the cell is read-only.
You can’t perform that action at this time.
0 commit comments