126-5-dt-sun4i-add-nfc-to-a10.patch 981 B

123456789101112131415161718192021222324252627282930313233
  1. From a5bbf2ee4ca1479e4488399a45336e003e09647f Mon Sep 17 00:00:00 2001
  2. From: Michal Suchanek <hramrach@gmail.com>
  3. Date: Tue, 26 May 2015 17:03:41 +0200
  4. Subject: [PATCH] ARM: dts: sun4i: Add NFC node to Allwinner A10 SoC
  5. Add NAND Flash controller node definition to the A10 SoC.
  6. Signed-off-by: Michal Suchanek <hramrach@gmail.com>
  7. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  8. ---
  9. arch/arm/boot/dts/sun4i-a10.dtsi | 11 +++++++++++
  10. 1 file changed, 11 insertions(+)
  11. --- a/arch/arm/boot/dts/sun4i-a10.dtsi
  12. +++ b/arch/arm/boot/dts/sun4i-a10.dtsi
  13. @@ -428,6 +428,17 @@
  14. #dma-cells = <2>;
  15. };
  16. + nfc: nand@01c03000 {
  17. + compatible = "allwinner,sun4i-a10-nand";
  18. + reg = <0x01c03000 0x1000>;
  19. + interrupts = <37>;
  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>;