Merge tag 'linux-kselftest-4.15-rc1' of git://git.kernel.org/pub/scm/linux/kernel...
[sfrench/cifs-2.6.git] / Documentation / devicetree / bindings / nvmem / rockchip-efuse.txt
1 = Rockchip eFuse device tree bindings =
2
3 Required properties:
4 - compatible: Should be one of the following.
5   - "rockchip,rk3066a-efuse" - for RK3066a SoCs.
6   - "rockchip,rk3188-efuse" - for RK3188 SoCs.
7   - "rockchip,rk3228-efuse" - for RK3228 SoCs.
8   - "rockchip,rk3288-efuse" - for RK3288 SoCs.
9   - "rockchip,rk3368-efuse" - for RK3368 SoCs.
10   - "rockchip,rk3399-efuse" - for RK3399 SoCs.
11 - reg: Should contain the registers location and exact eFuse size
12 - clocks: Should be the clock id of eFuse
13 - clock-names: Should be "pclk_efuse"
14
15 Deprecated properties:
16 - compatible: "rockchip,rockchip-efuse"
17   Old efuse compatible value compatible to rk3066a, rk3188 and rk3288
18   efuses
19
20 = Data cells =
21 Are child nodes of eFuse, bindings of which as described in
22 bindings/nvmem/nvmem.txt
23
24 Example:
25
26         efuse: efuse@ffb40000 {
27                 compatible = "rockchip,rk3288-efuse";
28                 reg = <0xffb40000 0x20>;
29                 #address-cells = <1>;
30                 #size-cells = <1>;
31                 clocks = <&cru PCLK_EFUSE256>;
32                 clock-names = "pclk_efuse";
33
34                 /* Data cells */
35                 cpu_leakage: cpu_leakage {
36                         reg = <0x17 0x1>;
37                 };
38         };
39
40 = Data consumers =
41 Are device nodes which consume nvmem data cells.
42
43 Example:
44
45         cpu_leakage {
46                 ...
47                 nvmem-cells = <&cpu_leakage>;
48                 nvmem-cell-names = "cpu_leakage";
49         };