From 563a5b5f94b2fb36dce36f39bf6515e5bbb31245 Mon Sep 17 00:00:00 2001 From: Mathias Kresin Date: Thu, 30 Aug 2018 19:13:20 +0200 Subject: 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 --- target/linux/ramips/dts/mt7620a.dtsi | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'target/linux/ramips/dts/mt7620a.dtsi') 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"; }; -- cgit v1.2.3