aboutsummaryrefslogtreecommitdiff
path: root/board/phytec/pcm051/board.h
diff options
context:
space:
mode:
authorLars Poeschel <poeschel@lemonage.de>2013-01-11 00:53:31 +0000
committerTom Rini <trini@ti.com>2013-02-07 10:36:26 -0500
commit1c1b7c3739095da7d73fef3adbe9f187791ca9ff (patch)
tree464437fb0e953b4929f778312a2e20ef0919e103 /board/phytec/pcm051/board.h
parentaca0b8b4f7ec6622c171038084fb84b33dcea580 (diff)
downloadu-boot-1c1b7c3739095da7d73fef3adbe9f187791ca9ff.zip
u-boot-1c1b7c3739095da7d73fef3adbe9f187791ca9ff.tar.gz
u-boot-1c1b7c3739095da7d73fef3adbe9f187791ca9ff.tar.bz2
pcm051: Add support for Phytec phyCORE-AM335x
The board is named pcm051 and has this hardware: SOC: TI AM3359 DDR3-RAM: 2x MT41J256M8HX-15EIT:D 512MiB ETH 1: LAN8710AI SPI-Flash: W25Q64BVSSIG RTC: RV-4162-C7 I2C-EEPROM: CAT32WC32 NAND: MT29F4G08_VFPGA63 PMIC: TPS65910A3 LCD Supported: UART 1 MMC/SD ETH 1 USB I2C SPI Not yet supported: NAND RTC LCD Signed-off-by: Lars Poeschel <poeschel@lemonage.de> [trini: Add #define CONFIG_PHY_ADDR 0 to config] Signed-off-by: Tom Rini <trini@ti.com>
Diffstat (limited to 'board/phytec/pcm051/board.h')
-rw-r--r--board/phytec/pcm051/board.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/board/phytec/pcm051/board.h b/board/phytec/pcm051/board.h
new file mode 100644
index 0000000..c2630d7
--- /dev/null
+++ b/board/phytec/pcm051/board.h
@@ -0,0 +1,33 @@
+/*
+ * board.h
+ *
+ * Phytec phyCORE-AM335x (pcm051) boards information header
+ *
+ * Copyright (C) 2013, Lemonage Software GmbH
+ * Author Lars Poeschel <poeschel@lemonage.de>
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of
+ * the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
+ * GNU General Public License for more details.
+ */
+
+#ifndef _BOARD_H_
+#define _BOARD_H_
+
+/*
+ * We have three pin mux functions that must exist. We must be able to enable
+ * uart0, for initial output and i2c0 to read the main EEPROM. We then have a
+ * main pinmux function that can be overridden to enable all other pinmux that
+ * is required on the board.
+ */
+void enable_uart0_pin_mux(void);
+void enable_i2c0_pin_mux(void);
+void enable_board_pin_mux(void);
+void enable_cbmux_pin_mux(void);
+#endif