diff mbox series

[linux,dev-5.3,2/3] ARM: dts: aspeed: tacoma: Add UART1 and workaround

Message ID 20191016115903.24663-3-joel@jms.id.au
State Accepted, archived
Headers show
Series AST2600 UARTs | expand

Commit Message

Joel Stanley Oct. 16, 2019, 11:59 a.m. UTC
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(-)

Comments

Eddie James Oct. 16, 2019, 8:49 p.m. UTC | #1
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 mbox series

Patch

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";
 };