12-27-2019, 01:00 PM
In the source I was sent it seems the last model was codenamed VTK; the relevant portion of the code is:
Code:
static void init_vtk(void)
{
#define LF2000_GPIO_EXTENDER_BASE 0xC00
printk(KERN_WARNING "%s: VTK GPIO mapping\n", __func__);
gpio_map[BUTTON_RED] = LF2000_GPIO_EXTENDER_BASE + 7;
gpio_map[BUTTON_B] = LF2000_GPIO_EXTENDER_BASE + 8;
gpio_map[BUTTON_A] = LF2000_GPIO_EXTENDER_BASE + 9;
gpio_map[BUTTON_VOLUMEDOWN] = LF2000_GPIO_EXTENDER_BASE + 10;
gpio_map[BUTTON_VOLUMEUP] = LF2000_GPIO_EXTENDER_BASE + 11;
gpio_map[DPAD_RIGHT] = LF2000_GPIO_EXTENDER_BASE + 12;
gpio_map[DPAD_LEFT] = LF2000_GPIO_EXTENDER_BASE + 13;
gpio_map[DPAD_DOWN] = LF2000_GPIO_EXTENDER_BASE + 14;
gpio_map[DPAD_UP] = LF2000_GPIO_EXTENDER_BASE + 15;
}