xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/uniphier-efuse.txt (revision 7fdf597e96a02165cfe22ff357b857d5fa15ed8a)
1= UniPhier eFuse device tree bindings =
2
3This UniPhier eFuse must be under soc-glue.
4
5Required properties:
6- compatible: should be "socionext,uniphier-efuse"
7- reg: should contain the register location and length
8
9= Data cells =
10Are child nodes of efuse, bindings of which as described in
11bindings/nvmem/nvmem.txt
12
13Example:
14
15	soc-glue@5f900000 {
16		compatible = "socionext,uniphier-ld20-soc-glue-debug",
17			     "simple-mfd";
18		#address-cells = <1>;
19		#size-cells = <1>;
20		ranges = <0x0 0x5f900000 0x2000>;
21
22		efuse@100 {
23			compatible = "socionext,uniphier-efuse";
24			reg = <0x100 0x28>;
25		};
26
27		efuse@200 {
28			compatible = "socionext,uniphier-efuse";
29			reg = <0x200 0x68>;
30			#address-cells = <1>;
31			#size-cells = <1>;
32
33			/* Data cells */
34			usb_mon: usb-mon@54 {
35				reg = <0x54 0xc>;
36			};
37		};
38	};
39
40= Data consumers =
41Are device nodes which consume nvmem data cells.
42
43Example:
44
45	usb {
46		...
47		nvmem-cells = <&usb_mon>;
48		nvmem-cell-names = "usb_mon";
49	}
50