If matrix A = [[2, -2], [-2, 2]] and A^2 = pA, then write the value of p.