	RALINK_REG(0xbe005648)=0xc0005ab2;
	RALINK_REG(0xbe005640)=0x00000223;
	RALINK_REG(0xbe005604)=0x00040002;
	udelay_a(1*oneusec);
	RALINK_REG(0xbe005604)=0x00040003;
	udelay_a(2*oneusec);
	RALINK_REG(0xbe005600)=0x0c041981;
	RALINK_REG(0xbe005600)=0x0e041981;
	udelay_a(20*oneusec);
	RALINK_REG(0xbe00560c)=0x00080440;
	RALINK_REG(0xbe00560c)=0x00090440;
	udelay_a(2*oneusec);
	RALINK_REG(0xbe005600)=0x0e041985;
	udelay_a(20*oneusec);
/* XTAL=40MHZ */ 
	RALINK_REG(0xbe005604)=0x00040103;
	udelay_a(1*oneusec);
	RALINK_REG(0xbe005648)=0xc0005ab2;
#if defined (MPLL_IN_LBK) 
/* if MEPLL internal loopback */ 
#if defined (MEMPLL_CLK_600) 
	RALINK_REG(0xbe005618)=0xc00009e2;
	RALINK_REG(0xbe005624)=0xc00009e2;
	RALINK_REG(0xbe005630)=0xc00009e2;
	RALINK_REG(0xbe005618)=0xc20009e2;
	RALINK_REG(0xbe005624)=0xc20009e2;
	RALINK_REG(0xbe005630)=0xc20009e2;
#elif defined (MEMPLL_CLK_400) 
	RALINK_REG(0xbe005618)=0xc0000942;
	RALINK_REG(0xbe005624)=0xc0000942;
	RALINK_REG(0xbe005630)=0xc0000942;
	RALINK_REG(0xbe005618)=0xc2000942;
	RALINK_REG(0xbe005624)=0xc2000942;
	RALINK_REG(0xbe005630)=0xc2000942;
#elif defined (MEMPLL_CLK_200) 
	RALINK_REG(0xbe005618)=0xc4000942;
	RALINK_REG(0xbe005624)=0xc4000942;
	RALINK_REG(0xbe005630)=0xc4000942;
	RALINK_REG(0xbe005618)=0xc6000942;
	RALINK_REG(0xbe005624)=0xc6000942;
	RALINK_REG(0xbe005630)=0xc6000942;
#else 
#error "MEMPLL clock not defined" 
#endif 
	RALINK_REG(0xbe005648)=0xc2005ab2;
	udelay_a(20*oneusec);
	RALINK_REG(0xbe005640)=0x00000233;
#else /* else MEPLL external loopback */ 
#if defined (MEMPLL_CLK_600) 
	RALINK_REG(0xbe005618)=0xc00008fa;
	RALINK_REG(0xbe005624)=0xc00008fa;
	RALINK_REG(0xbe005630)=0xc00008fa;
	RALINK_REG(0xbe005624)=0xc20008fa;
	RALINK_REG(0xbe005630)=0xc20008fa;
#elif defined (MEMPLL_CLK_400) 
	RALINK_REG(0xbe005618)=0xc00008aa;
	RALINK_REG(0xbe005624)=0xc00008aa;
	RALINK_REG(0xbe005630)=0xc00008aa;
	RALINK_REG(0xbe005618)=0xc20008aa;
	RALINK_REG(0xbe005624)=0xc20008aa;
	RALINK_REG(0xbe005630)=0xc20008aa;
#elif defined (MEMPLL_CLK_200) 
	RALINK_REG(0xbe005618)=0xc400085a;
	RALINK_REG(0xbe005624)=0xc400085a;
	RALINK_REG(0xbe005630)=0xc400085a;
	RALINK_REG(0xbe005618)=0xc600085a;
	RALINK_REG(0xbe005624)=0xc600085a;
	RALINK_REG(0xbe005630)=0xc600085a;
#else 
#error "MEMPLL clock not defined" 
#endif 
	RALINK_REG(0xbe005648)=0xc2005ab2;
	udelay_a(20*oneusec);
	RALINK_REG(0xbe005640)=0x00000233;
#endif /* end of MPLL_IN_LBK */ 
