xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/socionext,uniphier-efuse.yaml (revision 2f9966ff63d65bd474478888c9088eeae3f9c669)
1# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
2%YAML 1.2
3---
4$id: http://devicetree.org/schemas/nvmem/socionext,uniphier-efuse.yaml#
5$schema: http://devicetree.org/meta-schemas/core.yaml#
6
7title: Socionext UniPhier eFuse
8
9maintainers:
10  - Keiji Hayashibara <hayashibara.keiji@socionext.com>
11  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
12
13allOf:
14  - $ref: nvmem.yaml#
15
16properties:
17  compatible:
18    const: socionext,uniphier-efuse
19
20  reg:
21    maxItems: 1
22
23required:
24  - compatible
25  - reg
26
27unevaluatedProperties: false
28
29examples:
30  - |
31    efuse@100 {
32        compatible = "socionext,uniphier-efuse";
33        reg = <0x100 0x28>;
34    };
35
36    efuse@200 {
37        compatible = "socionext,uniphier-efuse";
38        reg = <0x200 0x68>;
39        #address-cells = <1>;
40        #size-cells = <1>;
41
42        /* Data cells */
43        usb_rterm0: trim@54,4 {
44            reg = <0x54 1>;
45            bits = <4 2>;
46        };
47        usb_rterm1: trim@55,4 {
48            reg = <0x55 1>;
49            bits = <4 2>;
50        };
51        usb_rterm2: trim@58,4 {
52            reg = <0x58 1>;
53            bits = <4 2>;
54        };
55        usb_rterm3: trim@59,4 {
56            reg = <0x59 1>;
57            bits = <4 2>;
58        };
59        usb_sel_t0: trim@54,0 {
60            reg = <0x54 1>;
61            bits = <0 4>;
62        };
63        usb_sel_t1: trim@55,0 {
64            reg = <0x55 1>;
65            bits = <0 4>;
66        };
67        usb_sel_t2: trim@58,0 {
68            reg = <0x58 1>;
69            bits = <0 4>;
70        };
71        usb_sel_t3: trim@59,0 {
72            reg = <0x59 1>;
73            bits = <0 4>;
74        };
75        usb_hs_i0: trim@56,0 {
76            reg = <0x56 1>;
77            bits = <0 4>;
78        };
79        usb_hs_i2: trim@5a,0 {
80            reg = <0x5a 1>;
81            bits = <0 4>;
82        };
83    };
84