diff options
author | Peter Robinson <pbrobinson@gmail.com> | 2021-06-13 22:52:35 +0100 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-06-19 10:43:57 +0200 |
commit | 4fab8e3655e476170281884d999c4d758d405fac (patch) | |
tree | 6f43a24924efd99f61a3d6119986bb18f7720463 | |
parent | ba2401ab87bc2049a49d45f75013f6faebd120f1 (diff) | |
download | linux-4fab8e3655e476170281884d999c4d758d405fac.tar.bz2 |
arm64: dts: rockchip: add infrared receiver node to RK3399 Firefly
This adds the RK3399 Firefly’s infrared receiver to its dts.
Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
Link: https://lore.kernel.org/r/20210613215237.830160-2-pbrobinson@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-firefly.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts index 6bbf79a370df..ca85890824e4 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts +++ b/arch/arm64/boot/dts/rockchip/rk3399-firefly.dts @@ -94,6 +94,13 @@ }; }; + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; + pinctrl-0 = <&ir_int>; + pinctrl-names = "default"; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -595,6 +602,12 @@ }; }; + ir { + ir_int: ir-int { + rockchip,pins = <0 RK_PA6 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; + lcd-panel { lcd_panel_reset: lcd-panel-reset { rockchip,pins = <4 RK_PD6 RK_FUNC_GPIO &pcfg_pull_up>; |