
Hi Weijie, Hi Mauro,
On 19.01.20 03:26, Weijie Gao wrote:
On Fri, 2020-01-17 at 15:50 +0100, Stefan Roese wrote:
Added Mauro to Cc
On 17.01.20 08:46, Weijie Gao wrote:
This patch adds a new pinmux for UART2, which shares the pins with SPIS.
Signed-off-by: Weijie Gao weijie.gao@mediatek.com
Changes since v1: newly added
arch/mips/dts/mt7628a.dtsi | 5 +++++ 1 file changed, 5 insertions(+)
diff --git a/arch/mips/dts/mt7628a.dtsi b/arch/mips/dts/mt7628a.dtsi index 744594c45a..f265cb6ad9 100644 --- a/arch/mips/dts/mt7628a.dtsi +++ b/arch/mips/dts/mt7628a.dtsi @@ -93,6 +93,11 @@ function = "uart2"; };
uart2_pwm_pins: uart2_pwm_pins {
groups = "spis";
function = "pwm_uart2";
};
Thanks. AFAIK, this will not be used by any of the currently supported boards. Is this correct?
Yes.
Mauro is currently trying to port mainline U-Boot to the VoCore2 board which also uses UART2. I did not look to close, but might this pin mux option here be necessary for this VoCore2 board?
Yes. I added this because of your discussions about the pinmux. I've tested this pinmux and it worked well. I believe it's necessary for the VoCore2.
Thanks Weijie for your assistance here.
I can confirm that your latest patchset works like a charm on the LinkIt 7688 board.
Mauro, please find attached a new binary to flash at offset 0x0 in SPI NOR based on Weijie's latest patchset with this alternate UART pin mux setting enabled. I've also attached the defconfig for this. Please give it a try and let us know, if this works now for you.
Thanks, Stefan