stm32f746: to switch on user LED1 & read user button
authorVikas Manocha <vikas.manocha@st.com>
Mon, 10 Apr 2017 22:03:00 +0000 (15:03 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 8 May 2017 15:57:21 +0000 (11:57 -0400)
commit2f80a9f72ecf4cfee68279a45e3c155f6516faa1
tree20decea52c6dcf8052e6eb8a48cb1596d93f4615
parent280057bd7dd623420b2d8b383fe5bbe26820bc93
stm32f746: to switch on user LED1 & read user button

All discovery boards have one user button & one user LED. Here we are
just reading the button status & switching ON the user LED.

Signed-off-by: Vikas Manocha <vikas.manocha@st.com>
cc: Christophe KERELLO <christophe.kerello@st.com>
arch/arm/dts/stm32f746-disco.dts
board/st/stm32f746-disco/stm32f746-disco.c
include/configs/stm32f746-disco.h