]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - arch/arm/boot/dts/sun8i-h3-orangepi-plus.dts
ARM: dts: sun8i: Add eMMC dt node on Orangepi Plus boards
[linux.git] / arch / arm / boot / dts / sun8i-h3-orangepi-plus.dts
index c5c17bdf854218b169f1f54383d5abbc49b61514..6273ddfa8c8f33c3fad9725bfbe18f282a436605 100644 (file)
@@ -186,6 +186,23 @@ &mmc1 {
        status = "okay";
 };
 
+&mmc2 {
+       pinctrl-names = "default";
+       pinctrl-0 = <&mmc2_8bit_pins>;
+       vmmc-supply = <&reg_vcc3v3>;
+       bus-width = <8>;
+       non-removable;
+       cap-mmc-hw-reset;
+       status = "okay";
+};
+
+&mmc2_8bit_pins {
+       /* Increase drive strength for DDR modes */
+       allwinner,drive = <SUN4I_PINCTRL_40_MA>;
+       /* eMMC is missing pull-ups */
+       allwinner,pull = <SUN4I_PINCTRL_PULL_UP>;
+};
+
 &reg_usb1_vbus {
        gpio = <&pio 6 13 GPIO_ACTIVE_HIGH>;
        status = "okay";