[PATCH] ARM: zynq: DT: List OCM memory

Michal Simek michal.simek at amd.com
Thu Jul 7 12:51:53 CEST 2022


Description OCM with mmio-sram driver. In 99% use cases OCM is mapped high
that's why it is placed on fixed location.

Signed-off-by: Michal Simek <michal.simek at amd.com>
---

 arch/arm/dts/zynq-7000.dtsi | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
index 9626a0714625..c21c588bc711 100644
--- a/arch/arm/dts/zynq-7000.dtsi
+++ b/arch/arm/dts/zynq-7000.dtsi
@@ -192,6 +192,11 @@
 			reg = <0xf8006000 0x1000>;
 		};
 
+		ocmc: ocmc at f800c000 {
+			compatible = "mmio-sram";
+			reg = <0xf800c000 0x1000>;
+		};
+
 		uart0: serial at e0000000 {
 			compatible = "xlnx,xuartps", "cdns,uart-r1p8";
 			status = "disabled";
-- 
2.36.1



More information about the U-Boot mailing list