xref: /openbmc/u-boot/doc/device-tree-bindings/w1-eeprom/ds2502.txt (revision 0c4b382f9041f9f2f00246c8a0ece90dae5451be)
1*f9c87adcSMartin FuzzeyMaxim DS2502 driver device binding - one wire protocol add only memory from Maxim
2*f9c87adcSMartin Fuzzey=======================
3*f9c87adcSMartin Fuzzey
4*f9c87adcSMartin FuzzeyThis memory needs to be connected to a onewire bus, as a child node.
5*f9c87adcSMartin FuzzeyThe bus will read the device serial number and match this node with a found
6*f9c87adcSMartin Fuzzeydevice on the bus
7*f9c87adcSMartin FuzzeyAlso check doc/device-tree-bindings/w1 for onewire bus drivers
8*f9c87adcSMartin Fuzzey
9*f9c87adcSMartin FuzzeyDriver:
10*f9c87adcSMartin Fuzzey- drivers/w1-eeprom/ds2502.c
11*f9c87adcSMartin Fuzzey
12*f9c87adcSMartin FuzzeyDs2502 device-tree node properties:
13*f9c87adcSMartin FuzzeyRequired:
14*f9c87adcSMartin Fuzzey* compatible = "maxim,ds2502"
15*f9c87adcSMartin Fuzzey
16*f9c87adcSMartin FuzzeyOptional:
17*f9c87adcSMartin Fuzzey* none
18*f9c87adcSMartin Fuzzey
19*f9c87adcSMartin FuzzeyExample:
20*f9c87adcSMartin Fuzzey	eeprom1: eeprom@0 {
21*f9c87adcSMartin Fuzzey		compatible = "maxim,ds2502";
22*f9c87adcSMartin Fuzzey	};
23*f9c87adcSMartin Fuzzey
24*f9c87adcSMartin FuzzeyExample with parent bus:
25*f9c87adcSMartin Fuzzey	onewire {
26*f9c87adcSMartin Fuzzey		compatible = "fsl,imx53-owire";
27*f9c87adcSMartin Fuzzey		reg = <0x63fa4000 0x4000>;
28*f9c87adcSMartin Fuzzey
29*f9c87adcSMartin Fuzzey		eeprom1: eeprom@0 {
30*f9c87adcSMartin Fuzzey			compatible = "maxim,ds2502";
31*f9c87adcSMartin Fuzzey		};
32*f9c87adcSMartin Fuzzey	};
33*f9c87adcSMartin Fuzzey
34