Skip to content

Commit

Permalink
ARM: zynq: Fix OCM mmio-sram node
Browse files Browse the repository at this point in the history
First of all addresses where addresses for OCM controller not for OCM
memory itself. Also move OCM node from zc702 to generic dtsi to be avalable
for everybody.
Also remove ocm-sram node which can't be used with zynq pm.c which expects
only flat structure. Right now OCM is used for saving suspend code.

Signed-off-by: Michal Simek <[email protected]>
Tested-by: Appana Durga Kedareswara rao <[email protected]>
  • Loading branch information
michalsimek committed Jul 11, 2022
1 parent a8e75bd commit 1733007
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
6 changes: 2 additions & 4 deletions arch/arm/boot/dts/zynq-7000.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -192,11 +192,9 @@
reg = <0xf8006000 0x1000>;
};

ocmc: ocmc@f800c000 {
ocm: sram@fffc0000 {
compatible = "mmio-sram";
interrupt-parent = <&intc>;
interrupts = <0 3 4>;
reg = <0xf800c000 0x1000>;
reg = <0xfffc0000 0x10000>;
};

uart0: serial@e0000000 {
Expand Down
13 changes: 0 additions & 13 deletions arch/arm/boot/dts/zynq-zc702.dts
Original file line number Diff line number Diff line change
Expand Up @@ -67,19 +67,6 @@
};
};

&amba {
ocm: sram@fffc0000 {
compatible = "mmio-sram";
reg = <0xfffc0000 0x10000>;
#address-cells = <1>;
#size-cells = <1>;
ranges = <0 0xfffc0000 0x10000>;
ocm-sram@0 {
reg = <0x0 0x10000>;
};
};
};

&can0 {
status = "okay";
pinctrl-names = "default";
Expand Down

0 comments on commit 1733007

Please sign in to comment.