Changes

Jump to navigation Jump to search
3,237 bytes added ,  21:28, 27 February 2009
no edit summary
The Hollywood chipset includes 24 general purpose I/O lines with interrupt capability. Two full sets of registers are provided, and the Broadway only has access to one half. Each pin can be assigned to one of the two sets of registers, which lets the Starlet control which pins only it can control, and which pins the Broadway can use too.
== Pin connections ==
{| style="border: 1px solid #bbb; border-collapse: collapse; background-color: #eef; padding: 0.2em 0.2em 0.2em 0.2em;" border="1" cellpadding="0.2em"
|- style="background-color: #ddd;"
! Bit
! Direction
! Connection
! Description
|-
| 0 || IN || POWER || Power button input (pulse width limited; will not detect a held-down state)
|-
| 1 || OUT || SHUTDOWN || Output high to turn system off (Power LED = red)
|-
| 2 || OUT || FAN || Fan power, active high
|-
| 3 || OUT || DC_DC || DC/DC converter power, active high (powers the Broadway?{{check}}) - when off, also triggers the Yellow power LED
|-
| 4 || OUT || DI_SPIN || DI Spinup enable? Not sure{{check}}
|-
| 5 || OUT || SLOT_LED || Blue disc slot LED, active high
|-
| 6 || IN || EJECT_BTN || Eject button (pulse width limited). Button press will also trigger the drive directly.
|-
| 7 || IN || SLOT_IN || Disc slot optical detector. High if disc in drive, disc being inserted, or disc still in slot after eject.
|-
| 8 || OUT || SENSOR_BAR || Sensor bar, active high
|-
| 9 || OUT || DO_EJECT || Pulse high to trigger a DI eject from software
|-
| 10 || OUT || EEP_CS || [[Hardware/SEEPROM|SEEPROM]] Chip Select
|-
| 11 || OUT || EEP_CLK || [[Hardware/SEEPROM|SEEPROM]] Clock
|-
| 12 || OUT || EEP_MOSI || Data to [[Hardware/SEEPROM|SEEPROM]]
|-
| 13 || IN || EEP_MISO || Data from [[Hardware/SEEPROM|SEEPROM]]
|-
| 14 || OUT || AVE_SCL || [[Hardware/AVE|A/V Encoder]] I²C Clock
|-
| 15 || I/O || AVE_SDA || [[Hardware/AVE|A/V Encoder]] I²C Data (has an external pull-up, so you should only drive it low)
|-
| 16 || OUT || DEBUG0 || Debug Testpoint TP221
|-
| 17 || OUT || DEBUG0 || Debug Testpoint TP222
|-
| 18 || OUT || DEBUG0 || Debug Testpoint TP223
|-
| 19 || OUT || DEBUG0 || Debug Testpoint TP224
|-
| 20 || OUT || DEBUG0 || Debug Testpoint TP225
|-
| 21 || OUT || DEBUG0 || Debug Testpoint TP226
|-
| 22 || OUT || DEBUG0 || Debug Testpoint TP219
|-
| 23 || OUT || DEBUG0 || Debug Testpoint TP220
|}
 
 
insertion.
| 0 || OUT || SENSOR_BAR || Sensor bar power, active high
Pin Dir Owner Description
0 IN ARM Power Button (pulse on press)
1 OUT ARM Shutdown (write 1 for poweroff to red mode)
2 OUT ARM Fan
3 OUT ARM DC-DC converter (write 0 to turn LED yellow and presumably shut down PPC)
4 OUT ARM DI Spinup Enable (maybe; unsure)
5 OUT varies Slot LED
6 IN ARM Eject button (pulse on press) - also triggers DI eject in hardware
7 IN PPC Disc slot front insertion detector - also triggers DI insert in hardware
8 OUT PPC Sensor Bar
9 OUT PPC DI Eject (write 1 to trigger)
10 OUT ARM SEEPROM CS
11 OUT ARM SEEPROM CLK
12 OUT ARM SEEPROM MOSI
13 IN ARM SEEPROM MISO
14 OUT PPC Video Encoder SCL
15 I/O PPC Video Encoder SDA
16 OUT ARM Debug port bit 0 / TP221
17 OUT ARM Debug port bit 1 / TP222
18 OUT ARM Debug port bit 2 / TP223
19 OUT ARM Debug port bit 3 / TP224
20 OUT ARM Debug port bit 4 / TP225
21 OUT ARM Debug port bit 5 / TP226
22 OUT ARM Debug port bit 6 / TP219
23 OUT ARM Debug port bit 7 / TP220
|}
 
 
== Register list ==
{{reglist|Hollywood GPIOs}}
{{rla|0x0d8000c0|32|HW_GPIOB_OUT|GPIO Outputs (Broadway access)}}
{{rla|0x0d8000fc|32|HW_GPIO_OWNER|GPIO Owner Select}}
|}
 == Register Description descriptions ==
{{regsimple2|HW_GPIO_ENABLE|addr=0x0d8000dc|bits=32|split=24|access=R/W}}
The bits of this register indicate whether specific GPIO pins are enabled. The typical value is 0xFFFFFF, to enable all pins.

Navigation menu