283-dt-sun7i-add-ir-to-cb2-cbt.patch 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. From 05cffcda932b0914d78a08891c13e61593a6ce02 Mon Sep 17 00:00:00 2001
  2. From: Alexander Bersenev <bay@hackerdom.ru>
  3. Date: Mon, 9 Jun 2014 00:08:13 +0600
  4. Subject: [PATCH] ARM: sunxi: Enable IR controller on cubieboard 2 and
  5. cubietruck in dts
  6. This patch enables two IR devices in dts:
  7. - One IR device physically found on Cubieboard 2
  8. - One IR device physically found on Cubietruck
  9. Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
  10. Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org>
  11. ---
  12. arch/arm/boot/dts/sun7i-a20-cubieboard2.dts | 6 ++++++
  13. arch/arm/boot/dts/sun7i-a20-cubietruck.dts | 6 ++++++
  14. 2 files changed, 12 insertions(+)
  15. --- a/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
  16. +++ b/arch/arm/boot/dts/sun7i-a20-cubieboard2.dts
  17. @@ -64,6 +64,12 @@
  18. };
  19. };
  20. + ir0: ir@01c21800 {
  21. + pinctrl-names = "default";
  22. + pinctrl-0 = <&ir0_pins_a>;
  23. + status = "okay";
  24. + };
  25. +
  26. uart0: serial@01c28000 {
  27. pinctrl-names = "default";
  28. pinctrl-0 = <&uart0_pins_a>;
  29. --- a/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  30. +++ b/arch/arm/boot/dts/sun7i-a20-cubietruck.dts
  31. @@ -114,6 +114,12 @@
  32. };
  33. };
  34. + ir0: ir@01c21800 {
  35. + pinctrl-names = "default";
  36. + pinctrl-0 = <&ir0_pins_a>;
  37. + status = "okay";
  38. + };
  39. +
  40. uart0: serial@01c28000 {
  41. pinctrl-names = "default";
  42. pinctrl-0 = <&uart0_pins_a>;