WARNING: This page is about a different car, the 2003 Mazda Protege5 and 2003 Mazda Protege. However, it is still accessible from the selected car via links, so may be relevant.
Fig 1: Automatic Transaxle Control System Wiring Diagram - ZM Engine (1 Of 2)
Courtesy of MAZDA MOTORS CORP.
Fig 2: Automatic Transaxle Control System Wiring Diagram - ZM Engine (2 Of 2)
Courtesy of MAZDA MOTORS CORP.
Fig 3: Automatic Transaxle Control System Wiring Diagram - FS Engine (1 Of 3)
Courtesy of MAZDA MOTORS CORP.
Fig 4: Automatic Transaxle Control System Wiring Diagram - FS Engine (2 Of 3)
Courtesy of MAZDA MOTORS CORP.
Fig 5: Automatic Transaxle Control System Wiring Diagram - FS Engine (3 Of 3)