From 1951a89e35482ddbc9f124079b64bcc2f2e8d98f Mon Sep 17 00:00:00 2001 From: Data Plus <46394572+shapotkin@users.noreply.github.com> Date: Mon, 13 May 2019 10:14:32 +0300 Subject: [PATCH] Create add-nanopi-neo-core.patch [ nanopi-neo-core ] Add support for eMMC within u-boot --- .../u-boot-sunxi/add-nanopi-neo-core.patch | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch diff --git a/patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch b/patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch new file mode 100644 index 000000000..2fba0c36a --- /dev/null +++ b/patch/u-boot/u-boot-sunxi/add-nanopi-neo-core.patch @@ -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"; + };