~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: 8788e570587b368d470605afccb1a56e388da6e6 (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
Maxim DS2502 driver device binding - one wire protocol add only memory from Maxim
=======================

This memory needs to be connected to a onewire bus, as a child node.
The bus will read the device serial number and match this node with a found
device on the bus
Also check doc/device-tree-bindings/w1 for onewire bus drivers

Driver:
- drivers/w1-eeprom/ds2502.c

Ds2502 device-tree node properties:
Required:
* compatible = "maxim,ds2502"

Optional:
* none

Example:
	eeprom1: eeprom@0 {
		compatible = "maxim,ds2502";
	};

Example with parent bus:
	onewire {
		compatible = "fsl,imx53-owire";
		reg = <0x63fa4000 0x4000>;

		eeprom1: eeprom@0 {
			compatible = "maxim,ds2502";
		};
	};