[coreboot] Dump GPIO I/O Registers

Carl-Daniel Hailfinger c-d.hailfinger.devel.2006 at gmx.net
Mon Feb 18 11:17:47 CET 2008

On 18.02.2008 02:45, joe at smittys.pointclark.net wrote:
> Quoting Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006 at gmx.net>:
>> On 16.02.2008 17:57, joe at smittys.pointclark.net wrote:
>>> Hello,
>>> How do I dump the GPIO I/O Registers in linux. I need to dump the    
>>> GPIO's from the southbridge. Anyone?
>> Depends on the southbridge. It could be directly/indirectly
>> memory-mapped or port-based. Simply tell us what the data sheet says
>> about reading the GPIO state and we can help.
> The southbridge is the Intel 82801DB ICH4. I don't see anything in the  
> datasheet about reading the GPIO state....just says:
> The control for the general purpose I/O signals is handled through a  
> separate 64-byte I/O space.
> I can find out the base offset address from the LPC pci configuration  
> registers, but how do I dump it into human readable form??

Is this a memory address or I/O port number? Once you know that, you can 
modify existing utilities for your purpose. If you have no idea, tell us 
the values and we can guess. Having /proc/ioports and /proc/iomem 
contents would help guessing.

> Thanks - Joe


More information about the coreboot mailing list