This article explains how to set up a universal TV remote to use with Apple TV.
How to Control Your Apple TV with Any IR Remote
The Apple TV remote is great, but it has its limitations. If you want to control your Blu-ray player and other connected devices with a single remote, it makes sense to set up your Apple TV with a universal remote.
The steps for setting up your remote will vary depending on the brand, so refer to the manual that came with it. Turn on your new remote and follow these steps to set up the universal remote for your Apple TV.
Using your current Apple TV remote, select Settings from the home screen of your Apple TV.