bus/fslmc: support scanned device count