Jay Miller jmiller at
Mon Jul 26 14:21:01 CEST 2004

The GPIO pins are I/O mapped at an offset from the Power Management base
address.  The PM base address is at the second PCI device, function 3,
offset 0x58. On a typical PC-BIOS this value is usually 0x5000.  But
when I do an lspci -xxx on a system running LinuxBIOS the value at
offset 0x58 is 0x0000.

I guess the question now is, does LinuxBIOS setup the PM base address?

Jay Miller
Actuality Systems, Inc.
jmiller at

-----Original Message-----
From: YhLu [mailto:YhLu at] 
Sent: Monday, July 26, 2004 2:46 PM
To: Jay Miller; linuxbios at
Subject: RE: AMD 8111 GPIO

You can use GPIO from AMD8111 and SuperIO Winbond 86327hf. But you need
check which pin can be linked out.



-----Original Message-----
From: Jay Miller [mailto:jmiller at] 
Sent: Friday, July 23, 2004 1:45 PM
To: linuxbios at
Subject: AMD 8111 GPIO

We've got Linux up and running on our Tyan S2885 motherboards, using
etherboot and filo with USB support.  Thanks for all your help, and

I was hoping that with all the expertise here with AMD 8111 chipset,
that someone would be able to answer my question.  Although it's not
strictly LinuxBIOS, it is Linux. ;-)

So I'm trying to write a Linux driver for the GPIO pins on the AMD 8111.
I saw a comment in amd8111_smbus.c that PMIOEN is set.  I believe this
is part of what I need to be able to drive the GPIOs.

But how/where were all those hex values determined?  The spec uses
mnemonics to abstract the addresses, and I don't see how they correlate.


Jay Miller
Actuality Systems, Inc.
jmiller at

Linuxbios mailing list
Linuxbios at

More information about the coreboot mailing list