From 7d5f171d034c0f3fb321e8fefda009abff14d01e Mon Sep 17 00:00:00 2001 From: Liangbin Lian Date: Sun, 31 May 2026 14:30:13 +0800 Subject: [PATCH] target/rockchip: easepi r2 IR use upstream driver Signed-off-by: Liangbin Lian --- target/linux/rockchip/dts/rk3588/rk3588-easepi-r2.dts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/target/linux/rockchip/dts/rk3588/rk3588-easepi-r2.dts b/target/linux/rockchip/dts/rk3588/rk3588-easepi-r2.dts index a9fa8df25d..c6c5939a8e 100644 --- a/target/linux/rockchip/dts/rk3588/rk3588-easepi-r2.dts +++ b/target/linux/rockchip/dts/rk3588/rk3588-easepi-r2.dts @@ -208,6 +208,13 @@ reset-gpios = <&gpio2 RK_PB5 GPIO_ACTIVE_LOW>; }; + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio3 RK_PB2 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_receiver_pin>; + }; + fan0: gpio_fan0 { compatible = "gpio-fan"; fan-supply = <&vcc12v_dcin>; @@ -591,7 +598,7 @@ }; }; -// IR receiver +// IR receiver, but we use gpio-ir-receiver driver &pwm3 { compatible = "rockchip,remotectl-pwm"; pinctrl-names = "default"; @@ -599,7 +606,7 @@ remote_pwm_id = <3>; handle_cpu_id = <1>; remote_support_psci = <0>; - status = "okay"; + status = "disabled"; }; &saradc {