Getting uart0 enabled

What have you changed? :beers:

See the file attachments.

i thought these are the full files

as far as i see in mt7623 there is only the order changed (uart2 as first), in bpi.dts the pins are removed (still there in 4.14)ā€¦uarts only set to okay

right?

uart2 clock also changed to clocks = <&topckgen CLK_TOP_UART_SEL> as per https://github.com/BPI-SINOVOIP/BPI-R2-bsp/blob/master/linux-mt/arch/arm/boot/dts/mt7623.dtsi
Not sure that made a difference but not using the pins in bpi.dts sure did.

But there is still an issue with uart0. It was working but on and off and sometimes using stty on it causes stty to just hang until killed. I swapped the gps to uart1 and it hasnā€™t stopped. No problems with that uart.
Not sure what is going on with uart0 actually.
Iā€™ll have a play with it.

I have attached the full files.
mt7623.dtsi (26.1 KB) mt7623n-bananapi-bpi-r2.dts (19.2 KB)