1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/nvmem/sprd,sc2731-efuse.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Spreadtrum SC27XX PMIC eFuse 8 9maintainers: 10 - Orson Zhai <orsonzhai@gmail.com> 11 - Baolin Wang <baolin.wang7@gmail.com> 12 - Chunyan Zhang <zhang.lyra@gmail.com> 13 14properties: 15 compatible: 16 enum: 17 - sprd,sc2720-efuse 18 - sprd,sc2721-efuse 19 - sprd,sc2723-efuse 20 - sprd,sc2730-efuse 21 - sprd,sc2731-efuse 22 23 reg: 24 maxItems: 1 25 26 hwlocks: 27 maxItems: 1 28 29required: 30 - compatible 31 - reg 32 - hwlocks 33 34allOf: 35 - $ref: nvmem.yaml# 36 - $ref: nvmem-deprecated-cells.yaml# 37 38unevaluatedProperties: false 39 40examples: 41 - | 42 pmic { 43 #address-cells = <1>; 44 #size-cells = <0>; 45 46 efuse@380 { 47 compatible = "sprd,sc2731-efuse"; 48 reg = <0x380>; 49 hwlocks = <&hwlock 12>; 50 #address-cells = <1>; 51 #size-cells = <1>; 52 53 /* Data cells */ 54 fgu_calib: calib@6 { 55 reg = <0x6 0x2>; 56 bits = <0 9>; 57 }; 58 59 adc_big_scale: calib@24 { 60 reg = <0x24 0x2>; 61 }; 62 63 adc_small_scale: calib@26 { 64 reg = <0x26 0x2>; 65 }; 66 }; 67 }; 68... 69