Quite a lot of code under trezor/ can be shared with the Ledger code. This is the first step for wallets.