1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-C 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 2 %YAML 1.2 2 %YAML 1.2 3 --- 3 --- 4 $id: http://devicetree.org/schemas/nvmem/micro 4 $id: http://devicetree.org/schemas/nvmem/microchip,sama7g5-otpc.yaml# 5 $schema: http://devicetree.org/meta-schemas/co 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 6 6 7 title: Microchip SAMA7G5 OTP Controller (OTPC) 7 title: Microchip SAMA7G5 OTP Controller (OTPC) 8 8 9 maintainers: 9 maintainers: 10 - Claudiu Beznea <claudiu.beznea@microchip.co 10 - Claudiu Beznea <claudiu.beznea@microchip.com> 11 11 12 description: | 12 description: | 13 OTP controller drives a NVMEM memory where s 13 OTP controller drives a NVMEM memory where system specific data 14 (e.g. calibration data for analog cells, har 14 (e.g. calibration data for analog cells, hardware configuration 15 settings, chip identifiers) or user specific 15 settings, chip identifiers) or user specific data could be stored. 16 16 17 allOf: 17 allOf: 18 - $ref: nvmem.yaml# 18 - $ref: nvmem.yaml# 19 - $ref: nvmem-deprecated-cells.yaml# 19 - $ref: nvmem-deprecated-cells.yaml# 20 20 21 properties: 21 properties: 22 compatible: 22 compatible: 23 items: 23 items: 24 - const: microchip,sama7g5-otpc 24 - const: microchip,sama7g5-otpc 25 - const: syscon 25 - const: syscon 26 26 27 reg: 27 reg: 28 maxItems: 1 28 maxItems: 1 29 29 30 required: 30 required: 31 - compatible 31 - compatible 32 - reg 32 - reg 33 33 34 unevaluatedProperties: false 34 unevaluatedProperties: false 35 35 36 examples: 36 examples: 37 - | 37 - | 38 #include <dt-bindings/nvmem/microchip,sama 38 #include <dt-bindings/nvmem/microchip,sama7g5-otpc.h> 39 39 40 otpc: efuse@e8c00000 { 40 otpc: efuse@e8c00000 { 41 compatible = "microchip,sama7g5-otpc", 41 compatible = "microchip,sama7g5-otpc", "syscon"; 42 reg = <0xe8c00000 0xec>; 42 reg = <0xe8c00000 0xec>; 43 #address-cells = <1>; 43 #address-cells = <1>; 44 #size-cells = <1>; 44 #size-cells = <1>; 45 45 46 temperature_calib: calib@1 { 46 temperature_calib: calib@1 { 47 reg = <OTP_PKT(1) 76>; 47 reg = <OTP_PKT(1) 76>; 48 }; 48 }; 49 }; 49 }; 50 50 51 ... 51 ...
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.