ARM: sunxi: Enable IR controller on cubieboard 2 and cubietruck in dts
authorAlexander Bersenev <bay@hackerdom.ru>
Sun, 8 Jun 2014 18:08:13 +0000 (00:08 +0600)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Mon, 16 Jun 2014 13:29:02 +0000 (15:29 +0200)
This patch enables two IR devices in dts:
- One IR device physically found on Cubieboard 2
- One IR device physically found on Cubietruck

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-cubieboard2.dts
arch/arm/boot/dts/sun7i-a20-cubietruck.dts

index a5ad945..a70f0b4 100644 (file)
                        };
                };
 
+               ir0: ir@01c21800 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&ir0_pins_a>;
+                       status = "okay";
+               };
+
                uart0: serial@01c28000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&uart0_pins_a>;
index b87fea9..96639d5 100644 (file)
                        status = "okay";
                };
 
+               ir0: ir@01c21800 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&ir0_pins_a>;
+                       status = "okay";
+               };
+
                uart0: serial@01c28000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&uart0_pins_a>;