ARM64: zynqmp: Add missing nand node for ep108
authorPunnaiah Choudary Kalluri <punnaiah.choudary.kalluri@xilinx.com>
Thu, 5 Nov 2015 16:51:14 +0000 (22:21 +0530)
committerMichal Simek <michal.simek@xilinx.com>
Wed, 13 Apr 2016 16:29:05 +0000 (18:29 +0200)
Add missing nand node for ep108.

Signed-off-by: Punnaiah Choudary Kalluri <punnaia@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/dts/zynqmp-ep108-clk.dtsi
arch/arm/dts/zynqmp-ep108.dts

index f864526..48bb426 100644 (file)
        clocks = <&i2c_clk>;
 };
 
+&nand0 {
+       clocks = <&misc_clk &misc_clk>;
+};
+
 &qspi {
        clocks = <&misc_clk &misc_clk>;
 };
index e48a360..0bbf9a7 100644 (file)
        };
 };
 
+&nand0 {
+       status = "okay";
+       arasan,has-mdma;
+       num-cs = <1>;
+
+       partition@0 {   /* for testing purpose */
+               label = "nand-fsbl-uboot";
+               reg = <0x0 0x0 0x400000>;
+       };
+       partition@1 {   /* for testing purpose */
+               label = "nand-linux";
+               reg = <0x0 0x400000 0x1400000>;
+       };
+       partition@2 {   /* for testing purpose */
+               label = "nand-device-tree";
+               reg = <0x0 0x1800000 0x400000>;
+       };
+       partition@3 {   /* for testing purpose */
+               label = "nand-rootfs";
+               reg = <0x0 0x1C00000 0x1400000>;
+       };
+       partition@4 {   /* for testing purpose */
+               label = "nand-bitstream";
+               reg = <0x0 0x3000000 0x400000>;
+       };
+       partition@5 {   /* for testing purpose */
+               label = "nand-misc";
+               reg = <0x0 0x3400000 0xFCC00000>;
+       };
+};
+
 &qspi {
        status = "okay";
        flash@0 {