02-13-2018, 01:01 PM
The device tree node below should enable the IR receiver.
See https://github.com/Kwiboo/linux-rockchip...#L108-L115
Code:
ir-receiver {
compatible = "gpio-ir-receiver";
gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
linux,rc-map-name = "rc-pine64";
pinctrl-0 = <&ir_int>;
pinctrl-names = "default";
status = "okay";
};