board-ib62x0.c 742 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright 2012 (C), Simon Baatz <gmbnomis@gmail.com>
  3. *
  4. * arch/arm/mach-kirkwood/board-ib62x0.c
  5. *
  6. * RaidSonic ICY BOX IB-NAS6210 & IB-NAS6220 init for drivers not
  7. * converted to flattened device tree yet.
  8. *
  9. * This file is licensed under the terms of the GNU General Public
  10. * License version 2. This program is licensed "as is" without any
  11. * warranty of any kind, whether express or implied.
  12. */
  13. #include <linux/kernel.h>
  14. #include <linux/init.h>
  15. #include <linux/mv643xx_eth.h>
  16. #include "common.h"
  17. static struct mv643xx_eth_platform_data ib62x0_ge00_data = {
  18. .phy_addr = MV643XX_ETH_PHY_ADDR(8),
  19. };
  20. void __init ib62x0_init(void)
  21. {
  22. /*
  23. * Basic setup. Needs to be called early.
  24. */
  25. kirkwood_ge00_init(&ib62x0_ge00_data);
  26. }