sunxi: implement board_detect for device-tree kernels