ARM: dts: sun5i: Add port E pinmux settings for mmc2
authorJonathan McDowell <noodles@earth.li>
Wed, 10 May 2023 12:02:02 +0000 (13:02 +0100)
committerJernej Skrabec <jernej.skrabec@gmail.com>
Wed, 31 May 2023 21:13:46 +0000 (23:13 +0200)
These alternate pins for mmc2 are brought out to the 40 pin U14 header
on the C.H.I.P and can be used to add an external MMC device with a 4
bit interface. See

https://byteporter.com/ntc-chip-micro-sd-slot/

for further details on how.

Signed-off-by: Jonathan McDowell <noodles@earth.li>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Link: https://lore.kernel.org/r/7949169f581cab37175602188f44bc26e79a45c0.1683719613.git.noodles@earth.li
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
arch/arm/boot/dts/sun5i.dtsi

index 2f901a0..d7c7b45 100644 (file)
                                bias-pull-up;
                        };
 
+                       /omit-if-no-ref/
+                       mmc2_4bit_pe_pins: mmc2-4bit-pe-pins {
+                               pins = "PE4", "PE5", "PE6", "PE7",
+                                      "PE8", "PE9";
+                               function = "mmc2";
+                               drive-strength = <30>;
+                               bias-pull-up;
+                       };
+
                        mmc2_8bit_pins: mmc2-8bit-pins {
                                pins = "PC6", "PC7", "PC8", "PC9",
                                       "PC10", "PC11", "PC12", "PC13",