board-usi_topkick.c 748 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. * Copyright 2012 (C), Jason Cooper <jason@lakedaemon.net>
  3. *
  4. * arch/arm/mach-kirkwood/board-usi_topkick.c
  5. *
  6. * USI Topkick Init for drivers not converted to flattened device tree yet.
  7. *
  8. * This file is licensed under the terms of the GNU General Public
  9. * License version 2. This program is licensed "as is" without any
  10. * warranty of any kind, whether express or implied.
  11. */
  12. #include <linux/kernel.h>
  13. #include <linux/init.h>
  14. #include <linux/mv643xx_eth.h>
  15. #include <linux/gpio.h>
  16. #include "common.h"
  17. static struct mv643xx_eth_platform_data topkick_ge00_data = {
  18. .phy_addr = MV643XX_ETH_PHY_ADDR(0),
  19. };
  20. void __init usi_topkick_init(void)
  21. {
  22. /*
  23. * Basic setup. Needs to be called early.
  24. */
  25. kirkwood_ge00_init(&topkick_ge00_data);
  26. }