]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arch: arm: dts: k3-j721s2-r5: Override ospi and fss for 32-bit mode
authorManorit Chawdhry <m-chawdhry@ti.com>
Tue, 4 Jun 2024 06:09:11 +0000 (11:39 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 13 Jun 2024 00:40:37 +0000 (18:40 -0600)
R5 being a 32-bit processor can't understand the 64-bit mapping being
done in ospi node. Override the ospi node for 32-bit register ranges and
the fss node ( the parent node of ospi ) to map the ranges for the
updated child node correctly.

Reviewed-by: Apurva Nandan <a-nandan@ti.com>
Signed-off-by: Manorit Chawdhry <m-chawdhry@ti.com>
arch/arm/dts/k3-j721s2-r5.dtsi

index eb0df42583a3d6362ceb1bf2c5f7b360df2a9a35..dbea6b9d0113a939085ae035f6f6f04aa17ec495 100644 (file)
 &mcu_udmap {
        ti,sci = <&dm_tifs>;
 };
+
+&ospi0 {
+               reg = <0x0 0x47040000 0x0 0x100>,
+                         <0x0 0x50000000 0x0 0x8000000>;
+};
+
+&fss {
+       /* fss node has 64 bit address regions mapped to it and since the ospi
+        * nodes is being override, override the fss node ranges as well
+        */
+       ranges = <0x0 0x47000000 0x0 0x47000000 0x0 0x00068400>,
+                        <0x0 0x50000000 0x0 0x50000000 0x0 0x08000000>;
+};