diff options
Diffstat (limited to 'recipes/u-boot/u-boot-git/beagleboard/0009-OMAP3-beagle-add-more-expansionboards-based-on-http-.patch')
-rw-r--r-- | recipes/u-boot/u-boot-git/beagleboard/0009-OMAP3-beagle-add-more-expansionboards-based-on-http-.patch | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/recipes/u-boot/u-boot-git/beagleboard/0009-OMAP3-beagle-add-more-expansionboards-based-on-http-.patch b/recipes/u-boot/u-boot-git/beagleboard/0009-OMAP3-beagle-add-more-expansionboards-based-on-http-.patch new file mode 100644 index 0000000000..53020a00ab --- /dev/null +++ b/recipes/u-boot/u-boot-git/beagleboard/0009-OMAP3-beagle-add-more-expansionboards-based-on-http-.patch @@ -0,0 +1,61 @@ +From c5e5d27f80e389ddb8c7107e972b94c8d995dc84 Mon Sep 17 00:00:00 2001 +From: Koen Kooi <koen@dominion.thruhere.net> +Date: Fri, 23 Apr 2010 10:50:43 +0200 +Subject: [PATCH 09/12] OMAP3: beagle: add more expansionboards, based on http://www.elinux.org/BeagleBoardPinMux#Vendor_and_Device_IDs + +--- + board/ti/beagle/beagle.c | 8 ++++++++ + board/ti/beagle/beagle.h | 6 ++++++ + 2 files changed, 14 insertions(+), 0 deletions(-) + +diff --git a/board/ti/beagle/beagle.c b/board/ti/beagle/beagle.c +index 974a72c..0544178 100644 +--- a/board/ti/beagle/beagle.c ++++ b/board/ti/beagle/beagle.c +@@ -55,11 +55,15 @@ static struct { + #define TINCANTOOLS_VENDORID 0x0100 + #define GUMSTIX_VENDORID 0x0200 + #define SPECIALCOMP_VENDORID 0x0300 ++#define HYR_VENDORID 0x0400 ++#define MENTOREL_VENDORID 0x0500 ++#define KBADC_VENDORID 0x0600 + + #define TINCANTOOLS_ZIPPY 0x01000100 + #define TINCANTOOLS_ZIPPY2 0x02000100 + #define TINCANTOOLS_TRAINER 0x04000100 + #define TINCANTOOLS_SHOWDOG 0x03000100 ++#define KBADC_BEAGLEFPGA 0x01000600 + + #define BEAGLE_NO_EEPROM 0xffffffff + +@@ -184,6 +188,10 @@ int misc_init_r(void) + /* Place holder for DSS2 definition for showdog lcd */ + setenv("defaultdisplay", "showdoglcd"); + break; ++ case KBADC_BEAGLEFPGA: ++ printf("Recognized KBADC Beagle FPGA board\n"); ++ MUX_KBADC_BEAGLEFPGA(); ++ break; + case BEAGLE_NO_EEPROM: + printf("No EEPROM on expansion board\n"); + break; +diff --git a/board/ti/beagle/beagle.h b/board/ti/beagle/beagle.h +index 69f9398..90a0ebf 100644 +--- a/board/ti/beagle/beagle.h ++++ b/board/ti/beagle/beagle.h +@@ -435,6 +435,12 @@ const omap3_sysinfo sysinfo = { + MUX_VAL(CP(MCBSP3_DR), (IEN | PTD | DIS | M4)) /*GPIO_142*/\ + MUX_VAL(CP(MCBSP3_CLKX), (IEN | PTD | DIS | M4)) /*GPIO_141*/\ + ++#define MUX_KBADC_BEAGLEFPGA() \ ++ MUX_VAL(CP(MCBSP1_CLKR), (IEN | PTU | DIS | M1)) /*MCSPI4_CLK*/\ ++ MUX_VAL(CP(MCBSP1_DX), (IDIS | PTU | DIS | M1)) /*MCSPI4_SIMO*/\ ++ MUX_VAL(CP(MCBSP1_DR), (IEN | PTU | EN | M1)) /*MCSPI4_SOMI*/\ ++ MUX_VAL(CP(MCBSP1_FSX), (IDIS | PTU | DIS | M1)) /*MCSPI4_CS0*/\ ++ + /* + * Display Configuration + */ +-- +1.6.6.1 + |