mvebu: add images for additional ESPRESSObin boards
[openwrt/staging/wigyori.git] / target / linux / mvebu / patches-4.14 / 513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch
diff --git a/target/linux/mvebu/patches-4.14/513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch b/target/linux/mvebu/patches-4.14/513-arm64-dts-marvell-armada37xx-Add-emmc-sdio-pinctrl-d.patch
new file mode 100644 (file)
index 0000000..19702a6
--- /dev/null
@@ -0,0 +1,40 @@
+From eefe328439642101774f0f5c4ea0dc6ba1cfb687 Mon Sep 17 00:00:00 2001
+From: Ding Tao <miyatsu@qq.com>
+Date: Fri, 26 Oct 2018 11:50:27 +0000
+Subject: [PATCH] arm64: dts: marvell: armada37xx: Add emmc/sdio pinctrl
+ definition
+
+Add emmc/sdio pinctrl definition for marvell armada37xx SoCs.
+
+Signed-off-by: Ding Tao <miyatsu@qq.com>
+Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
+---
+ arch/arm64/boot/dts/marvell/armada-37xx.dtsi | 10 ++++++++++
+ 1 file changed, 10 insertions(+)
+
+--- a/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
++++ b/arch/arm64/boot/dts/marvell/armada-37xx.dtsi
+@@ -218,6 +218,11 @@
+                                       groups = "uart2";
+                                       function = "uart";
+                               };
++
++                              mmc_pins: mmc-pins {
++                                      groups = "emmc_nb";
++                                      function = "emmc";
++                              };
+                       };
+                       nb_pm: syscon@14000 {
+@@ -247,6 +252,11 @@
+                                       function = "mii";
+                               };
++                              sdio_pins: sdio-pins {
++                                      groups = "sdio_sb";
++                                      function = "sdio";
++                              };
++
+                       };
+                       eth0: ethernet@30000 {