ZhengShunQian | faf25a9 | 2015-09-30 13:56:36 +0100 | [diff] [blame] | 1 | = Rockchip eFuse device tree bindings = |
| 2 | |
| 3 | Required properties: |
Finley Xiao | b3149f4 | 2016-09-02 10:14:26 +0100 | [diff] [blame] | 4 | - compatible: Should be one of the following. |
| 5 | - "rockchip,rk3066a-efuse" - for RK3066a SoCs. |
| 6 | - "rockchip,rk3188-efuse" - for RK3188 SoCs. |
Finley Xiao | 820de1f | 2017-06-09 10:59:10 +0100 | [diff] [blame] | 7 | - "rockchip,rk322x-efuse" - for RK322x SoCs. |
Finley Xiao | b3149f4 | 2016-09-02 10:14:26 +0100 | [diff] [blame] | 8 | - "rockchip,rk3288-efuse" - for RK3288 SoCs. |
| 9 | - "rockchip,rk3399-efuse" - for RK3399 SoCs. |
ZhengShunQian | faf25a9 | 2015-09-30 13:56:36 +0100 | [diff] [blame] | 10 | - reg: Should contain the registers location and exact eFuse size |
| 11 | - clocks: Should be the clock id of eFuse |
| 12 | - clock-names: Should be "pclk_efuse" |
| 13 | |
Finley Xiao | b3149f4 | 2016-09-02 10:14:26 +0100 | [diff] [blame] | 14 | Deprecated properties: |
| 15 | - compatible: "rockchip,rockchip-efuse" |
| 16 | Old efuse compatible value compatible to rk3066a, rk3188 and rk3288 |
| 17 | efuses |
| 18 | |
ZhengShunQian | faf25a9 | 2015-09-30 13:56:36 +0100 | [diff] [blame] | 19 | = Data cells = |
| 20 | Are child nodes of eFuse, bindings of which as described in |
| 21 | bindings/nvmem/nvmem.txt |
| 22 | |
| 23 | Example: |
| 24 | |
| 25 | efuse: efuse@ffb40000 { |
Finley Xiao | b3149f4 | 2016-09-02 10:14:26 +0100 | [diff] [blame] | 26 | compatible = "rockchip,rk3288-efuse"; |
ZhengShunQian | faf25a9 | 2015-09-30 13:56:36 +0100 | [diff] [blame] | 27 | reg = <0xffb40000 0x20>; |
| 28 | #address-cells = <1>; |
| 29 | #size-cells = <1>; |
| 30 | clocks = <&cru PCLK_EFUSE256>; |
| 31 | clock-names = "pclk_efuse"; |
| 32 | |
| 33 | /* Data cells */ |
| 34 | cpu_leakage: cpu_leakage { |
| 35 | reg = <0x17 0x1>; |
| 36 | }; |
| 37 | }; |
| 38 | |
| 39 | = Data consumers = |
| 40 | Are device nodes which consume nvmem data cells. |
| 41 | |
| 42 | Example: |
| 43 | |
| 44 | cpu_leakage { |
| 45 | ... |
| 46 | nvmem-cells = <&cpu_leakage>; |
| 47 | nvmem-cell-names = "cpu_leakage"; |
| 48 | }; |