Generate a device tree compatible matrix keymap.