From: Jonas Karlman Date: Sat, 2 Mar 2019 17:03:14 +0000 (+0000) Subject: arm64: dts: rockchip: add ir-receiver node on rk3328-rock64 X-Git-Tag: v5.4-rc1~968^2~8^2~23 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e31882e05ae58f733e0805338bbe317f5f95bb9f;p=platform%2Fkernel%2Flinux-rpi.git arm64: dts: rockchip: add ir-receiver node on rk3328-rock64 Add ir-receiver node to enable on-board IR on Rock64. Signed-off-by: Jonas Karlman Signed-off-by: Heiko Stuebner --- diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts index 4c09322..bb65f70 100644 --- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts +++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts @@ -65,6 +65,13 @@ regulator-max-microvolt = <5000000>; }; + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&ir_int>; + pinctrl-names = "default"; + }; + leds { compatible = "gpio-leds"; @@ -297,6 +304,12 @@ }; &pinctrl { + ir { + ir_int: ir-int { + rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + pmic { pmic_int_l: pmic-int-l { rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;