Add eMMC support for Nanopi Neo Core on NEXT kernel and upstream patch for Rockchip

This commit is contained in:
Igor Pecovnik 2018-09-12 10:39:04 +02:00
parent 7521bb7ff1
commit a0448ac987
2 changed files with 1888 additions and 0 deletions

File diff suppressed because it is too large Load diff

View file

@ -0,0 +1,26 @@
diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
index 78f6c2495..157ae8eb1 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-neo.dts
@@ -53,3 +53,20 @@
allwinner,leds-active-low;
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 */
+ drive-strength = <40>;
+ /* eMMC is missing pull-ups */
+ bias-pull-up;
+};
\ No newline at end of file