My source only lists a mazda 6 for that year..doesn't specify if wagon or euro version but see if this helps anyhow....good luck. If you need further help on how to do the door lock setup let me know and I'll send a diagram.
The doors lock and unlock through the same wire. To lock you will use a resistor to ground with a relay..to unlock you use another relay but send a ground direct.
12volts black (40A), BLACK/ yel (30A) + ignition harness
Starter BLACK/ blue + ignition harness
Second Starter N/A
Ignition blue + ignition harness
Second Ignition N/A
Third Ignition N/A
Accessory BLACK/ red + ignition harness
Second Accessory BLACK/ white + ignition harness
Keysense WHITE/ blue + ignition harness
Notes: Using the status output from the remote start to trigger this wire will disarm the factory alarm without unlocking the doors.
Power Lock lt. green - driver kick or door lock module Notes: Lock is negative trigger thru a 1000 ohm resistor. Unlock is a straight negative trigger. MUST use relays.The door lock control module is located above the passenger kick panel. Power Unlock same as power lock wire
Lock Motor RED / blue 5wi driver kick or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Unlock Motor RED / green 5wi driver kick or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Parking Lights+ lt. GREEN/ black + driver kick, 14 pin plug
Parking Lights- RED / white - headlight switch
Hazards blue/orange - switch or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Turn Signal(L) WHITE/ black + turn signal switch
Turn Signal(R) WHITE/ red + turn signal switch
Reverse Light RED / yellow + driver kick, 14 pin plug
Door Trigger GREEN/ orange - driver kick or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Dome Supervision yellow/black - driver kick or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Trunk/Hatch Pin brown - driver kick or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Hood Pin gray/red - pin switch or theft module
Notes: The theft-deterrent control module is located in the center console.
Trunk/Hatch Release yellow - switch or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Power Sliding Door N/A
Factory Alarm Arm blue - driver kick or door lock module
Notes: Meter this wire while turning the key in the driver door key cylinder.
Arm is negative trigger thru a 1000 ohm resistor. Disarm is a straight negative trigger. MUST use relays.
The door lock control module is located above the passenger kick panel.
Factory Alarm Disarm same as factory alarm arm wire
Disarm No Unlock use key sense wire
Tachometer NOT blk/wht or grn/stripe ac any ignition coil or coil pack
Notes: On the 4 cyl models use the wire that is NOT BLACK/ white. On the 6 cyl models use the wire that is NOT GREEN/ stripe.
Wait to start N/A
Brake Wire GREEN/ YELLOW + brake pedal switch
Parking Brake brown - parking brake switch
Horn Trigger PURPLE / white - switch or door lock module
Notes: The door lock control module is located above the passenger kick panel.
Immobilizer Bypass Required: Type:Transponder