diff options
author | Keiji Hayashibara <hayashibara.keiji@socionext.com> | 2017-10-24 05:54:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-08 08:19:05 -0500 |
commit | 2a96c818f484bcc16f42a09b030a470f2b44df04 (patch) | |
tree | 33189280e47379bd590a8aa884e40a43edb29b6f | |
parent | 17eb18d674d586e609a3e268975edd728d5c84a3 (diff) |
dt-bindings: nvmem: add description for UniPhier eFuse
Add uniphier-efuse dt-bindings documentation.
Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Acked-by: Rob Herring <robh@kernel.org>
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/uniphier-efuse.txt | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt b/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt new file mode 100644 index 000000000000..eccf490d5a6d --- /dev/null +++ b/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt | |||
@@ -0,0 +1,49 @@ | |||
1 | = UniPhier eFuse device tree bindings = | ||
2 | |||
3 | This UniPhier eFuse must be under soc-glue. | ||
4 | |||
5 | Required properties: | ||
6 | - compatible: should be "socionext,uniphier-efuse" | ||
7 | - reg: should contain the register location and length | ||
8 | |||
9 | = Data cells = | ||
10 | Are child nodes of efuse, bindings of which as described in | ||
11 | bindings/nvmem/nvmem.txt | ||
12 | |||
13 | Example: | ||
14 | |||
15 | soc-glue@5f900000 { | ||
16 | compatible = "socionext,uniphier-ld20-soc-glue-debug", | ||
17 | "simple-mfd"; | ||
18 | #address-cells = <1>; | ||
19 | #size-cells = <1>; | ||
20 | ranges = <0x0 0x5f900000 0x2000>; | ||
21 | |||
22 | efuse@100 { | ||
23 | compatible = "socionext,uniphier-efuse"; | ||
24 | reg = <0x100 0x28>; | ||
25 | }; | ||
26 | |||
27 | efuse@200 { | ||
28 | compatible = "socionext,uniphier-efuse"; | ||
29 | reg = <0x200 0x68>; | ||
30 | #address-cells = <1>; | ||
31 | #size-cells = <1>; | ||
32 | |||
33 | /* Data cells */ | ||
34 | usb_mon: usb-mon@54 { | ||
35 | reg = <0x54 0xc>; | ||
36 | }; | ||
37 | }; | ||
38 | }; | ||
39 | |||
40 | = Data consumers = | ||
41 | Are device nodes which consume nvmem data cells. | ||
42 | |||
43 | Example: | ||
44 | |||
45 | usb { | ||
46 | ... | ||
47 | nvmem-cells = <&usb_mon>; | ||
48 | nvmem-cell-names = "usb_mon"; | ||
49 | } | ||