A photocaged diene is introduced at the 5'-end of oligonucleotides using the H-phosphonate approach. The photoenol-functionalized DNA is subsequently employed for the conjugation to a protein and the spatially controlled immobilization onto surfaces using a light-induced Diels-Alder cycloaddition. Fully functional protein-DNA conjugates and patterned DNA surfaces are obtained under mild irradiation conditions.