32430C | Initialization |
4.2AMD Geode™ CS5535 Companion Device Initialization
The Geode™ CS5535 is a complete companion device to the GX processor. The Geode CS5535 incorporates the GeodeLink technology developed in the GX processor to make a transparent GeodeLink through the PCI to the CS5535 device. The CS5535 companion device contains many of the components normally found on the SuperI/O chip. GeodeROM and VSA2 technology initialize these components, including the hard disk controller, USB controllers, GPIOs, RTC, SMBus, Local bus, and other legacy components. This chapter contains descriptions as well as some pseudo code for GX
4.2.1Chipset ID
Hardware PCI Header ID = 002A100Bh
Virtual PCI Header ID = 002B100bh
4.2.2Set ID Select (IDSEL)
The CS5535 companion device number is changeable by a
Example:
; set IDSEL
mov eax, 02000000h
;mov eax, 04000000h out 0000h, eax
;set ExtMSR
mov eax, 0F0F0F0Fh mov edx, 000F0F0Fh
;mov eax, 14141414h
;mov edx, 00141414h mov ecx, extMSR
WRMSR
;IDSEL = AD25, device #15
;IDSEL = AD30, device #20
;device #15
;device #15
;device #20
;device #20
4.2.3GLIU Initialization
The CS5535 companion device contains one GLIU that connects up to six peripheral modules. The GLIU routes memory and I/O for the attached modules. Descriptors controlling memory and I/O for the attached modules are initialized by VSA technology. GeodeLink modules can be scanned for their identification.
VSA technology is also responsible for the Geode CS5535 descriptor allocation.
4.2.4Diverse Device Initialization
The Diverse Device (DD) is a collection of new and legacy devices that are located in I/O space and connected by the Local bus. It is also the subtractive decode port of the CS5535. Any memory or I/O not claimed by the DD is passed on to the Low Pin Count (LPC) bus. The CS5535 has provided complete flexibility to put
20 | AMD Geode™ GX Processor/CS5535 Companion Device GeodeROM Porting Guide |