mips: octeon: dts: mrvl, cn73xx.dtsi: Add memory controller DT node
authorStefan Roese <sr@denx.de>
Wed, 2 Sep 2020 06:29:02 +0000 (08:29 +0200)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 7 Oct 2020 18:25:56 +0000 (20:25 +0200)
This patch adds the memory controller (LMC) DT node to the Octeon 3 dtsi
file. It also adds the L2C DT node, as this is referenced by the DDR
driver.

Signed-off-by: Stefan Roese <sr@denx.de>
arch/mips/dts/mrvl,cn73xx.dtsi

index f5ad4a6..44a5a03 100644 (file)
                                     <0x0300e 4>, <0x0300f 4>;
                };
 
+               l2c: l2c@1180080000000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "cavium,octeon-7xxx-l2c";
+                       reg = <0x11800 0x80000000 0x0 0x01000000>;
+                       u-boot,dm-pre-reloc;
+               };
+
+               lmc: lmc@1180088000000 {
+                       #address-cells = <1>;
+                       #size-cells = <0>;
+                       compatible = "cavium,octeon-7xxx-ddr4";
+                       reg = <0x11800 0x88000000 0x0 0x02000000>; // 2 IFs
+                       u-boot,dm-pre-reloc;
+                       l2c-handle = <&l2c>;
+               };
+
                reset: reset@1180006001600 {
                        compatible = "mrvl,cn7xxx-rst";
                        reg = <0x11800 0x06001600 0x0 0x200>;