km_kirkwood.h 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /*
  2. * (C) Copyright 2009
  3. * Marvell Semiconductor <www.marvell.com>
  4. * Prafulla Wadaskar <prafulla@marvell.com>
  5. *
  6. * (C) Copyright 2009
  7. * Stefan Roese, DENX Software Engineering, sr@denx.de.
  8. *
  9. * (C) Copyright 2011
  10. * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.de
  11. *
  12. * See file CREDITS for list of people who contributed to this
  13. * project.
  14. *
  15. * This program is free software; you can redistribute it and/or
  16. * modify it under the terms of the GNU General Public License as
  17. * published by the Free Software Foundation; either version 2 of
  18. * the License, or (at your option) any later version.
  19. *
  20. * This program is distributed in the hope that it will be useful,
  21. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. * GNU General Public License for more details.
  24. *
  25. * You should have received a copy of the GNU General Public License
  26. * along with this program; if not, write to the Free Software
  27. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
  28. * MA 02110-1301 USA
  29. */
  30. /*
  31. * for linking errors see
  32. * http://lists.denx.de/pipermail/u-boot/2009-July/057350.html
  33. */
  34. #ifndef _CONFIG_KM_KIRKWOOD_H
  35. #define _CONFIG_KM_KIRKWOOD_H
  36. /* include common defines/options for all arm based Keymile boards */
  37. #include "km/km_arm.h"
  38. /*
  39. * Version number information
  40. */
  41. #ifdef CONFIG_KM_DISABLE_PCI
  42. #define CONFIG_IDENT_STRING "\nKeymile Kirkwood"
  43. #undef CONFIG_KIRKWOOD_PCIE_INIT
  44. #else
  45. #define CONFIG_IDENT_STRING "\nKeymile Kirkwood PCI"
  46. #endif
  47. #define CONFIG_HOSTNAME km_kirkwood
  48. #define KM_IVM_BUS "pca9544a:70:9" /* I2C2 (Mux-Port 1)*/
  49. #define KM_ENV_BUS "pca9544a:70:d" /* I2C2 (Mux-Port 5)*/
  50. /* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */
  51. #define KM_XLX_PROGRAM_B_PIN 39
  52. #endif /* _CONFIG_KM_KIRKWOOD */