aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/dts/mt7620a.dtsi
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2018-08-30 19:13:20 +0200
committerMathias Kresin <dev@kresin.me>2018-09-06 21:35:53 +0200
commit563a5b5f94b2fb36dce36f39bf6515e5bbb31245 (patch)
tree3ff93ef2b068d074702d97fd13dbd761eda73604 /target/linux/ramips/dts/mt7620a.dtsi
parenta14097e8e0eef8f7ee5e1e773defee83366a10a4 (diff)
downloadupstream-563a5b5f94b2fb36dce36f39bf6515e5bbb31245.tar.gz
upstream-563a5b5f94b2fb36dce36f39bf6515e5bbb31245.tar.bz2
upstream-563a5b5f94b2fb36dce36f39bf6515e5bbb31245.zip
ramips: add mt7620/1 sdhci pinmux
Set the pins to the required mode via the pinmux driver. It allows to get rid of the pinmux related code in the sd card driver. Signed-off-by: Mathias Kresin <dev@kresin.me>
Diffstat (limited to 'target/linux/ramips/dts/mt7620a.dtsi')
-rw-r--r--target/linux/ramips/dts/mt7620a.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/target/linux/ramips/dts/mt7620a.dtsi b/target/linux/ramips/dts/mt7620a.dtsi
index 8cb397cd22..a242684fd8 100644
--- a/target/linux/ramips/dts/mt7620a.dtsi
+++ b/target/linux/ramips/dts/mt7620a.dtsi
@@ -417,6 +417,13 @@
ralink,function = "pa";
};
};
+
+ sdhci_pins: sdhci {
+ sdhci {
+ ralink,group = "nd_sd";
+ ralink,function = "sd";
+ };
+ };
};
rstctrl: rstctrl {
@@ -496,6 +503,9 @@
interrupt-parent = <&intc>;
interrupts = <14>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&sdhci_pins>;
+
status = "disabled";
};