summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert/roadrunner-lx
diff options
context:
space:
mode:
authorJens Rottmann <JRottmann@LiPPERTEmbedded.de>2010-09-03 15:16:36 +0000
committerMyles Watson <mylesgw@gmail.com>2010-09-03 15:16:36 +0000
commitc9140530261213bcd1c0a1eb8e44b4b06a3a5877 (patch)
treee1782c7dd46950110605acdca6b7c4371af9970c /src/mainboard/lippert/roadrunner-lx
parent4e1ac83bb61707210500a4bbf59c9aa6095e36b6 (diff)
Update RoadRunner and SpaceRunner config to get in sync with current
standard BIOSes RRLX0013 and SRLX0013. Specifically move SPI and PME I/Os to 0x1228 and 0x298 and switch SIO watchdog to ext. 48 MHz CLKIN. Signed-off-by: Jens Rottmann <JRottmann@LiPPERTEmbedded.de> Acked-by: Myles Watson <mylesgw@gmail.com> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5775 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/mainboard/lippert/roadrunner-lx')
-rw-r--r--src/mainboard/lippert/roadrunner-lx/devicetree.cb8
-rw-r--r--src/mainboard/lippert/roadrunner-lx/romstage.c11
2 files changed, 9 insertions, 10 deletions
diff --git a/src/mainboard/lippert/roadrunner-lx/devicetree.cb b/src/mainboard/lippert/roadrunner-lx/devicetree.cb
index ea170014dd..eae847999a 100644
--- a/src/mainboard/lippert/roadrunner-lx/devicetree.cb
+++ b/src/mainboard/lippert/roadrunner-lx/devicetree.cb
@@ -48,8 +48,8 @@ chip northbridge/amd/lx
irq 0x70 = 7
end
device pnp 2e.4 on # EC
- io 0x60 = 0x290
- io 0x62 = 0x230
+ io 0x60 = 0x290 # EC
+ io 0x62 = 0x298 # PME
irq 0x70 = 9
end
device pnp 2e.5 on # PS/2 keyboard
@@ -61,8 +61,8 @@ chip northbridge/amd/lx
irq 0x70 = 12
end
device pnp 2e.7 on # GPIO
- io 0x62 = 0x1220
- # io 0x64 = 0x1200
+ io 0x62 = 0x1220 # Simple I/O
+ # io 0x64 = 0x1228 # SPI
end
device pnp 2e.8 off # MIDI
io 0x60 = 0x300
diff --git a/src/mainboard/lippert/roadrunner-lx/romstage.c b/src/mainboard/lippert/roadrunner-lx/romstage.c
index 717f51a5ac..7429e4682c 100644
--- a/src/mainboard/lippert/roadrunner-lx/romstage.c
+++ b/src/mainboard/lippert/roadrunner-lx/romstage.c
@@ -63,16 +63,15 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
static const u16 sio_init_table[] = { // hi=data, lo=index
0x0707, // select LDN 7 (GPIO, SPI, watchdog, ...)
- 0x1E2C, // disable ATXPowerGood - will cause a reboot!
- 0x0423, // don't delay POWerOK1/2
- 0x9072, // watchdog triggers POWOK, counts seconds
+ 0x1E2C, // disable ATXPG; VIN6,FAN4/5,VIN3 enabled, VIN7 internal
+ 0x1423, // don't delay PoWeROK1/2 - triggers 2nd reset
+ 0x9072, // watchdog triggers PWROK, counts seconds
#if !CONFIG_USE_WATCHDOG_ON_BOOT
- 0x0073, 0x0074, // disable watchdog by setting timeout to 0
+ 0x0073, 0x0074, // disarm watchdog by changing 56 s timeout to 0
#endif
0xBF25, 0x372A, 0xF326, // select GPIO function for most pins
0xBF27, 0xFF28, 0x2529, // (GP36=FAN_CTL3, GP13=PWROK1)
- 0x1E2C, // VIN6=enabled?, FAN4/5 enabled, VIN7=internal, VIN3=enabled
- 0x46B8, 0x0CB9, // enable pullups
+ 0x46B8, 0x0CB9, // enable pullups on RS485_EN
0x36C0, // enable Simple-I/O for GP15,14,12,11= LIVE_LED, WD_ACTIVE, RS485_EN2,1
0xFFC3, // enable Simple-I/O for GP47-40 (GPIOs on Supervisory Connector)
0x26C8, // config GP15,12,11 as output; GP14 as input