sort cmmb code , manager the gpios in board file.