example code for mips soc, ar9331.