This patch adds device tree for the ST Micro stv0991 board & enables
device tree control. Progressively device tree support for the drivers
being used will also be added.
Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
        socfpga_arria5_socdk.dtb                        \
        socfpga_cyclone5_socdk.dtb                      \
        socfpga_cyclone5_socrates.dtb
+dtb-$(CONFIG_TARGET_STV0991) += stv0991.dtb
 
 dtb-$(CONFIG_LS102XA) += ls1021a-qds.dtb \
        ls1021a-twr.dtb
 
--- /dev/null
+/dts-v1/;
+
+/ {
+       model = "ST STV0991 application board";
+       compatible = "st,stv0991";
+       #address-cells = <1>;
+       #size-cells = <1>;
+
+       chosen {
+               stdout-path = &uart0;
+       };
+
+       memory {
+               device_type="memory";
+               reg = <0x0 0x198000>;
+       };
+
+       uart0: serial@0x80406000 {
+               compatible = "arm,pl011", "arm,primecell";
+               reg = <0x80406000 0x1000>;
+               clock = <2700000>;
+       };
+};
 
 CONFIG_ETH_DESIGNWARE=y
 CONFIG_NETDEVICES=y
 CONFIG_NET=y
+CONFIG_DEFAULT_DEVICE_TREE="stv0991"
 
 #define CONFIG_AUTOBOOT_STOP_STR               " "
 #define CONFIG_AUTOBOOT_PROMPT                 \
        "Hit SPACE in %d seconds to stop autoboot.\n", bootdelay
-
+#define CONFIG_OF_SEPARATE
+#define CONFIG_OF_CONTROL
+#define CONFIG_OF_LIBFDT
 #endif /* __CONFIG_H */