nvmem: imx-ocotp: add write support
[linux-2.6-microblaze.git] / Documentation / devicetree / bindings / nvmem / imx-ocotp.txt
index bbde2e4..70d791b 100644 (file)
@@ -14,10 +14,14 @@ Required properties:
 - reg: Should contain the register base and length.
 - clocks: Should contain a phandle pointing to the gated peripheral clock.
 
+Optional properties:
+- read-only: disable write access
+
 Example:
 
        ocotp: ocotp@021bc000 {
                compatible = "fsl,imx6q-ocotp", "syscon";
                reg = <0x021bc000 0x4000>;
                clocks = <&clks IMX6QDL_CLK_IIM>;
+               read-only;
        };