mirror of
https://github.com/Fishwaldo/build.git
synced 2025-07-08 05:58:33 +00:00
Create add-nanopi-neo-core.patch
[ nanopi-neo-core ] Add support for eMMC within u-boot
This commit is contained in:
parent
552db3d323
commit
1951a89e35
1 changed files with 21 additions and 0 deletions
21
patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch
Normal file
21
patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch
Normal file
|
@ -0,0 +1,21 @@
|
|||
diff --git a/arch/arm/dts/sun8i-h3-nanopi-neo.dts b/arch/arm/dts/sun8i-h3-nanopi-neo.dts
|
||||
index 9f33f6f..4a56e6a 100644
|
||||
--- a/arch/arm/dts/sun8i-h3-nanopi-neo.dts
|
||||
+++ b/arch/arm/dts/sun8i-h3-nanopi-neo.dts
|
||||
@@ -58,6 +58,16 @@
|
||||
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";
|
||||
+};
|
||||
+
|
||||
&ohci0 {
|
||||
status = "okay";
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue