The soft cap of 1520 can be achieved by playing through any of the content in the game. This includes rare items, legendary and exotic. The hard cap of 1580 is achieved through obtaining Powerful gear. Finally, the max Destiny 2 Pinnacle cap, 1590, can be reached by collecting Pinnacle gear.