Assuming "Frequency" in your post is the phenotype of interest, you would just change your model to:
$$Phenotype \sim Age + Age^2 + PC_1 + PC_2 + ... PC_k + genotype$$
with $k$ top principal components estimated from the genotype matrix. Standard empirical choices could be between 3-10 top PCs.
If $age$ itself is the phenotype, one can apply a similar model in a reverse regression style:
$$genotype \sim Age + Age^2 + PC_1 + PC_2 + ... PC_k$$
but more appropriate would be explicit modeling of age as a time-to-event outcome, i.e.: (using R-style notation)
$$ Surv(Age, death) \sim PC_1 + PC_2 + ... PC_k + genotype$$
Survival analysis on genome scale is available in ProbABEL, but the model choice there is limited. You might want to ask again on Bioinformatics SE if you're looking for some other tools.
The background of using PCA here is that human populations have different genotype distributions, but also differ in phenotype because of non-genetic reasons (e.g. specific environmental exposures). Thus, genotype-phenotype associations are confounded by population structure, and conditioning on PCs as a proxy for the structure should control for this. Granted, it is a bit crude, and state of the art now is to fit a mixed linear model with a covariance matrix estimated from the genotypes - although the PC control seems to work fine at the level of precision needed in most such studies.
Price AL, Patterson NJ, Plenge RM, Weinblatt ME, Shadick NA, et al. (2006) Principal components analysis corrects for stratification in genome-wide association studies. Nat Genet 38: 904–909. https://www.nature.com/articles/ng1847 - the original paper, unfortunately behind a paywall
Zhang F, Wang Y, Deng HW. (2008) Comparison of Population-Based Association Study Methods Correcting for Population Stratification. PLoS One. 2008;3(10):e3392. http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0003392
Price AL, Zaitlen NA, Reich D, Patterson N. (2010) New approaches to population stratification in genome-wide association studies. Nat Rev Genet 11:459–463 https://www.nature.com/articles/nrg2813