board-readynas.c 809 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * NETGEAR ReadyNAS Duo v2 Board setup for drivers not already
  3. * converted to DT.
  4. *
  5. * Copyright (C) 2013, Arnaud EBALARD <arno@natisbad.org>
  6. *
  7. * This program is free software; you can redistribute it and/or
  8. * modify it under the terms of the GNU General Public License
  9. * as published by the Free Software Foundation; either version
  10. * 2 of the License, or (at your option) any later version.
  11. */
  12. #include <linux/kernel.h>
  13. #include <linux/init.h>
  14. #include <linux/platform_device.h>
  15. #include <linux/mv643xx_eth.h>
  16. #include <mach/kirkwood.h>
  17. #include "common.h"
  18. static struct mv643xx_eth_platform_data netgear_readynas_ge00_data = {
  19. .phy_addr = MV643XX_ETH_PHY_ADDR(0),
  20. };
  21. void __init netgear_readynas_init(void)
  22. {
  23. kirkwood_ge00_init(&netgear_readynas_ge00_data);
  24. kirkwood_pcie_init(KW_PCIE0);
  25. }