www.pudn.com > AliTools.zip > i2c.txt, change:2012-01-11,size:707b


Ariva 100, M3602 
 
I2C bus 2 is on GPIO 
 
GPIO regs: 
	gpio 0-31 
	B8000050	IN0	 
	B8000054	OUT0 
	B8000058	DIR0	(1-out) 
 
	gpio 32-63 
	B80000D0	IN1 
	B80000D4	OUT1 
	B80000D8	DIR1	(1-out) 
 
	gpio 64-95 
	B80000E4	IN2 
	B80000E8	OUT2 
	B80000EC	DIR2	 
 
	gpio 96-127 
	B80000F0	IN3 
	B80000F8	DIR3 
 
SDA is GPIO64 
SCL is GPIO65 
 
---------------------------------------- 
 
Ariva 102, M3606 
 
I2C bus 0 
 
GPIO regs: 
	gpio 0-31 
	B8000050	IN0	 
	B8000054	OUT0 
	B8000058	DIR0	(1-out) 
 
	gpio 32-63 
	B80000D0	IN1 
	B80000D4	OUT1 
	B80000D8	DIR1	(1-out) 
 
	gpio 64-95 
	B80000E4	IN2 
	B80000E8	OUT2 
	B80000F8	DIR2	 
 
	gpio 96-127 
	B80000F0	IN3 
	B8000358	DIR3 
 
SDA is GPIO43 
SCL is GPIO44