Merge branches 'acpi-pci' and 'pm-pci'
[firefly-linux-kernel-4.4.55.git] / Documentation / devicetree / bindings / nvmem / rockchip-efuse.txt
1 = Rockchip eFuse device tree bindings =
2
3 Required properties:
4 - compatible: Should be "rockchip,rockchip-efuse"
5 - reg: Should contain the registers location and exact eFuse size
6 - clocks: Should be the clock id of eFuse
7 - clock-names: Should be "pclk_efuse"
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         efuse: efuse@ffb40000 {
16                 compatible = "rockchip,rockchip-efuse";
17                 reg = <0xffb40000 0x20>;
18                 #address-cells = <1>;
19                 #size-cells = <1>;
20                 clocks = <&cru PCLK_EFUSE256>;
21                 clock-names = "pclk_efuse";
22
23                 /* Data cells */
24                 cpu_leakage: cpu_leakage {
25                         reg = <0x17 0x1>;
26                 };
27         };
28
29 = Data consumers =
30 Are device nodes which consume nvmem data cells.
31
32 Example:
33
34         cpu_leakage {
35                 ...
36                 nvmem-cells = <&cpu_leakage>;
37                 nvmem-cell-names = "cpu_leakage";
38         };