Newcastle were handed a home tie against Manchester City in the third round of the Carabao Cup.
In other all-Premier League ties, Chelsea will take on Brighton, holders Manchester United host Crystal Palace and Aston Villa face Everton.
Record nine-time winners Liverpool face a home tie against Championship Leicester and Arsenal will cross London to face Brentford.
League One Lincoln City were rewarded for beating Sheffield United with a home draw against West Ham.
Fellow giantkillers Salford will also host Premier League opposition in Burnley.