diff options
author | Uwe Kleine-König <uwe@kleine-koenig.org> | 2013-02-08 09:26:18 +0100 |
---|---|---|
committer | Uwe Kleine-König <uwe@kleine-koenig.org> | 2013-02-08 09:26:18 +0100 |
commit | 5499a59d85d6f0e15793d42cf0c2a576a4d7fbe7 (patch) | |
tree | ecb90c6ff51f81db8fc183cf698eb1a93548d2a5 | |
parent | 6d461052480afec1c726b9e8360c40e27aee1636 (diff) | |
download | OSELAS.BSP-EnergyMicro-Gecko-5499a59d85d6f0e15793d42cf0c2a576a4d7fbe7.tar.gz OSELAS.BSP-EnergyMicro-Gecko-5499a59d85d6f0e15793d42cf0c2a576a4d7fbe7.tar.xz |
OSELAS.BSP-EnergyMicro-Gecko/geckoboot: configure fpga irq pin as input
This makes ethernet work in Linux
-rw-r--r-- | local_src/geckoboot-2013.01.0/geckoboot.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/local_src/geckoboot-2013.01.0/geckoboot.S b/local_src/geckoboot-2013.01.0/geckoboot.S index cb2c66f..a9af840 100644 --- a/local_src/geckoboot-2013.01.0/geckoboot.S +++ b/local_src/geckoboot-2013.01.0/geckoboot.S @@ -119,7 +119,9 @@ reginit: .int 0x40006074, 0x00444440 @ GPIO_PD_MODEH; EBI CS0-3, spiconnect set mode=pushpull .int 0x40006090, 0x00000000 @ GPIO_PE_CTRL, reset default + .int 0x400060a0, 0x00000001 @ GPIO_PE_DOUTSET; FPGA irq with pullup .int 0x400060a4, 0x0000ff00 @ GPIO_PE_DOUTCLR; EBI AD0..7 set dataout to 0 + .int 0x40006094, 0x00000002 @ GPIO_PE_MODEL; FPGA irq input with pullup .int 0x40006098, 0x44444444 @ GPIO_PE_MODEH; EBI AD0..7 set mode=pushpull .int 0x400060b4, 0x00000000 @ GPIO_PF_CTRL, reset default |