The contents of carry on are up to your air carrier.
But, if your question relates to whether you may bring it through a checkpoint for a US departure, the answer is that there is no prohibition. You should, however, make certain that you have its AC adepter in your carry on as well as there is a slight risk that you may be asked to demonstrate that the device works
Always best to check the TSA website first:
https://www.tsa.gov/travel/security-.../whatcanibring