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