dts: nrf: Add flash controller and alignment description for nRF51822

Similar addition was don previous for nRF52840.
Added flash-controller description and moved flash description to
it. Added property for description of
the flash alignment required by write operations.


Signed-off-by: Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no>
diff --git a/dts/arm/nordic/nrf51822.dtsi b/dts/arm/nordic/nrf51822.dtsi
index bc6489b..f29ba76 100644
--- a/dts/arm/nordic/nrf51822.dtsi
+++ b/dts/arm/nordic/nrf51822.dtsi
@@ -13,8 +13,18 @@
 		};
 	};
 
-	flash0: flash@0 {
-		reg = <0x00000000 DT_FLASH_SIZE>;
+	flash-controller@4001E000 {
+			compatible = "nrf,nrf51-flash-controller";
+			reg = <0x4001E000 0x518>;
+
+			#address-cells = <1>;
+			#size-cells = <1>;
+
+			flash0: flash@0 {
+				compatible = "soc-nv-flash";
+				reg = <0x00000000 DT_FLASH_SIZE>;
+				write-block-size = <4>;
+			};
 	};
 
 	sram0: memory@20000000 {