Add device-tree binding description for the ONIE nvmem provider.

Signed-off-by: Vadym Kochan <[email protected]>
---
 .../devicetree/bindings/nvmem/onie-nvmem.txt          | 11 +++++++++++
 1 file changed, 11 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/nvmem/onie-nvmem.txt

diff --git a/Documentation/devicetree/bindings/nvmem/onie-nvmem.txt 
b/Documentation/devicetree/bindings/nvmem/onie-nvmem.txt
new file mode 100644
index 000000000000..16fb903118d0
--- /dev/null
+++ b/Documentation/devicetree/bindings/nvmem/onie-nvmem.txt
@@ -0,0 +1,11 @@
+= Device tree bindings for ONIE NVMEM provider =
+
+Required properties:
+- compatible: should be "onie-nvmem"
+- nvmem: phandle to nvmem device node
+
+Example:
+       onie_cells {
+               compatible = "onie-nvmem"
+               nvmem = <&at24>;
+       };
-- 
2.17.1

Reply via email to