Depending on the kernel version the serial device is created ttyAM0 or ttyAMA0. Signed-off-by: Javier Viguera <javier.viguera@digi.com>