Door Courtesy Switch Circuit: Description
WARNING: This page is about a different car, the 2008 Toyota Tundra. However, it is still accessible from the selected car via links, so may be relevant.
The main body ECU receives a door open/closed signal from each door courtesy light switch.