mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-23 13:29:33 +00:00
Add eMMC support for Nanopi Neo Core on NEXT kernel and upstream patch for Rockchip
This commit is contained in:
parent
7521bb7ff1
commit
a0448ac987
2 changed files with 1888 additions and 0 deletions
1862
patch/kernel/rockchip-default/04-patch-4.4.154-155.patch
Normal file
1862
patch/kernel/rockchip-default/04-patch-4.4.154-155.patch
Normal file
File diff suppressed because it is too large
Load diff
26
patch/kernel/sunxi-next/add-emmc-nanopineo-core.patch
Normal file
26
patch/kernel/sunxi-next/add-emmc-nanopineo-core.patch
Normal 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 = <®_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
|
Loading…
Add table
Add a link
Reference in a new issue