b/arch/arm/boot/dts/dove-cm-a510.dts
@@ -36,3 +36,20 @@
&i2c0 {
status = "okay";
};
+
+&nand {
+ status = "okay";
+ num-cs = <1>;
+ partition@0 {
+ label = "uImage";
+ reg = <0x000000000000 0x000000400000>;
+ };
+ partition@400000 {
+ label = "Rootfs";
+ reg = <0x000000400000 0x00001FC00000>;
+ };
+};
+
+
+
+
@@ -380,6 +380,22 @@
status = "disabled";
};
+ nand: nand@c0000 {
+ compatible = "marvell,armada370-nand";
+ #address-cells = <1>;
+ #size-cells = <1>;
+ reg= <0xc0000 0x60>;
+ interrupts = <3>;
+ clocks = <&core_clk 0>;
+ pinctrl-0 = <&pmx_nand>;
+ pinctrl-names = "default";
+ marvell,nand-keep-config;
+ marvell,nand-enable-arbiter;
+ nand-on-flash-bbt;
+ };
+
+
+
thermal: thermal-diode@d001c {
compatible = "marvell,dove-thermal";
reg = <0xd001c 0x0c>, <0xd005c 0x08>;