Skip to content

Commit

Permalink
ARM: dts: sun9i: Add consumer IR receiver device node and pinmux sett…
Browse files Browse the repository at this point in the history
…ings

The Allwinner A80 SoC has a consumer IR receiver, which is the same as
older SoCs.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
  • Loading branch information
Chen-Yu Tsai authored and Maxime Ripard committed Dec 1, 2015
1 parent d2118f0 commit 1595b37
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions arch/arm/boot/dts/sun9i-a80.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -858,6 +858,18 @@
#reset-cells = <1>;
};

r_ir: ir@08002000 {
compatible = "allwinner,sun5i-a13-ir";
interrupts = <GIC_SPI 37 IRQ_TYPE_LEVEL_HIGH>;
pinctrl-names = "default";
pinctrl-0 = <&r_ir_pins>;
clocks = <&apbs_gates 1>, <&r_ir_clk>;
clock-names = "apb", "ir";
resets = <&apbs_rst 1>;
reg = <0x08002000 0x40>;
status = "disabled";
};

r_uart: serial@08002800 {
compatible = "snps,dw-apb-uart";
reg = <0x08002800 0x400>;
Expand All @@ -881,6 +893,13 @@
#address-cells = <1>;
#size-cells = <0>;
#gpio-cells = <3>;

r_ir_pins: r_ir {
allwinner,pins = "PL6";
allwinner,function = "s_cir_rx";
allwinner,drive = <SUN4I_PINCTRL_10_MA>;
allwinner,pull = <SUN4I_PINCTRL_NO_PULL>;
};
};
};
};

0 comments on commit 1595b37

Please sign in to comment.