From d77fe9219af17dce2d00147d904267d4489ae841 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Sat, 18 Nov 2017 21:07:45 +0100 Subject: 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 --- target/linux/ramips/dts/DUZUN-DM06.dts | 2 +- target/linux/ramips/dts/VOCORE2.dts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'target/linux/ramips/dts') diff --git a/target/linux/ramips/dts/DUZUN-DM06.dts b/target/linux/ramips/dts/DUZUN-DM06.dts index d40df4f..33d6827 100644 --- a/target/linux/ramips/dts/DUZUN-DM06.dts +++ b/target/linux/ramips/dts/DUZUN-DM06.dts @@ -73,7 +73,7 @@ wm8960_mclk_pins: wm8960_mclk { wm8960_mclk { ralink,group = "refclk"; - ralink,function = "reclk"; + ralink,function = "refclk"; }; }; }; diff --git a/target/linux/ramips/dts/VOCORE2.dts b/target/linux/ramips/dts/VOCORE2.dts index 9173951..d6d1e8b 100644 --- a/target/linux/ramips/dts/VOCORE2.dts +++ b/target/linux/ramips/dts/VOCORE2.dts @@ -31,7 +31,7 @@ &pinctrl { state_default: pinctrl0 { gpio { - ralink,group = "wled_an", "perst", "wdt"; + ralink,group = "wled_an", "refclk", "wdt"; ralink,function = "gpio"; }; }; -- cgit v1.1