The calendar and contacts buttons as well as the red and green phone buttons are under control of TSC2200 which also does touchscreen and battery.
PXA GPIO7 (KPIRQ) goes low when these buttons are pressed or released.
The "On/Off" button on the top left corner is connected to PXA GPIO0 (HimalayaGPIO).