[PATCH v2] ARM: zynq: DT: List OCM memory
Michal Simek
michal.simek at amd.com
Tue Sep 6 12:38:34 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>
---
Changes in v2:
- Remove ocmc controller and use only OCM
- Remove OCM setup from zc702
arch/arm/dts/zynq-7000.dtsi | 11 +++++++++++
arch/arm/dts/zynq-zc702.dts | 13 -------------
2 files changed, 11 insertions(+), 13 deletions(-)
diff --git a/arch/arm/dts/zynq-7000.dtsi b/arch/arm/dts/zynq-7000.dtsi
index 11fa0ef2bfed..edc147d63f1e 100644
--- a/arch/arm/dts/zynq-7000.dtsi
+++ b/arch/arm/dts/zynq-7000.dtsi
@@ -192,6 +192,17 @@
reg = <0xf8006000 0x1000>;
};
+ ocm: sram at fffc0000 {
+ compatible = "mmio-sram";
+ reg = <0xfffc0000 0x10000>;
+ #address-cells = <1>;
+ #size-cells = <1>;
+ ranges = <0 0xfffc0000 0x10000>;
+ ocm-sram at 0 {
+ reg = <0x0 0x10000>;
+ };
+ };
+
uart0: serial at e0000000 {
compatible = "xlnx,xuartps", "cdns,uart-r1p8";
status = "disabled";
diff --git a/arch/arm/dts/zynq-zc702.dts b/arch/arm/dts/zynq-zc702.dts
index f2e05a55b958..1bd4f8c9f661 100644
--- a/arch/arm/dts/zynq-zc702.dts
+++ b/arch/arm/dts/zynq-zc702.dts
@@ -64,19 +64,6 @@
};
};
-&amba {
- ocm: sram at fffc0000 {
- compatible = "mmio-sram";
- reg = <0xfffc0000 0x10000>;
- #address-cells = <1>;
- #size-cells = <1>;
- ranges = <0 0xfffc0000 0x10000>;
- ocm-sram at 0 {
- reg = <0x0 0x10000>;
- };
- };
-};
-
&can0 {
status = "okay";
pinctrl-names = "default";
--
2.36.1
More information about the U-Boot
mailing list