1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 2%YAML 1.2 3--- 4$id: http://devicetree.org/schemas/nvmem/airoha,smc-efuses.yaml# 5$schema: http://devicetree.org/meta-schemas/core.yaml# 6 7title: Airoha SMC eFuses 8 9description: | 10 Airoha new SoC AN7581 expose banks of eFuse accessible 11 via specific SMC commands. 12 13 2 different bank of eFuse or 64 cells of 32 bit are exposed 14 read-only used to give information on HW Revision, PHY Calibration, 15 Device Model, Private Key... 16 17maintainers: 18 - Christian Marangi <ansuelsmth@gmail.com> 19 20properties: 21 compatible: 22 enum: 23 - airoha,an7581-efuses 24 25 "#address-cells": 26 const: 1 27 28 "#size-cells": 29 const: 0 30 31patternProperties: 32 '^efuse-bank@[0-1]$': 33 type: object 34 35 allOf: 36 - $ref: nvmem.yaml# 37 38 properties: 39 reg: 40 description: Identify the eFuse bank. 41 enum: [0, 1] 42 43 required: 44 - reg 45 46 unevaluatedProperties: false 47 48required: 49 - compatible 50 - '#address-cells' 51 - '#size-cells' 52 53additionalProperties: false 54 55examples: 56 - | 57 efuse { 58 compatible = "airoha,an7581-efuses"; 59 #address-cells = <1>; 60 #size-cells = <0>; 61 62 efuse-bank@0 { 63 reg = <0>; 64 }; 65 }; 66 67... 68