Skip to content

Commit

Permalink
ARM: dts: sun4i: Add ir node to various boards
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Hans de Goede authored and Maxime Ripard committed Jul 1, 2014
1 parent a4e1099 commit 4a5c586
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/sun4i-a10-a1000.dts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,12 @@
};
};

ir0: ir@01c21800 {
pinctrl-names = "default";
pinctrl-0 = <&ir0_pins_a>;
status = "okay";
};

uart0: serial@01c28000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/sun4i-a10-cubieboard.dts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,12 @@
};
};

ir0: ir@01c21800 {
pinctrl-names = "default";
pinctrl-0 = <&ir0_pins_a>;
status = "okay";
};

uart0: serial@01c28000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
Expand Down
6 changes: 6 additions & 0 deletions arch/arm/boot/dts/sun4i-a10-hackberry.dts
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,12 @@
};
};

ir0: ir@01c21800 {
pinctrl-names = "default";
pinctrl-0 = <&ir0_pins_a>;
status = "okay";
};

uart0: serial@01c28000 {
pinctrl-names = "default";
pinctrl-0 = <&uart0_pins_a>;
Expand Down
13 changes: 13 additions & 0 deletions arch/arm/boot/dts/sun4i-a10-mini-xplus.dts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,19 @@
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>;
Expand Down

0 comments on commit 4a5c586

Please sign in to comment.