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 781-229-7812x117 Actuality Systems, Inc. jmiller@acutality-systems.com
-----Original Message----- From: YhLu [mailto:YhLu@tyan.com] Sent: Monday, July 26, 2004 2:46 PM To: Jay Miller; linuxbios@clustermatic.org Subject: RE: AMD 8111 GPIO
You can use GPIO from AMD8111 and SuperIO Winbond 86327hf. But you need to check which pin can be linked out.
Regards
YH
-----Original Message----- From: Jay Miller [mailto:jmiller@actuality-systems.com] Sent: Friday, July 23, 2004 1:45 PM To: linuxbios@clustermatic.org 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 patience!
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.
Thanks,
Jay Miller 781-229-7812x117 Actuality Systems, Inc. jmiller@acutality-systems.com
_______________________________________________ Linuxbios mailing list Linuxbios@clustermatic.org http://www.clustermatic.org/mailman/listinfo/linuxbios