diff options
author | Stefan Wahren <stefan.wahren@i2se.com> | 2015-09-30 08:56:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-10-04 07:06:13 -0400 |
commit | fb86de91c2a48e320bfa3767802d9a1fb204a230 (patch) | |
tree | 0e0784e61d3ba9591653ef3846decb61f7c624b6 | |
parent | 3edba6b47e4265948db3a77a0137157c033d69e2 (diff) |
nvmem: add binding for mxs-ocotp
This patch adds the devicetree bindings for the Freescale MXS On Chip
OTP driver.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt new file mode 100644 index 000000000000..daebce9e6b07 --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/mxs-ocotp.txt | |||
@@ -0,0 +1,25 @@ | |||
1 | On-Chip OTP Memory for Freescale i.MX23/i.MX28 | ||
2 | |||
3 | Required properties : | ||
4 | - compatible : | ||
5 | - "fsl,imx23-ocotp" for i.MX23 | ||
6 | - "fsl,imx28-ocotp" for i.MX28 | ||
7 | - #address-cells : Should be 1 | ||
8 | - #size-cells : Should be 1 | ||
9 | - reg : Address and length of OTP controller registers | ||
10 | - clocks : Should contain a reference to the hbus clock | ||
11 | |||
12 | = Data cells = | ||
13 | Are child nodes of mxs-ocotp, bindings of which as described in | ||
14 | bindings/nvmem/nvmem.txt | ||
15 | |||
16 | Example for i.MX28: | ||
17 | |||
18 | ocotp: ocotp@8002c000 { | ||
19 | compatible = "fsl,imx28-ocotp", "fsl,ocotp"; | ||
20 | #address-cells = <1>; | ||
21 | #size-cells = <1>; | ||
22 | reg = <0x8002c000 0x2000>; | ||
23 | clocks = <&clks 25>; | ||
24 | status = "okay"; | ||
25 | }; | ||