.
f[n_, r_] := Select[IntegerDigits[Range[0, 2^n-1], r, n]+1, LessEqual @@ # &]
In[2]:= f[2, 2]
Out[2]= {{1, 1}, {1, 2}, {2, 2}}
In[3]:= f[3, 2]
Out[3]= {{1, 1, 1}, {1, 1, 2}, {1, 2, 2}, {2, 2, 2}}
I am not certain that I have interpreted your 'r' correctly.