提交 35d14806 编写于 作者: D Deepak Sikri 提交者: Linus Walleij

pinctrl: SPEAr1340: Make DDR reset & clock pads as gpio

Some gpio pins are used to control DDR reset and clock enable while the system
is moved into Low power. This patch adds in the corresponding GPIO entries in
the pads_as_gpio_pins to ensure the pads are available as gpio's.
Signed-off-by: NDeepak Sikri <deepak.sikri@st.com>
Signed-off-by: NViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
上级 0e6f1e5c
...@@ -213,7 +213,7 @@ static const struct pinctrl_pin_desc spear1340_pins[] = { ...@@ -213,7 +213,7 @@ static const struct pinctrl_pin_desc spear1340_pins[] = {
* Pad multiplexing for making all pads as gpio's. This is done to override the * Pad multiplexing for making all pads as gpio's. This is done to override the
* values passed from bootloader and start from scratch. * values passed from bootloader and start from scratch.
*/ */
static const unsigned pads_as_gpio_pins[] = { 251 }; static const unsigned pads_as_gpio_pins[] = { 12, 88, 89, 251 };
static struct spear_muxreg pads_as_gpio_muxreg[] = { static struct spear_muxreg pads_as_gpio_muxreg[] = {
{ {
.reg = PAD_FUNCTION_EN_1, .reg = PAD_FUNCTION_EN_1,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册