summaryrefslogtreecommitdiffstats
path: root/arch/arm/boot/dts/sun8i-v3s.dtsi
diff options
context:
space:
mode:
authorIcenowy Zheng <icenowy@aosc.io>2017-05-15 16:40:00 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2017-05-15 10:54:06 +0200
commitbe3c1392b3b7a0243a5a4bf3ae6fe42ee983974d (patch)
tree4014e05a4ee541f77cff5b2352b375ea13d1ba3c /arch/arm/boot/dts/sun8i-v3s.dtsi
parent37eac4f9c6e819238fd8d02e9597b1d15e23b6e1 (diff)
downloadlinux-be3c1392b3b7a0243a5a4bf3ae6fe42ee983974d.tar.gz
linux-be3c1392b3b7a0243a5a4bf3ae6fe42ee983974d.tar.bz2
linux-be3c1392b3b7a0243a5a4bf3ae6fe42ee983974d.zip
ARM: sun8i: v3s: add pinmux for mmc1
The dock board of Lichee Pi Zero features a MicroSD slot on MMC1, which can be used with a MicroSD card or the MicroSD-slot Wi-Fi card provided by Lichee Pi Zero. Add pinmux for the mmc1 controller, and specify it in the mmc1 device node as it's the only pinmux for mmc1. Signed-off-by: Icenowy Zheng <icenowy@aosc.io> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'arch/arm/boot/dts/sun8i-v3s.dtsi')
-rw-r--r--arch/arm/boot/dts/sun8i-v3s.dtsi10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/sun8i-v3s.dtsi b/arch/arm/boot/dts/sun8i-v3s.dtsi
index b9a3df941fb4..6ff50665e5e6 100644
--- a/arch/arm/boot/dts/sun8i-v3s.dtsi
+++ b/arch/arm/boot/dts/sun8i-v3s.dtsi
@@ -128,6 +128,8 @@
resets = <&ccu RST_BUS_MMC1>;
reset-names = "ahb";
interrupts = <GIC_SPI 61 IRQ_TYPE_LEVEL_HIGH>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&mmc1_pins>;
status = "disabled";
#address-cells = <1>;
#size-cells = <0>;
@@ -224,6 +226,14 @@
drive-strength = <30>;
bias-pull-up;
};
+
+ mmc1_pins: mmc1 {
+ pins = "PG0", "PG1", "PG2", "PG3",
+ "PG4", "PG5";
+ function = "mmc1";
+ drive-strength = <30>;
+ bias-pull-up;
+ };
};
timer@01c20c00 {