0001 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
0002 %YAML 1.2
0003 ---
0004 $id: http://devicetree.org/schemas/nvmem/socionext,uniphier-efuse.yaml#
0005 $schema: http://devicetree.org/meta-schemas/core.yaml#
0006
0007 title: Socionext UniPhier eFuse bindings
0008
0009 maintainers:
0010 - Keiji Hayashibara <hayashibara.keiji@socionext.com>
0011 - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
0012
0013 allOf:
0014 - $ref: "nvmem.yaml#"
0015
0016 properties:
0017 "#address-cells": true
0018 "#size-cells": true
0019
0020 compatible:
0021 const: socionext,uniphier-efuse
0022
0023 reg:
0024 maxItems: 1
0025
0026 required:
0027 - compatible
0028 - reg
0029
0030 unevaluatedProperties: false
0031
0032 examples:
0033 - |
0034 // The UniPhier eFuse should be a subnode of a "soc-glue" node.
0035
0036 soc-glue@5f900000 {
0037 compatible = "simple-mfd";
0038 #address-cells = <1>;
0039 #size-cells = <1>;
0040 ranges = <0x0 0x5f900000 0x2000>;
0041
0042 efuse@100 {
0043 compatible = "socionext,uniphier-efuse";
0044 reg = <0x100 0x28>;
0045 };
0046
0047 efuse@200 {
0048 compatible = "socionext,uniphier-efuse";
0049 reg = <0x200 0x68>;
0050 #address-cells = <1>;
0051 #size-cells = <1>;
0052
0053 /* Data cells */
0054 usb_rterm0: trim@54,4 {
0055 reg = <0x54 1>;
0056 bits = <4 2>;
0057 };
0058 usb_rterm1: trim@55,4 {
0059 reg = <0x55 1>;
0060 bits = <4 2>;
0061 };
0062 usb_rterm2: trim@58,4 {
0063 reg = <0x58 1>;
0064 bits = <4 2>;
0065 };
0066 usb_rterm3: trim@59,4 {
0067 reg = <0x59 1>;
0068 bits = <4 2>;
0069 };
0070 usb_sel_t0: trim@54,0 {
0071 reg = <0x54 1>;
0072 bits = <0 4>;
0073 };
0074 usb_sel_t1: trim@55,0 {
0075 reg = <0x55 1>;
0076 bits = <0 4>;
0077 };
0078 usb_sel_t2: trim@58,0 {
0079 reg = <0x58 1>;
0080 bits = <0 4>;
0081 };
0082 usb_sel_t3: trim@59,0 {
0083 reg = <0x59 1>;
0084 bits = <0 4>;
0085 };
0086 usb_hs_i0: trim@56,0 {
0087 reg = <0x56 1>;
0088 bits = <0 4>;
0089 };
0090 usb_hs_i2: trim@5a,0 {
0091 reg = <0x5a 1>;
0092 bits = <0 4>;
0093 };
0094 };
0095 };