The properties of unseen first galaxies in our Universe are encoded in the 3D structure of the cosmic 21-cm signal. Here I introduce a flexible parametrization for high-z galaxies’ properties, including their star formation rates, ionizing escape fraction and their evolution with the mass of the host dark matter halos. With this parametrization, I self-consistently calculate the corresponding 21-cm signal during reionization and the cosmic dawn. Using a Monte Carlo Markov Chain sampler of 3D simulations, 21CMMC, I demonstrate how combining high-z luminosity functions with a mock 21-cm signal improve the parameter recovery. In our model, the turn-over magnitude on high-z luminosity functions can be constrained using the 21-cm signal.