Homogeneous means all terms depend on y, no matter the order of the ODE. In your examples, both equations would be homogeneous. If you would add a term like 1 or f(x) it would become nonhomogeneous, i.e. y"=y is homogeneous, but y"=y+f(x) is nonhomogeneous.