diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2015-11-23 17:36:28 +0300 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2015-11-23 19:18:45 +0300 |
commit | 3a035ea0e9e92614efe08465813b16aa40048d7c (patch) | |
tree | 96cca21937a43f684358ba7ca5a09a01596b7c81 /arch/arm/boot/dts/rk3288-rock2-square.dts | |
parent | e241657de0ced9b40cad126f461b23a8d6c1b563 (diff) | |
download | linux-3a035ea0e9e92614efe08465813b16aa40048d7c.tar.xz |
ARM: dts: rockchip: Add IR receiver to RK3288 Radxa Rock 2 Square
Add support for the IR receiver as present on the Radxa Rock 2 Square
board.
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-rock2-square.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3288-rock2-square.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-rock2-square.dts b/arch/arm/boot/dts/rk3288-rock2-square.dts index 8af35c867a80..c5453a0b07fc 100644 --- a/arch/arm/boot/dts/rk3288-rock2-square.dts +++ b/arch/arm/boot/dts/rk3288-rock2-square.dts @@ -49,6 +49,13 @@ stdout-path = "serial2:115200n8"; }; + ir: ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio8 1 GPIO_ACTIVE_LOW>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_int>; + }; + sound { compatible = "simple-audio-card"; simple-audio-card,name = "SPDIF"; @@ -131,6 +138,12 @@ }; &pinctrl { + ir { + ir_int: ir-int { + rockchip,pins = <8 1 RK_FUNC_GPIO &pcfg_pull_up>; + }; + }; + pmic { pmic_int: pmic-int { rockchip,pins = <0 4 RK_FUNC_GPIO &pcfg_pull_up>; |