Message ID | 20191016115903.24663-3-joel@jms.id.au |
---|---|
State | Accepted, archived |
Headers | show |
Series | AST2600 UARTs | expand |
On 10/16/19 6:59 AM, Joel Stanley wrote: > The UARTs on the AST2600 A0 have a known issue that can be worked around > by using the Synopsys driver. Tested-by: Eddie James <eajames@linux.ibm.com> > > Signed-off-by: Joel Stanley <joel@jms.id.au> > --- > arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 15 +++++++++++---- > 1 file changed, 11 insertions(+), 4 deletions(-) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > index cdc14773ddda..b38498a317ce 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts > @@ -10,10 +10,6 @@ > model = "Tacoma"; > compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; > > - aliases { > - serial4 = &uart5; > - }; > - > chosen { > stdout-path = &uart5; > bootargs = "console=ttyS4,115200n8"; > @@ -515,6 +511,17 @@ > status = "okay"; > }; > > +&uart1 { > + status = "okay"; > + // Workaround for A0 > + compatible = "snps,dw-apb-uart"; > +}; > + > +&uart5 { > + // Workaround for A0 > + compatible = "snps,dw-apb-uart"; > +}; > + > &vuart1 { > status = "okay"; > };
diff --git a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts index cdc14773ddda..b38498a317ce 100644 --- a/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts +++ b/arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts @@ -10,10 +10,6 @@ model = "Tacoma"; compatible = "ibm,tacoma-bmc", "aspeed,ast2600"; - aliases { - serial4 = &uart5; - }; - chosen { stdout-path = &uart5; bootargs = "console=ttyS4,115200n8"; @@ -515,6 +511,17 @@ status = "okay"; }; +&uart1 { + status = "okay"; + // Workaround for A0 + compatible = "snps,dw-apb-uart"; +}; + +&uart5 { + // Workaround for A0 + compatible = "snps,dw-apb-uart"; +}; + &vuart1 { status = "okay"; };
The UARTs on the AST2600 A0 have a known issue that can be worked around by using the Synopsys driver. Signed-off-by: Joel Stanley <joel@jms.id.au> --- arch/arm/boot/dts/aspeed-bmc-opp-tacoma.dts | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-)