]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm: xilinx: Add missing dual parallel flash description
authorMichal Simek <michal.simek@amd.com>
Mon, 23 Oct 2023 07:21:53 +0000 (09:21 +0200)
committerMichal Simek <michal.simek@amd.com>
Tue, 7 Nov 2023 12:47:09 +0000 (13:47 +0100)
Describe flash memories based on the latest DT binding.

Signed-off-by: Michal Simek <michal.simek@amd.com>
Link: https://lore.kernel.org/r/cddf2909d0445eba08b998d42ffc31c1fa3132b9.1698045694.git.michal.simek@amd.com
arch/arm/dts/zynq-zc706.dts
arch/arm/dts/zynq-zc770-xm013.dts
arch/arm/dts/zynqmp-m-a2197-01-revA.dts
arch/arm/dts/zynqmp-m-a2197-02-revA.dts
arch/arm/dts/zynqmp-m-a2197-03-revA.dts

index 03eb016ed687674dc1723699f1eaabfb2214820c..18963a395156cc417e68e2ebb473068ac966b6f9 100644 (file)
 &qspi {
        bootph-all;
        status = "okay";
-       num-cs = <1>;
+       num-cs = <2>;
        flash@0 {
                compatible = "n25q128a11", "jedec,spi-nor";
-               reg = <0x0>;
+               reg = <0>, <1>;
+               parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <4>;
                spi-max-frequency = <50000000>;
index 21902fbb0cc1114bc4fde0185ffae9aab6c5c4ca..582aa1f1b873a36bc61b01cec8dea43c931d74c5 100644 (file)
 
 &qspi {
        status = "okay";
-       num-cs = <1>;
+       num-cs = <2>;
        flash@0 {
                compatible = "n25q128a11", "jedec,spi-nor";
-               reg = <0x0>;
+               reg = <0>, <1>;
+               parallel-memories = /bits/ 64 <0x1000000 0x1000000>; /* 16MB */
                spi-tx-bus-width = <1>;
                spi-rx-bus-width = <4>;
                spi-max-frequency = <50000000>;
index 25ef646c846686ff83d4dcb47b9d62562a036bb6..83b8a98d80cac03535f0df470bc0bed799142e7e 100644 (file)
 
 &qspi {
        status = "okay";
+       num-cs = <2>;
        flash@0 {
                compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
+               reg = <0>, <1>;
+               parallel-memories = /bits/ 64 <0x4000000 0x4000000>; /* 64MB */
                #address-cells = <1>;
                #size-cells = <1>;
-               reg = <0x0>;
                spi-tx-bus-width = <4>;
                spi-rx-bus-width = <4>;
                spi-max-frequency = <108000000>;
index ece9e691454144ba53e58ca16016a3417b5d2039..dd37b726d3dcf4356cfa5a1c385018b204f6e696 100644 (file)
 
 &qspi {
        status = "okay";
+       num-cs = <2>;
        flash@0 {
                compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
+               reg = <0>, <1>;
+               parallel-memories = /bits/ 64 <0x4000000 0x4000000>; /* 64MB */
                #address-cells = <1>;
                #size-cells = <1>;
-               reg = <0x0>;
                spi-tx-bus-width = <4>;
                spi-rx-bus-width = <4>;
                spi-max-frequency = <108000000>;
index 7372968e5734001e34fbbe4b2926b0ec834b6205..811cebafe9e6a0b1fb863377c3ca39b00978a531 100644 (file)
 
 &qspi {
        status = "okay";
+       num-cs = <2>;
        flash@0 {
                compatible = "m25p80", "jedec,spi-nor"; /* 32MB */
+               reg = <0>, <1>;
+               parallel-memories = /bits/ 64 <0x4000000 0x4000000>; /* 64MB */
                #address-cells = <1>;
                #size-cells = <1>;
-               reg = <0x0>;
                spi-tx-bus-width = <4>;
                spi-rx-bus-width = <4>;
                spi-max-frequency = <108000000>;