Commit 47ef78b0 authored by Linus Walleij's avatar Linus Walleij

ARM: dts: gemini: Fix up confused pin settings

The SL93512r board has its pin muxing set up for the wrong
ASIC: SL3516 instead of SL3512 that it is using. Fix it
up and reference the right GPIO for the WPS button.
Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
parent 5f9e832c
...@@ -36,8 +36,8 @@ button-wps { ...@@ -36,8 +36,8 @@ button-wps {
wakeup-source; wakeup-source;
linux,code = <KEY_WPS_BUTTON>; linux,code = <KEY_WPS_BUTTON>;
label = "WPS"; label = "WPS";
/* Conflict with NAND flash */ /* Conflicts with TVC and extended flash */
gpios = <&gpio0 17 GPIO_ACTIVE_LOW>; gpios = <&gpio0 0 GPIO_ACTIVE_LOW>;
}; };
button-setup { button-setup {
...@@ -180,17 +180,20 @@ partition@fe0000 { ...@@ -180,17 +180,20 @@ partition@fe0000 {
syscon: syscon@40000000 { syscon: syscon@40000000 {
pinctrl { pinctrl {
/* /*
* gpio0egrp cover line 16 used by HD LED * gpio0agrp cover line 0, used by WPS button
* gpio0fgrp cover line 17, 18 used by wireless LED and reset button * gpio0fgrp cover line 16 used by HD LED
* gpio0hgrp cover line 21, 22 used by MDIO for Marvell PHY * gpio0ggrp cover line 17, 18 used by wireless LAN LED and
* gpio0kgrp cover line 31 used by USB LED * reset button OR USB ID select on 17 and USB VBUS select
* on 18. (Confusing.)
* gpio0igrp cover line 21, 22 used by MDIO for Marvell PHY
*/ */
gpio0_default_pins: pinctrl-gpio0 { gpio0_default_pins: pinctrl-gpio0 {
mux { mux {
function = "gpio0"; function = "gpio0";
groups = "gpio0egrp", groups = "gpio0agrp",
"gpio0fgrp", "gpio0fgrp",
"gpio0hgrp"; "gpio0ggrp",
"gpio0igrp";
}; };
}; };
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment