183b40c31SHolger Brunck /*
283b40c31SHolger Brunck  * (C) Copyright 2009
383b40c31SHolger Brunck  * Marvell Semiconductor <www.marvell.com>
483b40c31SHolger Brunck  * Prafulla Wadaskar <prafulla@marvell.com>
583b40c31SHolger Brunck  *
683b40c31SHolger Brunck  * (C) Copyright 2009
783b40c31SHolger Brunck  * Stefan Roese, DENX Software Engineering, sr@denx.de.
883b40c31SHolger Brunck  *
983b40c31SHolger Brunck  * (C) Copyright 2011
1083b40c31SHolger Brunck  * Holger Brunck, Keymile GmbH Hannover, holger.brunck@keymile.de
1183b40c31SHolger Brunck  *
1283b40c31SHolger Brunck  * See file CREDITS for list of people who contributed to this
1383b40c31SHolger Brunck  * project.
1483b40c31SHolger Brunck  *
1583b40c31SHolger Brunck  * This program is free software; you can redistribute it and/or
1683b40c31SHolger Brunck  * modify it under the terms of the GNU General Public License as
1783b40c31SHolger Brunck  * published by the Free Software Foundation; either version 2 of
1883b40c31SHolger Brunck  * the License, or (at your option) any later version.
1983b40c31SHolger Brunck  *
2083b40c31SHolger Brunck  * This program is distributed in the hope that it will be useful,
2183b40c31SHolger Brunck  * but WITHOUT ANY WARRANTY; without even the implied warranty of
2283b40c31SHolger Brunck  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.	 See the
2383b40c31SHolger Brunck  * GNU General Public License for more details.
2483b40c31SHolger Brunck  *
2583b40c31SHolger Brunck  * You should have received a copy of the GNU General Public License
2683b40c31SHolger Brunck  * along with this program; if not, write to the Free Software
2783b40c31SHolger Brunck  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
2883b40c31SHolger Brunck  * MA 02110-1301 USA
2983b40c31SHolger Brunck  */
3083b40c31SHolger Brunck 
3183b40c31SHolger Brunck /*
3283b40c31SHolger Brunck  * for linking errors see
3383b40c31SHolger Brunck  * http://lists.denx.de/pipermail/u-boot/2009-July/057350.html
3483b40c31SHolger Brunck  */
3583b40c31SHolger Brunck 
3683b40c31SHolger Brunck #ifndef _CONFIG_KM_KIRKWOOD_H
3783b40c31SHolger Brunck #define _CONFIG_KM_KIRKWOOD_H
3883b40c31SHolger Brunck 
3983b40c31SHolger Brunck /* include common defines/options for all arm based Keymile boards */
4083b40c31SHolger Brunck #include "km/km_arm.h"
4183b40c31SHolger Brunck 
4283b40c31SHolger Brunck /*
4383b40c31SHolger Brunck  * Version number information
4483b40c31SHolger Brunck  */
45*e29c6d04SHolger Brunck #if defined(CONFIG_KM_KIRKWOOD)
4683b40c31SHolger Brunck #define CONFIG_IDENT_STRING	"\nKeymile Kirkwood"
4783b40c31SHolger Brunck #undef  CONFIG_KIRKWOOD_PCIE_INIT
48*e29c6d04SHolger Brunck #elif defined(CONFIG_KM_KIRKWOOD_PCI)
4983b40c31SHolger Brunck #define CONFIG_IDENT_STRING	"\nKeymile Kirkwood PCI"
5083b40c31SHolger Brunck #endif
5183b40c31SHolger Brunck 
5283b40c31SHolger Brunck #define CONFIG_HOSTNAME			km_kirkwood
5383b40c31SHolger Brunck 
5483b40c31SHolger Brunck #define KM_IVM_BUS	"pca9544a:70:9"	/* I2C2 (Mux-Port 1)*/
5583b40c31SHolger Brunck #define KM_ENV_BUS	"pca9544a:70:d"	/* I2C2 (Mux-Port 5)*/
5683b40c31SHolger Brunck 
57f0d64257SHolger Brunck /* GPIO Pin from kirkwood connected to PROGRAM_B pin of the xilinx FPGA */
58f0d64257SHolger Brunck #define KM_XLX_PROGRAM_B_PIN    39
59f0d64257SHolger Brunck 
6083b40c31SHolger Brunck #endif /* _CONFIG_KM_KIRKWOOD */
61