I believe the answer is: earning dividends from stock in the Federal Reserve.
Banks that considered as members of the Federal Reserve is considered to have a certain percentage of ownership in the Federal Reserve, and would be issued a certain amount of stock as proof of ownership.
The dividend given by the federal reserve to the members would be depended on the amount of stock that they have.