xref: /OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/misc/idt_89hpesx.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunEEPROM / CSR SMBus-slave interface of IDT 89HPESx devices
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunRequired properties:
4*4882a593Smuzhiyun  - compatible : should be "<manufacturer>,<type>"
5*4882a593Smuzhiyun		 Basically there is only one manufacturer: idt, but some
6*4882a593Smuzhiyun		 compatible devices may be produced in future. Following devices
7*4882a593Smuzhiyun		 are supported: 89hpes8nt2, 89hpes12nt3, 89hpes24nt6ag2,
8*4882a593Smuzhiyun		 89hpes32nt8ag2, 89hpes32nt8bg2, 89hpes12nt12g2, 89hpes16nt16g2,
9*4882a593Smuzhiyun		 89hpes24nt24g2, 89hpes32nt24ag2, 89hpes32nt24bg2;
10*4882a593Smuzhiyun		 89hpes12n3, 89hpes12n3a, 89hpes24n3, 89hpes24n3a;
11*4882a593Smuzhiyun		 89hpes32h8, 89hpes32h8g2, 89hpes48h12, 89hpes48h12g2,
12*4882a593Smuzhiyun		 89hpes48h12ag2, 89hpes16h16, 89hpes22h16, 89hpes22h16g2,
13*4882a593Smuzhiyun		 89hpes34h16, 89hpes34h16g2, 89hpes64h16, 89hpes64h16g2,
14*4882a593Smuzhiyun		 89hpes64h16ag2;
15*4882a593Smuzhiyun		 89hpes12t3g2, 89hpes24t3g2, 89hpes16t4, 89hpes4t4g2,
16*4882a593Smuzhiyun		 89hpes10t4g2, 89hpes16t4g2, 89hpes16t4ag2, 89hpes5t5,
17*4882a593Smuzhiyun		 89hpes6t5, 89hpes8t5, 89hpes8t5a, 89hpes24t6, 89hpes6t6g2,
18*4882a593Smuzhiyun		 89hpes24t6g2, 89hpes16t7, 89hpes32t8, 89hpes32t8g2,
19*4882a593Smuzhiyun		 89hpes48t12, 89hpes48t12g2.
20*4882a593Smuzhiyun  - reg :	 I2C address of the IDT 89HPESx device.
21*4882a593Smuzhiyun
22*4882a593SmuzhiyunOptionally there can be EEPROM-compatible subnode:
23*4882a593Smuzhiyun  - compatible:  There are five EEPROM devices supported: 24c32, 24c64, 24c128,
24*4882a593Smuzhiyun		 24c256 and 24c512 differed by size.
25*4882a593Smuzhiyun  - reg:         Custom address of EEPROM device (If not specified IDT 89HPESx
26*4882a593Smuzhiyun    (optional)	 device will try to communicate with EEPROM sited by default
27*4882a593Smuzhiyun		 address - 0x50)
28*4882a593Smuzhiyun  - read-only :	 Parameterless property disables writes to the EEPROM
29*4882a593Smuzhiyun    (optional)
30*4882a593Smuzhiyun
31*4882a593SmuzhiyunExample:
32*4882a593Smuzhiyun	idt@60 {
33*4882a593Smuzhiyun		compatible = "idt,89hpes32nt8ag2";
34*4882a593Smuzhiyun		reg = <0x74>;
35*4882a593Smuzhiyun		#address-cells = <1>;
36*4882a593Smuzhiyun		#size-cells = <0>;
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun		eeprom@50 {
39*4882a593Smuzhiyun			compatible = "onsemi,24c64";
40*4882a593Smuzhiyun			reg = <0x50>;
41*4882a593Smuzhiyun			read-only;
42*4882a593Smuzhiyun		};
43*4882a593Smuzhiyun	};
44*4882a593Smuzhiyun
45