From: Chen-Yu Tsai Date: Tue, 1 Dec 2015 05:47:22 +0000 (+0800) Subject: ARM: dts: sun9i: Add consumer IR receiver device node and pinmux settings X-Git-Tag: v4.14-rc1~3962^2~16^2~26 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1595b37cb212242791dd4ac9334242d32c8ad2c5;p=platform%2Fkernel%2Flinux-rpi.git ARM: dts: sun9i: Add consumer IR receiver device node and pinmux settings The Allwinner A80 SoC has a consumer IR receiver, which is the same as older SoCs. Signed-off-by: Chen-Yu Tsai Signed-off-by: Maxime Ripard --- diff --git a/arch/arm/boot/dts/sun9i-a80.dtsi b/arch/arm/boot/dts/sun9i-a80.dtsi index d02ee5d..80777a3 100644 --- a/arch/arm/boot/dts/sun9i-a80.dtsi +++ b/arch/arm/boot/dts/sun9i-a80.dtsi @@ -858,6 +858,18 @@ #reset-cells = <1>; }; + r_ir: ir@08002000 { + compatible = "allwinner,sun5i-a13-ir"; + interrupts = ; + 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>; @@ -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 = ; + allwinner,pull = ; + }; }; }; };