281-dt-sun7i-add-ir-pins.patch 1017 B

123456789101112131415161718192021222324252627282930313233343536
  1. From 7720fe5faadae243806833c7a7ec5d15bae244c4 Mon Sep 17 00:00:00 2001
  2. From: Alexander Bersenev <bay@hackerdom.ru>
  3. Date: Mon, 9 Jun 2014 00:08:11 +0600
  4. Subject: [PATCH] ARM: sunxi: Add pins for IR controller on A20 to dtsi
  5. This patch adds pins for two IR controllers on A20
  6. Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
  7. Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org>
  8. ---
  9. arch/arm/boot/dts/sun7i-a20.dtsi | 14 ++++++++++++++
  10. 1 file changed, 14 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -746,6 +746,20 @@
  14. allwinner,drive = <2>;
  15. allwinner,pull = <0>;
  16. };
  17. +
  18. + ir0_pins_a: ir0@0 {
  19. + allwinner,pins = "PB3","PB4";
  20. + allwinner,function = "ir0";
  21. + allwinner,drive = <0>;
  22. + allwinner,pull = <0>;
  23. + };
  24. +
  25. + ir1_pins_a: ir1@0 {
  26. + allwinner,pins = "PB22","PB23";
  27. + allwinner,function = "ir1";
  28. + allwinner,drive = <0>;
  29. + allwinner,pull = <0>;
  30. + };
  31. };
  32. timer@01c20c00 {