attiny402

how to upload a code form arduino uno to attiny402....is that any option to add attiny402 board on arduino board manager....

No, no arduino core for the tinies with the new-style peripherals yet.