xref: /freebsd/sys/contrib/device-tree/Bindings/nvmem/amlogic-efuse.txt (revision d0b2dbfa0ecf2bbc9709efc5e20baf8e4b44bbbf)
1= Amlogic Meson GX eFuse device tree bindings =
2
3Required properties:
4- compatible: should be "amlogic,meson-gxbb-efuse"
5- clocks: phandle to the efuse peripheral clock provided by the
6	  clock controller.
7- secure-monitor: phandle to the secure-monitor node
8
9= Data cells =
10Are child nodes of eFuse, bindings of which as described in
11bindings/nvmem/nvmem.txt
12
13Example:
14
15	efuse: efuse {
16		compatible = "amlogic,meson-gxbb-efuse";
17		clocks = <&clkc CLKID_EFUSE>;
18		#address-cells = <1>;
19		#size-cells = <1>;
20		secure-monitor = <&sm>;
21
22		sn: sn@14 {
23			reg = <0x14 0x10>;
24		};
25
26		eth_mac: eth_mac@34 {
27			reg = <0x34 0x10>;
28		};
29
30		bid: bid@46 {
31			reg = <0x46 0x30>;
32		};
33	};
34
35	sm: secure-monitor {
36		compatible = "amlogic,meson-gxbb-sm";
37	};
38
39= Data consumers =
40Are device nodes which consume nvmem data cells.
41
42For example:
43
44	eth_mac {
45		...
46		nvmem-cells = <&eth_mac>;
47		nvmem-cell-names = "eth_mac";
48	};
49