282-dt-sun7i-add-ir-ctrlers.patch 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. From 0af3258f87d590864187b0187c7aa7428801ef80 Mon Sep 17 00:00:00 2001
  2. From: Alexander Bersenev <bay@hackerdom.ru>
  3. Date: Mon, 9 Jun 2014 00:08:12 +0600
  4. Subject: [PATCH] ARM: sunxi: Add IR controllers on A20 to dtsi
  5. This patch adds records 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 | 18 ++++++++++++++++++
  10. 1 file changed, 18 insertions(+)
  11. --- a/arch/arm/boot/dts/sun7i-a20.dtsi
  12. +++ b/arch/arm/boot/dts/sun7i-a20.dtsi
  13. @@ -785,6 +785,24 @@
  14. interrupts = <0 24 4>;
  15. };
  16. + ir0: ir@01c21800 {
  17. + compatible = "allwinner,sun7i-a20-ir";
  18. + clocks = <&apb0_gates 6>, <&ir0_clk>;
  19. + clock-names = "apb", "ir";
  20. + interrupts = <0 5 4>;
  21. + reg = <0x01c21800 0x40>;
  22. + status = "disabled";
  23. + };
  24. +
  25. + ir1: ir@01c21c00 {
  26. + compatible = "allwinner,sun7i-a20-ir";
  27. + clocks = <&apb0_gates 7>, <&ir1_clk>;
  28. + clock-names = "apb", "ir";
  29. + interrupts = <0 6 4>;
  30. + reg = <0x01c21c00 0x40>;
  31. + status = "disabled";
  32. + };
  33. +
  34. lradc: lradc@01c22800 {
  35. compatible = "allwinner,sun4i-lradc-keys";
  36. reg = <0x01c22800 0x100>;