Thanks György Farkas,
Using "omega2-ctrl gpiomux set spi_s pwm01_uart2" enable the uart2 and works fine!
I was using "omega2-ctrl set uart2 uart"
and I geting:
Group i2c - [i2c] gpio
Group uart0 - [uart] gpio
Group uart1 - [uart] gpio pwm01
Group uart2 - [uart] gpio pwm23
Group pwm0 - pwm [gpio]
Group pwm1 - pwm [gpio]
Group refclk - refclk [gpio]
Group spi_s - spi_s [gpio] pwm01_uart2
But didn't work. With the config that György Farkas suggested, is working!!
In fact the config of Group uart2 seems to be irrelevant.
I have:
...
Group uart2 - uart gpio [pwm23]
....
Group spi_s - spi_s gpio [pwm01_uart2]
and still working...
Thanks again!