uboot-sunxi: add spi for orange pi r1 sunxi-spi
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 17 Feb 2018 00:43:04 +0000 (01:43 +0100)
committerHauke Mehrtens <hauke@hauke-m.de>
Tue, 13 Mar 2018 18:47:19 +0000 (19:47 +0100)
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
package/boot/uboot-sunxi/patches/320-sunxi-Add-support-for-Orange-Pi-R1.patch

index 82a1c891ba585550c61756f434f4c4e0e0b6f242..825417daf2b2dc8db1e57da8e67eb4c184894923 100644 (file)
@@ -28,7 +28,7 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
        sun8i-h3-orangepi-2.dtb \
 --- /dev/null
 +++ b/arch/arm/dts/sun8i-h2-plus-orangepi-r1.dts
-@@ -0,0 +1,91 @@
+@@ -0,0 +1,99 @@
 +/*
 + * Copyright (C) 2017 Icenowy Zheng <icenowy@aosc.xyz>
 + *
@@ -99,6 +99,14 @@ Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
 +      };
 +};
 +
++&spi0 {
++      status = "okay";
++
++      flash@0 {
++              compatible = "mxicy,mx25l12805d", "jedec,spi-nor";
++      };
++};
++
 +&ohci1 {
 +      /*
 +       * RTL8152B USB-Ethernet adapter is connected to USB1,