148-dt-sun7i-add-spi-muxing.patch 923 B

123456789101112131415161718192021222324252627282930313233
  1. From c38fe0f410a59e194ef5e58429658506d853f1b4 Mon Sep 17 00:00:00 2001
  2. From: Maxime Ripard <maxime.ripard@free-electrons.com>
  3. Date: Sat, 22 Feb 2014 22:35:58 +0100
  4. Subject: [PATCH] ARM: dt: sun7i: Add SPI muxing options
  5. Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  6. ---
  7. arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++
  8. 1 file changed, 14 insertions(+)
  9. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  10. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  11. @@ -571,6 +571,20 @@
  12. allwinner,drive = <3>;
  13. allwinner,pull = <0>;
  14. };
  15. +
  16. + spi1_pins_a: spi1@0 {
  17. + allwinner,pins = "PI16", "PI17", "PI18", "PI19";
  18. + allwinner,function = "spi1";
  19. + allwinner,drive = <0>;
  20. + allwinner,pull = <0>;
  21. + };
  22. +
  23. + spi2_pins_a: spi2@0 {
  24. + allwinner,pins = "PC19", "PC20", "PC21", "PC22";
  25. + allwinner,function = "spi2";
  26. + allwinner,drive = <0>;
  27. + allwinner,pull = <0>;
  28. + };
  29. };
  30. timer@01c20c00 {