summaryrefslogtreecommitdiff
path: root/arch/arm/mach-davinci/da850_pinmux.c
diff options
context:
space:
mode:
authorDavid Lechner <david@lechnology.com>2016-02-26 06:46:07 (GMT)
committerTom Rini <trini@konsulko.com>2016-03-14 23:18:40 (GMT)
commit2ac07f75d1977008e829d00bcce16143e171765d (patch)
treee0e9dccb8441feb6a11fb53a65b989cdc51d4a5e /arch/arm/mach-davinci/da850_pinmux.c
parent6f6e9439e4646242bb504e7b5c1ac0dfbf986cfb (diff)
downloadu-boot-2ac07f75d1977008e829d00bcce16143e171765d.tar.xz
arm: Add support for LEGO MINDSTORMS EV3
This is based on the davinci da850evm. It can boot from either the on-board 16MB flash or from a microSD card. It also reads board information from an I2C EEPROM. The EV3 itself initally boots from write-protected EEPROM, so no u-boot SPL is needed. Signed-off-by: David Lechner <david@lechnology.com> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-davinci/da850_pinmux.c')
-rw-r--r--arch/arm/mach-davinci/da850_pinmux.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/mach-davinci/da850_pinmux.c b/arch/arm/mach-davinci/da850_pinmux.c
index 6105f63..758109e 100644
--- a/arch/arm/mach-davinci/da850_pinmux.c
+++ b/arch/arm/mach-davinci/da850_pinmux.c
@@ -12,6 +12,16 @@
#include <asm/arch/pinmux_defs.h>
/* SPI pin muxer settings */
+const struct pinmux_config spi0_pins_base[] = {
+ { pinmux(3), 1, 0 }, /* SPI0_CLK */
+ { pinmux(3), 1, 2 }, /* SPI0_SOMI */
+ { pinmux(3), 1, 3 }, /* SPI0_SIMO */
+};
+
+const struct pinmux_config spi0_pins_scs0[] = {
+ { pinmux(4), 1, 1 }, /* SPI0_SCS[0] */
+};
+
const struct pinmux_config spi1_pins_base[] = {
{ pinmux(5), 1, 2 }, /* SPI1_CLK */
{ pinmux(5), 1, 4 }, /* SPI1_SOMI */