]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
arm64: zynqmp: Define and enable qspi node for DC4 board
authorSiva Durga Prasad Paladugu <siva.durga.paladugu@xilinx.com>
Sat, 4 Mar 2017 06:46:47 +0000 (12:16 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Thu, 29 Nov 2018 09:29:58 +0000 (10:29 +0100)
DC4 board has qspi on it hence define and enable
qspi node for it.

Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-zc1751-xm018-dc4.dts

index fb49b4fcb4921e157323e30f5d86f1ead93e6acc..9afbbb63b49b54a80045bcbc97caceb1999590d8 100644 (file)
        status = "okay";
 };
 
+&qspi {
+       status = "okay";
+       flash@0 {
+               compatible = "m25p80", "spi-flash"; /* 32MB */
+               #address-cells = <1>;
+               #size-cells = <1>;
+               reg = <0x0>;
+               spi-tx-bus-width = <1>;
+               spi-rx-bus-width = <4>; /* also DUAL configuration possible */
+               spi-max-frequency = <108000000>; /* Based on DC1 spec */
+               partition@qspi-fsbl-uboot { /* for testing purpose */
+                       label = "qspi-fsbl-uboot";
+                       reg = <0x0 0x100000>;
+               };
+               partition@qspi-linux { /* for testing purpose */
+                       label = "qspi-linux";
+                       reg = <0x100000 0x500000>;
+               };
+               partition@qspi-device-tree { /* for testing purpose */
+                       label = "qspi-device-tree";
+                       reg = <0x600000 0x20000>;
+               };
+               partition@qspi-rootfs { /* for testing purpose */
+                       label = "qspi-rootfs";
+                       reg = <0x620000 0x5E0000>;
+               };
+       };
+};
+
 &rtc {
        status = "okay";
 };