126-6-dt-sun5i-add-nfc-to-a13.patch 934 B

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