1-wire bus platform device for sunxi