summaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/nvmem/uniphier-efuse.txt
blob: eccf490d5a6d5dbeec7a78ae23db5ea088f1818c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
= UniPhier eFuse device tree bindings =

This UniPhier eFuse must be under soc-glue.

Required properties:
- compatible: should be "socionext,uniphier-efuse"
- reg: should contain the register location and length

= Data cells =
Are child nodes of efuse, bindings of which as described in
bindings/nvmem/nvmem.txt

Example:

	soc-glue@5f900000 {
		compatible = "socionext,uniphier-ld20-soc-glue-debug",
			     "simple-mfd";
		#address-cells = <1>;
		#size-cells = <1>;
		ranges = <0x0 0x5f900000 0x2000>;

		efuse@100 {
			compatible = "socionext,uniphier-efuse";
			reg = <0x100 0x28>;
		};

		efuse@200 {
			compatible = "socionext,uniphier-efuse";
			reg = <0x200 0x68>;
			#address-cells = <1>;
			#size-cells = <1>;

			/* Data cells */
			usb_mon: usb-mon@54 {
				reg = <0x54 0xc>;
			};
		};
	};

= Data consumers =
Are device nodes which consume nvmem data cells.

Example:

	usb {
		...
		nvmem-cells = <&usb_mon>;
		nvmem-cell-names = "usb_mon";
	}