902-MIPS-DTS-img-marduk-add-nand-device-support.patch 865 B

123456789101112131415161718192021222324252627282930
  1. From c13cfb3a49cf1578bb85f19a7066f262503a39ba Mon Sep 17 00:00:00 2001
  2. From: Abhimanyu Vishwakarma <[email protected]>
  3. Date: Thu, 24 Nov 2016 19:26:46 +0530
  4. Subject: MIPS: DTS: img: marduk: add nand device support
  5. Signed-off-by: Abhimanyu Vishwakarma <[email protected]>
  6. ---
  7. arch/mips/boot/dts/img/pistachio_marduk.dts | 11 +++++++++++
  8. 1 file changed, 11 insertions(+)
  9. --- a/arch/mips/boot/dts/img/pistachio_marduk.dts
  10. +++ b/arch/mips/boot/dts/img/pistachio_marduk.dts
  11. @@ -92,6 +92,17 @@
  12. spi-max-frequency = <50000000>;
  13. linux,mtd-name = "spi-nor";
  14. };
  15. + flash@1 {
  16. + compatible = "gigadevice,gd5f";
  17. + reg = <1>;
  18. + spi-max-frequency = <50000000>;
  19. + nand-on-flash-bbt;
  20. + spi-rx-bus-width = <2>;
  21. + spi-tx-bus-width = <4>;
  22. + #address-cells = <1>;
  23. + #size-cells = <1>;
  24. + linux,mtd-name = "spi-nand";
  25. + };
  26. };
  27. &uart0 {