1
0

529-armada388-clearfog-enable-spi-flash.patch 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. From bb683d7ad9d53442586cfdd0a79a6d6c1fec344e Mon Sep 17 00:00:00 2001
  2. From: Baruch Siach <baruch@tkos.co.il>
  3. Date: Thu, 28 Jun 2018 10:13:35 +0300
  4. Subject: [PATCH] ARM: dts: armada388-clearfog: enable spi flash
  5. The SolidRun Armada 388 SOM has the SPI flash populated by default
  6. unless the customer explicitly asks otherwise. Enable support by
  7. default.
  8. Signed-off-by: Baruch Siach <baruch@tkos.co.il>
  9. Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
  10. Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
  11. ---
  12. arch/arm/boot/dts/armada-388-clearfog.dts | 2 +-
  13. arch/arm/boot/dts/armada-388-clearfog.dtsi | 2 +-
  14. arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi | 1 -
  15. 3 files changed, 2 insertions(+), 3 deletions(-)
  16. --- a/arch/arm/boot/dts/armada-388-clearfog.dts
  17. +++ b/arch/arm/boot/dts/armada-388-clearfog.dts
  18. @@ -284,7 +284,7 @@
  19. &spi1 {
  20. /*
  21. * Add SPI CS pins for clearfog:
  22. - * CS0: W25Q32 (not populated on uSOM)
  23. + * CS0: W25Q32
  24. * CS1:
  25. * CS2: mikrobus
  26. */
  27. --- a/arch/arm/boot/dts/armada-388-clearfog.dtsi
  28. +++ b/arch/arm/boot/dts/armada-388-clearfog.dtsi
  29. @@ -265,7 +265,7 @@
  30. &spi1 {
  31. /*
  32. * Add SPI CS pins for clearfog:
  33. - * CS0: W25Q32 (not populated on uSOM)
  34. + * CS0: W25Q32
  35. * CS1: PIC microcontroller (Pro models)
  36. * CS2: mikrobus
  37. */
  38. --- a/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
  39. +++ b/arch/arm/boot/dts/armada-38x-solidrun-microsom.dtsi
  40. @@ -135,7 +135,6 @@
  41. compatible = "w25q32", "jedec,spi-nor";
  42. reg = <0>; /* Chip select 0 */
  43. spi-max-frequency = <3000000>;
  44. - status = "disabled";
  45. };
  46. };