Here is a working PS/2 driver for Linux.
This driver exports two device nodes to /dev, psif0 and psif1 (or only one of them, depending on your configuration). It allows blocked and non-blocked read from the ports, writing is also supported, but its always blocks, i'll make it non-blocking if i need it. I haven't been able to fully test the writing part, so
please let me know if writing works for you.
It applys to the avr32 master branch at git.kenerl.org, and will most likly apply to the latest 2.6.22
I have tested it with a PCA9306 level shifter and AT keyboard and everything looks ok, but the ultimate goal is to be able to use a PS/2 mouse with Nano-X :D
If anyone tests this then please let me know how it turns out:)
Level shifter schematic: