These links contain affiliate tags. More info.
Before the March 2017 update, the Shovel Knight amiibo was also required to unlock co-op mode.
Shovel Knight series
Shovel Knight - Gold Edition
…as Shovel Knight
Added in the March 2017 update.
Source: Yacht Club Games blog