arm: dts: Add OSPI support for AM62-SK
authorDhruva Gole <d-gole@ti.com>
Thu, 27 Oct 2022 14:53:10 +0000 (20:23 +0530)
committerTom Rini <trini@konsulko.com>
Fri, 9 Dec 2022 19:12:53 +0000 (14:12 -0500)
Add OSPI Support such that this device can boot up using OSPI Flash.
Also can use the flash for other purposes if required from uboot.

Signed-off-by: Dhruva Gole <d-gole@ti.com>
arch/arm/dts/k3-am625-r5-sk.dts
arch/arm/dts/k3-am625-sk-u-boot.dtsi

index 6d696e7..d39b334 100644 (file)
        status = "okay";
        u-boot,dm-spl;
 };
+
+&ospi0 {
+       reg = <0x00 0x0fc40000 0x00 0x100>,
+             <0x00 0x60000000 0x00 0x08000000>;
+};
index 159fa36..92788ba 100644 (file)
 &main_mmc1_pins_default {
        u-boot,dm-spl;
 };
+
+&fss {
+       u-boot,dm-spl;
+};
+
+&ospi0_pins_default {
+       u-boot,dm-spl;
+};
+
+&ospi0 {
+       u-boot,dm-spl;
+
+       flash@0 {
+               u-boot,dm-spl;
+
+               partitions {
+                       u-boot,dm-spl;
+
+                       partition@3fc0000 {
+                               u-boot,dm-spl;
+                       };
+               };
+       };
+};