ARM: sunxi: Add IR controllers on A20 to dtsi
authorAlexander Bersenev <bay@hackerdom.ru>
Sat, 21 Jun 2014 11:04:05 +0000 (17:04 +0600)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 23 Jun 2014 13:08:17 +0000 (15:08 +0200)
This patch adds records for two IR controllers on A20

Signed-off-by: Alexander Bersenev <bay@hackerdom.ru>
Signed-off-by: Alexsey Shestacov <wingrime@linux-sunxi.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun7i-a20.dtsi

index 656d7d36a16227879bf36c7425f9d53258ac7848..17823759bdc9ace2ed52b60cfa43c99008e32c72 100644 (file)
                        status = "disabled";
                };
 
+               ir0: ir@01c21800 {
+                       compatible = "allwinner,sun7i-a20-ir";
+                       clocks = <&apb0_gates 6>, <&ir0_clk>;
+                       clock-names = "apb", "ir";
+                       interrupts = <0 5 4>;
+                       reg = <0x01c21800 0x40>;
+                       status = "disabled";
+               };
+
+               ir1: ir@01c21c00 {
+                       compatible = "allwinner,sun7i-a20-ir";
+                       clocks = <&apb0_gates 7>, <&ir1_clk>;
+                       clock-names = "apb", "ir";
+                       interrupts = <0 6 4>;
+                       reg = <0x01c21c00 0x40>;
+                       status = "disabled";
+               };
+
                sid: eeprom@01c23800 {
                        compatible = "allwinner,sun7i-a20-sid";
                        reg = <0x01c23800 0x200>;