diff options
author | Alex Bee <knaerzche@gmail.com> | 2021-06-19 14:16:42 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2021-06-19 23:49:14 +0200 |
commit | e1d635bc94bce69e45a2d4e93c94178613e01229 (patch) | |
tree | 0a97c0929ecfd895fe9c0d375bfb757cb594c35f /arch/arm64 | |
parent | a406bfda89c78a75327f8b6a0281b5d3bed493a1 (diff) | |
download | linux-stable-e1d635bc94bce69e45a2d4e93c94178613e01229.tar.gz linux-stable-e1d635bc94bce69e45a2d4e93c94178613e01229.tar.bz2 linux-stable-e1d635bc94bce69e45a2d4e93c94178613e01229.zip |
arm64: dts: rockchip: add ir-receiver for rk3399-roc-pc
Like some other RK3399 boards RK3399-ROC-PC has an ir receiver
connected to pwm3 which can be used as gpio-ir-receiver.
Signed-off-by: Alex Bee <knaerzche@gmail.com>
Link: https://lore.kernel.org/r/20210619121642.7892-1-knaerzche@gmail.com
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm64')
-rw-r--r-- | arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi index c172f5a803e7..ac441fd5f981 100644 --- a/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi +++ b/arch/arm64/boot/dts/rockchip/rk3399-roc-pc.dtsi @@ -63,6 +63,13 @@ }; }; + ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_int>; + }; + leds { compatible = "gpio-leds"; pinctrl-names = "default"; @@ -601,6 +608,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_PD5 RK_FUNC_GPIO &pcfg_pull_up>; |