202-ARM-dts-sun8i-activate-SPI-on-Orange-Pi-R1.patch 748 B

1234567891011121314151617181920212223242526272829
  1. From 4a36ec1f82db3fa34d766dec5062b4de06b50f7f Mon Sep 17 00:00:00 2001
  2. From: Hauke Mehrtens <hauke@hauke-m.de>
  3. Date: Thu, 28 Dec 2017 14:11:36 +0100
  4. Subject: [PATCH] ARM: dts: sun8i: activate SPI on Orange Pi R1
  5. This board has a SPI flash, activate it also in device tree by default.
  6. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
  7. ---
  8. arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts | 4 ++++
  9. 1 file changed, 4 insertions(+)
  10. --- a/arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts
  11. +++ b/arch/arm/boot/dts/sun8i-h2-plus-orangepi-r1.dts
  12. @@ -68,6 +68,14 @@
  13. };
  14. };
  15. +&spi0 {
  16. + status = "okay";
  17. +
  18. + flash@0 {
  19. + compatible = "mxicy,mx25l12805d", "jedec,spi-nor";
  20. + };
  21. +};
  22. +
  23. &ohci1 {
  24. /*
  25. * RTL8152B USB-Ethernet adapter is connected to USB1,