ramips: backport MT7628 pinmux fixes

According to the datasheet the REFCLK pin is shared with GPIO#37 and
the PERST pin is shared with GPIO#36.

While at it fix a typo inside the pinmux setup code. The function is called
refclk and not reclk.

Update device tree source files accordingly.

Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
Mathias Kresin
2017-11-18 21:07:45 +01:00
parent 9601e6a0e2
commit d77fe9219a
4 changed files with 66 additions and 2 deletions

View File

@@ -73,7 +73,7 @@
wm8960_mclk_pins: wm8960_mclk {
wm8960_mclk {
ralink,group = "refclk";
ralink,function = "reclk";
ralink,function = "refclk";
};
};
};

View File

@@ -31,7 +31,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
ralink,group = "wled_an", "perst", "wdt";
ralink,group = "wled_an", "refclk", "wdt";
ralink,function = "gpio";
};
};