]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
dt: versal-ospi: Updated compatible string
authorSai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
Mon, 1 Jul 2019 09:03:12 +0000 (14:33 +0530)
committerSiva Durga Prasad Paladugu <sivadur@xilinx.com>
Tue, 2 Jul 2019 04:22:52 +0000 (09:52 +0530)
This patch updates the ospi node with required properties for linux driver
along with compatible string and partition nodes for testing purpose.

Signed-off-by: Sai Krishna Potthuri <lakshmi.sai.krishna.potthuri@xilinx.com>
arch/arm/dts/versal-vc-p-a2197-00-revA-x-prc-01-revA-ospi.dts

index 7e10c1a1603ed2d25f346029cc51a341f4c9e6c0..579e0dd932e6264ffc6f3fbe206cf676a46f21fa 100644 (file)
@@ -23,7 +23,7 @@
 /* Mutually exclusive */
 &ospi {
        status = "okay"; /* U97 MT35XU02G */
-       compatible = "cadence,qspi", "cdns,qspi-nor";
+       compatible = "xlnx,versal-ospi-1.0", "cadence,qspi", "cdns,qspi-nor";
        bus-num = <2>;
        num-cs = <1>;
        #stream-id-cells = <1>;
        #size-cells = <0>;
 
        flash@0 {
-               compatible = "n25q512a", "micron,m25p80", "spi-flash";
+               compatible = "mt35xu02g", "micron,m25p80", "spi-flash";
                reg = <0>;
+               #address-cells = <0x1>;
+               #size-cells = <0x1>;
+               cdns,read-delay = <0x0>;
+               cdns,tshsl-ns = <0x0>;
+               cdns,tsd2d-ns = <0x0>;
+               cdns,tchsh-ns = <0x1>;
+               cdns,tslch-ns = <0x1>;
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <8>;
                spi-max-frequency = <20000000>;
+               partition@0 { /* for testing purpose */
+                       label = "ospi-fsbl-uboot";
+                       reg = <0x0 0x100000>;
+               };
+               partition@100000 { /* for testing purpose */
+                       label = "ospi-linux";
+                       reg = <0x100000 0x500000>;
+               };
+               partition@600000 { /* for testing purpose */
+                       label = "ospi-device-tree";
+                       reg = <0x600000 0x20000>;
+               };
+               partition@620000 { /* for testing purpose */
+                       label = "ospi-rootfs";
+                       reg = <0x1000000 0xa00000>;
+               };
        };
 
 };