126-4-dt-sun4i-add-nfc-to-a10.patch 1017 B

123456789101112131415161718192021222324252627282930313233
  1. From 9cc66234a20c6ba1611233a122f04f3b175ad2d3 Mon Sep 17 00:00:00 2001
  2. From: Boris BREZILLON <boris.brezillon@free-electrons.com>
  3. Date: Mon, 28 Jul 2014 14:01:22 +0200
  4. Subject: [PATCH] ARM: dts: sun7i: Add NFC node to Allwinner A20 SoC
  5. Add NAND Flash controller node definition to the A20 SoC.
  6. Signed-off-by: Boris BREZILLON <boris.brezillon@free-electrons.com>
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20.dtsi | 11 +++++++++++
  10. 1 file changed, 11 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -543,6 +543,17 @@
  14. #dma-cells = <2>;
  15. };
  16. + nfc: nand@01c03000 {
  17. + compatible = "allwinner,sun4i-a10-nand";
  18. + reg = <0x01c03000 0x1000>;
  19. + interrupts = <0 37 4>;
  20. + clocks = <&ahb_gates 13>, <&nand_clk>;
  21. + clock-names = "ahb", "mod";
  22. + #address-cells = <1>;
  23. + #size-cells = <0>;
  24. + status = "disabled";
  25. + };
  26. +
  27. spi0: spi@01c05000 {
  28. compatible = "allwinner,sun4i-a10-spi";
  29. reg = <0x01c05000 0x1000>;