diff --git a/patch/u-boot/u-boot-sun50i-dev/add-nanopineoplus2.patch b/patch/u-boot/u-boot-sun50i-dev/add-nanopineoplus2.patch index 62c5c314be..57878478bc 100644 --- a/patch/u-boot/u-boot-sun50i-dev/add-nanopineoplus2.patch +++ b/patch/u-boot/u-boot-sun50i-dev/add-nanopineoplus2.patch @@ -15,12 +15,12 @@ new file mode 100644 index 0000000..598a054 --- /dev/null +++ b/configs/nanopi_neo_plus2_defconfig -@@ -0,0 +1,19 @@ +@@ -0,0 +1,20 @@ +CONFIG_ARM=y +CONFIG_ARCH_SUNXI=y +CONFIG_SPL_SPI_FLASH_SUPPORT=y +CONFIG_MACH_SUN50I_H5=y -+CONFIG_DRAM_CLK=672 ++CONFIG_DRAM_CLK=408 +CONFIG_DRAM_ZQ=3881977 +CONFIG_MACPWR="PD6" +CONFIG_DEFAULT_DEVICE_TREE="sun50i-h5-nanopi-neo-plus2" @@ -35,6 +35,7 @@ index 0000000..598a054 +CONFIG_SPL_SPI_SUNXI=y +CONFIG_SUN8I_EMAC=y +CONFIG_USB_EHCI_HCD=y ++CONFIG_MMC_SUNXI_SLOT_EXTRA=2 diff --git a/arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts b/arch/arm/dts/sun50i-h5-nanopi-neo-plus2.dts new file mode 100644 index 0000000..65042a5