ARM: dts: sun4i: Add ir node to various boards
authorHans de Goede <hdegoede@redhat.com>
Mon, 30 Jun 2014 21:57:59 +0000 (23:57 +0200)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 1 Jul 2014 08:05:38 +0000 (10:05 +0200)
Tested on a cubieboard and the mini-x.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/boot/dts/sun4i-a10-a1000.dts
arch/arm/boot/dts/sun4i-a10-cubieboard.dts
arch/arm/boot/dts/sun4i-a10-hackberry.dts
arch/arm/boot/dts/sun4i-a10-mini-xplus.dts

index 55d951070bff57b1dceed8f8a89ca2394714d10b..9e99ade35e37b3e2117bd1b3fd9ef304875cdfc2 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 539b693f69ddc3f68878c170b7d106d9bc42bc68..3ce56bfbc0b5f6ee46b685112648b5c9af7c8fbf 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 21df4e3f7ba3e0f17b6582f25e06ddec9f2188d7..891ea446abae9480f189b2d95fb31608ca5aa3f9 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 387770db995f76e52477ae87df4b3d11dff3dca2..b9ecce60f2e7e68d77621ec9a99a4b2ddbedd07a 100644 (file)
                        status = "okay";
                };
 
+               pinctrl@01c20800 {
+                       ir0_pins_a: ir0@0 {
+                               /* The ir receiver is not always populated */
+                               allwinner,pull = <1>;
+                       };
+               };
+
+               ir0: ir@01c21800 {
+                       pinctrl-names = "default";
+                       pinctrl-0 = <&ir0_pins_a>;
+                       status = "okay";
+               };
+
                uart0: serial@01c28000 {
                        pinctrl-names = "default";
                        pinctrl-0 = <&uart0_pins_a>;