SOPHGO: dt-bindings: nvmem: Add SG2044 eFuse controller
Sophgo SG2044 uses eFuses used to store factory-programmed data such as ROM patch, public keys and other factory information. Signed-off-by: Inochi Amaoto <inochiama@gmail.com>
This commit is contained in:
61
Documentation/devicetree/bindings/nvmem/sophgo,efuse.yaml
Normal file
61
Documentation/devicetree/bindings/nvmem/sophgo,efuse.yaml
Normal file
@@ -0,0 +1,61 @@
|
||||
# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
|
||||
%YAML 1.2
|
||||
---
|
||||
$id: http://devicetree.org/schemas/nvmem/sophgo,efuse.yaml#
|
||||
$schema: http://devicetree.org/meta-schemas/core.yaml#
|
||||
|
||||
title: Sophgo SoC eFuse-based NVMEM
|
||||
|
||||
description:
|
||||
Sophgo SoCs contain factory-programmed eFuses used to store ROM patch,
|
||||
public key and other factory information.
|
||||
|
||||
maintainers:
|
||||
- Inochi Amaoto <inochiama@gmail.com>
|
||||
|
||||
allOf:
|
||||
- $ref: nvmem.yaml#
|
||||
|
||||
properties:
|
||||
compatible:
|
||||
enum:
|
||||
- sophgo,sg2044-efuse
|
||||
|
||||
reg:
|
||||
maxItems: 1
|
||||
|
||||
clocks:
|
||||
minItems: 1
|
||||
items:
|
||||
- description: Core clock
|
||||
- description: APB clock
|
||||
|
||||
clock-names:
|
||||
minItems: 1
|
||||
items:
|
||||
- const: core
|
||||
- const: apb
|
||||
|
||||
resets:
|
||||
maxItems: 1
|
||||
|
||||
required:
|
||||
- compatible
|
||||
- reg
|
||||
- clocks
|
||||
|
||||
unevaluatedProperties: false
|
||||
|
||||
examples:
|
||||
- |
|
||||
efuse@40000000 {
|
||||
compatible = "sophgo,sg2044-efuse";
|
||||
reg = <0x40000000 0x1000>;
|
||||
#address-cells = <1>;
|
||||
#size-cells = <1>;
|
||||
clocks = <&clk 0>,
|
||||
<&clk 1>;
|
||||
clock-names = "core", "apb";
|
||||
};
|
||||
|
||||
...
|
||||
Reference in New Issue
Block a user