dts: nxp_imx: Add zephyr,memory-region attribute to memory regions

Add zephyr,memory-region compatible and attribute to SOC memory regions,
so that sections will be generated and MPU attributes can be applied.

Signed-off-by: Daniel DeGrasse <daniel.degrasse@nxp.com>
diff --git a/dts/arm/nxp/nxp_rt1060.dtsi b/dts/arm/nxp/nxp_rt1060.dtsi
index 8412ed5..62e01a5 100644
--- a/dts/arm/nxp/nxp_rt1060.dtsi
+++ b/dts/arm/nxp/nxp_rt1060.dtsi
@@ -13,7 +13,6 @@
  * region, we describe them in one 768Kb unique node.
  */
 &ocram {
-	compatible = "mmio-sram";
 	reg = <0x20200000 DT_SIZE_K(768)>;
 };
 
diff --git a/dts/arm/nxp/nxp_rt10xx.dtsi b/dts/arm/nxp/nxp_rt10xx.dtsi
index 5b938df..1f1708b 100644
--- a/dts/arm/nxp/nxp_rt10xx.dtsi
+++ b/dts/arm/nxp/nxp_rt10xx.dtsi
@@ -89,8 +89,9 @@
 			};
 
 			ocram: ocram@20200000 {
-				compatible = "mmio-sram";
+				compatible = "zephyr,memory-region", "mmio-sram";
 				reg = <0x20200000 DT_SIZE_K(256)>;
+				zephyr,memory-region = "OCRAM";
 			};
 		};
 
diff --git a/dts/arm/nxp/nxp_rt11xx.dtsi b/dts/arm/nxp/nxp_rt11xx.dtsi
index 08a17e2..18d49d1 100644
--- a/dts/arm/nxp/nxp_rt11xx.dtsi
+++ b/dts/arm/nxp/nxp_rt11xx.dtsi
@@ -843,17 +843,20 @@
 		};
 
 		ocram: ocram@20200000 {
-			compatible = "mmio-sram";
+			compatible = "zephyr,memory-region", "mmio-sram";
+			zephyr,memory-region = "OCRAM";
 			reg = <0x20200000 DT_SIZE_K(256)>;
 		};
 
 		ocram1: ocram@20240000 {
-			compatible = "mmio-sram";
+			compatible = "zephyr,memory-region", "mmio-sram";
+			zephyr,memory-region = "OCRAM1";
 			reg = <0x20240000 DT_SIZE_K(512)>;
 		};
 
 		ocram2: ocram@202c0000 {
-			compatible = "mmio-sram";
+			compatible = "zephyr,memory-region", "mmio-sram";
+			zephyr,memory-region = "OCRAM2";
 			reg = <0x202c0000 DT_SIZE_K(512)>;
 		};
 
diff --git a/soc/arm/nxp_imx/rt/linker.ld b/soc/arm/nxp_imx/rt/linker.ld
index 24e3b88..b26f1a3 100644
--- a/soc/arm/nxp_imx/rt/linker.ld
+++ b/soc/arm/nxp_imx/rt/linker.ld
@@ -10,9 +10,6 @@
 
 MEMORY
      {
-#if (DT_REG_SIZE(DT_NODELABEL(ocram)) > 0) && !IS_CHOSEN_SRAM(ocram)
-        OCRAM  (wx) : ORIGIN = DT_REG_ADDR(DT_NODELABEL(ocram)), LENGTH = DT_REG_SIZE(DT_NODELABEL(ocram))
-#endif
 #if (DT_REG_SIZE(DT_NODELABEL(sdram0)) > 0) && !IS_CHOSEN_SRAM(sdram0)
         SDRAM  (wx) : ORIGIN = DT_REG_ADDR(DT_NODELABEL(sdram0)), LENGTH = DT_REG_SIZE(DT_NODELABEL(sdram0))
 #endif