at91: add kernel support for sama7g5 soc
[openwrt/staging/mkresin.git] / target / linux / at91 / patches-5.10 / 225-ARM-dts-at91-sama7g5-add-securam-node.patch
diff --git a/target/linux/at91/patches-5.10/225-ARM-dts-at91-sama7g5-add-securam-node.patch b/target/linux/at91/patches-5.10/225-ARM-dts-at91-sama7g5-add-securam-node.patch
new file mode 100644 (file)
index 0000000..ec1c2ab
--- /dev/null
@@ -0,0 +1,39 @@
+From 1da1aae0b207d6a5ac7c3070b8d7c6ef61a32d71 Mon Sep 17 00:00:00 2001
+From: Claudiu Beznea <claudiu.beznea@microchip.com>
+Date: Mon, 23 Aug 2021 16:19:14 +0300
+Subject: [PATCH 225/247] ARM: dts: at91: sama7g5: add securam node
+
+Add securam node.
+
+Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
+Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
+Link: https://lore.kernel.org/r/20210823131915.23857-4-claudiu.beznea@microchip.com
+---
+ arch/arm/boot/dts/sama7g5.dtsi | 11 +++++++++++
+ 1 file changed, 11 insertions(+)
+
+diff --git a/arch/arm/boot/dts/sama7g5.dtsi b/arch/arm/boot/dts/sama7g5.dtsi
+index ecabab4343b6..3a4315ac0eb0 100644
+--- a/arch/arm/boot/dts/sama7g5.dtsi
++++ b/arch/arm/boot/dts/sama7g5.dtsi
+@@ -75,6 +75,17 @@ soc {
+               #size-cells = <1>;
+               ranges;
++              securam: securam@e0000000 {
++                      compatible = "microchip,sama7g5-securam", "atmel,sama5d2-securam", "mmio-sram";
++                      reg = <0xe0000000 0x4000>;
++                      clocks = <&pmc PMC_TYPE_PERIPHERAL 18>;
++                      #address-cells = <1>;
++                      #size-cells = <1>;
++                      ranges = <0 0xe0000000 0x4000>;
++                      no-memory-wc;
++                      status = "okay";
++              };
++
+               secumod: secumod@e0004000 {
+                       compatible = "microchip,sama7g5-secumod", "atmel,sama5d2-secumod", "syscon";
+                       reg = <0xe0004000 0x4000>;
+-- 
+2.32.0
+