100-dt-sun7i-add_spi0_pins_a.patch 899 B

12345678910111213141516171819202122232425262728
  1. From 0253d14782f80cfd1741d4ddd82b83dd7d44a91e Mon Sep 17 00:00:00 2001
  2. From: Hans de Goede <hdegoede@redhat.com>
  3. Date: Mon, 28 Jul 2014 22:44:59 +0200
  4. Subject: [PATCH] ARM: dts: sun7i: Add spi0_pins_a pinctrl setting
  5. Signed-off-by: Hans de Goede <hdegoede@redhat.com>
  6. ---
  7. arch/arm/boot/dts/sun7i-a20.dtsi | 7 +++++++
  8. 1 file changed, 7 insertions(+)
  9. diff --git a/arch/arm/boot/dts/sun7i-a20.dtsi b/arch/arm/boot/dts/sun7i-a20.dtsi
  10. index 82097c9..4fb8930 100644
  11. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -784,6 +784,13 @@
  14. allwinner,pull = <0>;
  15. };
  16. + spi0_pins_a: spi0@0 {
  17. + allwinner,pins = "PI10", "PI11", "PI12", "PI13", "PI14";
  18. + allwinner,function = "spi0";
  19. + allwinner,drive = <0>;
  20. + allwinner,pull = <0>;
  21. + };
  22. +
  23. spi1_pins_a: spi1@0 {
  24. allwinner,pins = "PI16", "PI17", "PI18", "PI19";
  25. allwinner,function = "spi1";