xref: /linux/Documentation/devicetree/bindings/nvmem/socionext,uniphier-efuse.yaml (revision 84e85359f4999a439aa12e04bf0ae9e13e00fc66)
190eed0f8SKunihiko Hayashi# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
290eed0f8SKunihiko Hayashi%YAML 1.2
390eed0f8SKunihiko Hayashi---
490eed0f8SKunihiko Hayashi$id: http://devicetree.org/schemas/nvmem/socionext,uniphier-efuse.yaml#
590eed0f8SKunihiko Hayashi$schema: http://devicetree.org/meta-schemas/core.yaml#
690eed0f8SKunihiko Hayashi
7*84e85359SKrzysztof Kozlowskititle: Socionext UniPhier eFuse
890eed0f8SKunihiko Hayashi
990eed0f8SKunihiko Hayashimaintainers:
1090eed0f8SKunihiko Hayashi  - Keiji Hayashibara <hayashibara.keiji@socionext.com>
1190eed0f8SKunihiko Hayashi  - Kunihiko Hayashi <hayashi.kunihiko@socionext.com>
1290eed0f8SKunihiko Hayashi
1390eed0f8SKunihiko HayashiallOf:
1490eed0f8SKunihiko Hayashi  - $ref: "nvmem.yaml#"
1590eed0f8SKunihiko Hayashi
1690eed0f8SKunihiko Hayashiproperties:
1790eed0f8SKunihiko Hayashi  "#address-cells": true
1890eed0f8SKunihiko Hayashi  "#size-cells": true
1990eed0f8SKunihiko Hayashi
2090eed0f8SKunihiko Hayashi  compatible:
2190eed0f8SKunihiko Hayashi    const: socionext,uniphier-efuse
2290eed0f8SKunihiko Hayashi
2390eed0f8SKunihiko Hayashi  reg:
2490eed0f8SKunihiko Hayashi    maxItems: 1
2590eed0f8SKunihiko Hayashi
2690eed0f8SKunihiko Hayashirequired:
2790eed0f8SKunihiko Hayashi  - compatible
2890eed0f8SKunihiko Hayashi  - reg
2990eed0f8SKunihiko Hayashi
3090eed0f8SKunihiko HayashiunevaluatedProperties: false
3190eed0f8SKunihiko Hayashi
3290eed0f8SKunihiko Hayashiexamples:
3390eed0f8SKunihiko Hayashi  - |
3490eed0f8SKunihiko Hayashi    // The UniPhier eFuse should be a subnode of a "soc-glue" node.
3590eed0f8SKunihiko Hayashi
3690eed0f8SKunihiko Hayashi    soc-glue@5f900000 {
3790eed0f8SKunihiko Hayashi        compatible = "simple-mfd";
3890eed0f8SKunihiko Hayashi        #address-cells = <1>;
3990eed0f8SKunihiko Hayashi        #size-cells = <1>;
4090eed0f8SKunihiko Hayashi        ranges = <0x0 0x5f900000 0x2000>;
4190eed0f8SKunihiko Hayashi
4290eed0f8SKunihiko Hayashi        efuse@100 {
4390eed0f8SKunihiko Hayashi            compatible = "socionext,uniphier-efuse";
4490eed0f8SKunihiko Hayashi            reg = <0x100 0x28>;
4590eed0f8SKunihiko Hayashi        };
4690eed0f8SKunihiko Hayashi
4790eed0f8SKunihiko Hayashi        efuse@200 {
4890eed0f8SKunihiko Hayashi            compatible = "socionext,uniphier-efuse";
4990eed0f8SKunihiko Hayashi            reg = <0x200 0x68>;
5090eed0f8SKunihiko Hayashi            #address-cells = <1>;
5190eed0f8SKunihiko Hayashi            #size-cells = <1>;
5290eed0f8SKunihiko Hayashi
5390eed0f8SKunihiko Hayashi            /* Data cells */
5490eed0f8SKunihiko Hayashi            usb_rterm0: trim@54,4 {
5590eed0f8SKunihiko Hayashi                reg = <0x54 1>;
5690eed0f8SKunihiko Hayashi                bits = <4 2>;
5790eed0f8SKunihiko Hayashi            };
5890eed0f8SKunihiko Hayashi            usb_rterm1: trim@55,4 {
5990eed0f8SKunihiko Hayashi                reg = <0x55 1>;
6090eed0f8SKunihiko Hayashi                bits = <4 2>;
6190eed0f8SKunihiko Hayashi            };
6290eed0f8SKunihiko Hayashi            usb_rterm2: trim@58,4 {
6390eed0f8SKunihiko Hayashi                reg = <0x58 1>;
6490eed0f8SKunihiko Hayashi                bits = <4 2>;
6590eed0f8SKunihiko Hayashi            };
6690eed0f8SKunihiko Hayashi            usb_rterm3: trim@59,4 {
6790eed0f8SKunihiko Hayashi                reg = <0x59 1>;
6890eed0f8SKunihiko Hayashi                bits = <4 2>;
6990eed0f8SKunihiko Hayashi            };
7090eed0f8SKunihiko Hayashi            usb_sel_t0: trim@54,0 {
7190eed0f8SKunihiko Hayashi                reg = <0x54 1>;
7290eed0f8SKunihiko Hayashi                bits = <0 4>;
7390eed0f8SKunihiko Hayashi            };
7490eed0f8SKunihiko Hayashi            usb_sel_t1: trim@55,0 {
7590eed0f8SKunihiko Hayashi                reg = <0x55 1>;
7690eed0f8SKunihiko Hayashi                bits = <0 4>;
7790eed0f8SKunihiko Hayashi            };
7890eed0f8SKunihiko Hayashi            usb_sel_t2: trim@58,0 {
7990eed0f8SKunihiko Hayashi                reg = <0x58 1>;
8090eed0f8SKunihiko Hayashi                bits = <0 4>;
8190eed0f8SKunihiko Hayashi            };
8290eed0f8SKunihiko Hayashi            usb_sel_t3: trim@59,0 {
8390eed0f8SKunihiko Hayashi                reg = <0x59 1>;
8490eed0f8SKunihiko Hayashi                bits = <0 4>;
8590eed0f8SKunihiko Hayashi            };
8690eed0f8SKunihiko Hayashi            usb_hs_i0: trim@56,0 {
8790eed0f8SKunihiko Hayashi                reg = <0x56 1>;
8890eed0f8SKunihiko Hayashi                bits = <0 4>;
8990eed0f8SKunihiko Hayashi            };
9090eed0f8SKunihiko Hayashi            usb_hs_i2: trim@5a,0 {
9190eed0f8SKunihiko Hayashi                reg = <0x5a 1>;
9290eed0f8SKunihiko Hayashi                bits = <0 4>;
9390eed0f8SKunihiko Hayashi            };
9490eed0f8SKunihiko Hayashi        };
9590eed0f8SKunihiko Hayashi    };
96