rockchip-efuse.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. = Rockchip eFuse device tree bindings =
  2. Required properties:
  3. - compatible: Should be one of the following.
  4. - "rockchip,rk3066a-efuse" - for RK3066a SoCs.
  5. - "rockchip,rk3188-efuse" - for RK3188 SoCs.
  6. - "rockchip,rk3228-efuse" - for RK3228 SoCs.
  7. - "rockchip,rk3288-efuse" - for RK3288 SoCs.
  8. - "rockchip,rk3328-efuse" - for RK3328 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. Optional properties:
  15. - rockchip,efuse-size: Should be exact eFuse size in byte, the eFuse
  16. size in property <reg> will be invalid if define this property.
  17. Deprecated properties:
  18. - compatible: "rockchip,rockchip-efuse"
  19. Old efuse compatible value compatible to rk3066a, rk3188 and rk3288
  20. efuses
  21. = Data cells =
  22. Are child nodes of eFuse, bindings of which as described in
  23. bindings/nvmem/nvmem.txt
  24. Example:
  25. efuse: efuse@ffb40000 {
  26. compatible = "rockchip,rk3288-efuse";
  27. reg = <0xffb40000 0x20>;
  28. #address-cells = <1>;
  29. #size-cells = <1>;
  30. clocks = <&cru PCLK_EFUSE256>;
  31. clock-names = "pclk_efuse";
  32. /* Data cells */
  33. cpu_leakage: cpu_leakage {
  34. reg = <0x17 0x1>;
  35. };
  36. };
  37. = Data consumers =
  38. Are device nodes which consume nvmem data cells.
  39. Example:
  40. cpu_leakage {
  41. ...
  42. nvmem-cells = <&cpu_leakage>;
  43. nvmem-cell-names = "cpu_leakage";
  44. };