xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/ingenic,jz4780-efuse.yaml (revision 8bab661a3316d8bd9b9fbd11a3b4371b91507bd2)
1# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/ingenic,jz4780-efuse.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Ingenic JZ EFUSE driver
8
9maintainers:
10  - PrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
11
12allOf:
13  - $ref: "nvmem.yaml#"
14
15properties:
16  compatible:
17    enum:
18      - ingenic,jz4780-efuse
19
20  reg:
21    maxItems: 1
22
23  clocks:
24    # Handle for the ahb for the efuse.
25    maxItems: 1
26
27required:
28  - compatible
29  - reg
30  - clocks
31
32unevaluatedProperties: false
33
34examples:
35  - |
36    #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
37
38    efuse@134100d0 {
39        compatible = "ingenic,jz4780-efuse";
40        reg = <0x134100d0 0x2c>;
41
42        clocks = <&cgu JZ4780_CLK_AHB2>;
43    };
44
45...
46