[2/2] ARM: dts: at91: sama5d2: map securam as device
diff mbox series

Message ID 1606903025-14197-3-git-send-email-claudiu.beznea@microchip.com
State Accepted
Commit 9b5dcc8d427e2bcb84c49eb03ffefe11e7537a55
Headers show
Series
  • fixes for at91 devices
Related show

Commit Message

Claudiu Beznea Dec. 2, 2020, 9:57 a.m. UTC
Due to strobe signal not being propagated from CPU to securam
the securam needs to be mapped as device or strongly ordered memory
to work properly. Otherwise, updating to one offset may affect
the adjacent locations in securam.

Fixes: d4ce5f44d4409 ("ARM: dts: at91: sama5d2: Add securam node")
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
---
 arch/arm/boot/dts/sama5d2.dtsi | 1 +
 1 file changed, 1 insertion(+)

Comments

Nicolas Ferre Dec. 2, 2020, 10:27 a.m. UTC | #1
On 02/12/2020 at 10:57, Claudiu Beznea wrote:
> Due to strobe signal not being propagated from CPU to securam
> the securam needs to be mapped as device or strongly ordered memory
> to work properly. Otherwise, updating to one offset may affect
> the adjacent locations in securam.
> 
> Fixes: d4ce5f44d4409 ("ARM: dts: at91: sama5d2: Add securam node")
> Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>

Acked-by: Nicolas Ferre <nicolas.ferre@microchip.com>

> ---
>   arch/arm/boot/dts/sama5d2.dtsi | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
> index 2ddc85dff8ce..6d399ac0385d 100644
> --- a/arch/arm/boot/dts/sama5d2.dtsi
> +++ b/arch/arm/boot/dts/sama5d2.dtsi
> @@ -656,6 +656,7 @@
>   				clocks = <&pmc PMC_TYPE_PERIPHERAL 51>;
>   				#address-cells = <1>;
>   				#size-cells = <1>;
> +				no-memory-wc;
>   				ranges = <0 0xf8044000 0x1420>;
>   			};
>   
>

Patch
diff mbox series

diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi
index 2ddc85dff8ce..6d399ac0385d 100644
--- a/arch/arm/boot/dts/sama5d2.dtsi
+++ b/arch/arm/boot/dts/sama5d2.dtsi
@@ -656,6 +656,7 @@ 
 				clocks = <&pmc PMC_TYPE_PERIPHERAL 51>;
 				#address-cells = <1>;
 				#size-cells = <1>;
+				no-memory-wc;
 				ranges = <0 0xf8044000 0x1420>;
 			};