summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-10-25 22:51:35 +0200
committerUwe Kleine-König <u.kleine-koenig@pengutronix.de>2013-10-25 22:51:35 +0200
commitd85f3e6d1ea59e63500c614d930f38dc083fd7df (patch)
tree906e79d509460d12d211c06aea2d60fab16a1614
parent5e4b0df1fc03b13fdf5baf170a3daae1976a8351 (diff)
downloadOSELAS.BSP-EnergyMicro-Gecko-d85f3e6d1ea59e63500c614d930f38dc083fd7df.tar.gz
OSELAS.BSP-EnergyMicro-Gecko-d85f3e6d1ea59e63500c614d930f38dc083fd7df.tar.xz
OSELAS.BSP-EnergyMicro-Gecko: geckoboot: configure i2c pins and routing
-rw-r--r--local_src/geckoboot-2013.01.0/geckoboot.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S
index d5a0d6b..80acf43 100644
--- a/local_src/geckoboot-2013.01.0/geckoboot.S
+++ b/local_src/geckoboot-2013.01.0/geckoboot.S
@@ -170,10 +170,10 @@ reginit:
.int 0x40006050, 0x00004000 @ GPIO_PC_MODEH; PC11: Push-pull output
.int 0x4000606c, 0x00000000 @ GPIO_PD_CTRL, reset default
- .int 0x4000607c, 0x00003e08 @ GPIO_PD_DOUTSET, EBI CS0-3, spiconnect set dataout to 1; ETH_SPI_#CS (D3)
+ .int 0x4000607c, 0x0000fe08 @ GPIO_PD_DOUTSET, I2C, EBI CS0-3, spiconnect set dataout to 1; ETH_SPI_#CS (D3)
.int 0x40006080, 0x00000007 @ GPIO_PD_DOUTCLR, ETH_SPI_{TX, RX, CLK}
.int 0x40006070, 0x00004414 @ GPIO_PD_MODEL; ETH_SPI_
- .int 0x40006074, 0x00444440 @ GPIO_PD_MODEH; EBI CS0-3, spiconnect set mode=pushpull
+ .int 0x40006074, 0x88444440 @ GPIO_PD_MODEH; EBI CS0-3, spiconnect set mode=pushpull
.int 0x40006090, 0x00000000 @ GPIO_PE_CTRL, reset default
.int 0x400060a0, 0x00000011 @ GPIO_PE_DOUTSET; FPGA irq with pullup (E0), SPI_CS (E4)
@@ -234,7 +234,7 @@ reginit_end:
.align 3
.type bcinit, %object
bcinit:
- .short 0x0018, 0x1301 @ enable UART mux, ETH and spi
+ .short 0x0018, 0x1701 @ enable UART mux, I2C, ETH and spi
.short 0x0014, 0x0001 @ /
.short 0x001a, 0x0001 @ ETH
.short 0x0042, 0x0010 @ workaround bug in BC's irq detection