aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2017-11-18 21:07:45 +0100
committerMathias Kresin <dev@kresin.me>2017-11-22 08:21:52 +0100
commite142173e8dc5ddd923761581bcc877a786f3c2ff (patch)
tree79eda8842304f325be4d2ead2e894452f5aceb59 /target/linux/ramips/dts
parent2f9fe78e756f17cbf48ad2139e9d739b6dbf8344 (diff)
downloadupstream-e142173e8dc5ddd923761581bcc877a786f3c2ff.tar.gz
upstream-e142173e8dc5ddd923761581bcc877a786f3c2ff.tar.bz2
upstream-e142173e8dc5ddd923761581bcc877a786f3c2ff.zip
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>
Diffstat (limited to 'target/linux/ramips/dts')
-rw-r--r--target/linux/ramips/dts/DUZUN-DM06.dts2
-rw-r--r--target/linux/ramips/dts/U7628-01.dtsi2
-rw-r--r--target/linux/ramips/dts/VOCORE2.dtsi2
3 files changed, 3 insertions, 3 deletions
diff --git a/target/linux/ramips/dts/DUZUN-DM06.dts b/target/linux/ramips/dts/DUZUN-DM06.dts
index 97625d875e..c529b34a7a 100644
--- a/target/linux/ramips/dts/DUZUN-DM06.dts
+++ b/target/linux/ramips/dts/DUZUN-DM06.dts
@@ -74,7 +74,7 @@
wm8960_mclk_pins: wm8960_mclk {
wm8960_mclk {
ralink,group = "refclk";
- ralink,function = "reclk";
+ ralink,function = "refclk";
};
};
};
diff --git a/target/linux/ramips/dts/U7628-01.dtsi b/target/linux/ramips/dts/U7628-01.dtsi
index 142cc4cc63..34226a4a4e 100644
--- a/target/linux/ramips/dts/U7628-01.dtsi
+++ b/target/linux/ramips/dts/U7628-01.dtsi
@@ -125,7 +125,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "gpio", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "perst", "wdt", "wled_an";
+ ralink,group = "gpio", "p0led_an", "p1led_an", "p2led_an", "p3led_an", "p4led_an", "refclk", "wdt", "wled_an";
ralink,function = "gpio";
};
};
diff --git a/target/linux/ramips/dts/VOCORE2.dtsi b/target/linux/ramips/dts/VOCORE2.dtsi
index dc1bd17b08..f7aec8e1f5 100644
--- a/target/linux/ramips/dts/VOCORE2.dtsi
+++ b/target/linux/ramips/dts/VOCORE2.dtsi
@@ -12,7 +12,7 @@
&pinctrl {
state_default: pinctrl0 {
gpio {
- ralink,group = "wled_an", "perst", "wdt";
+ ralink,group = "wled_an", "refclk", "wdt";
ralink,function = "gpio";
};
};