diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2014-07-13 14:10:01 +0200 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-07-27 00:25:59 +0200 |
commit | 08567053f5cc4255ab53b75277b6102a3202bd75 (patch) | |
tree | 549f009c32fed96ce816ae40f2a11f6467031689 /arch/arm/boot/dts/rk3188-radxarock.dts | |
parent | ARM: dts: rockchip: add pwm nodes (diff) | |
download | linux-08567053f5cc4255ab53b75277b6102a3202bd75.tar.xz linux-08567053f5cc4255ab53b75277b6102a3202bd75.zip |
ARM: dts: rk3188-radxarock: add GPIO IR receiver node
This adds a device tree node for the infrared receiver connected to a
GPIO pin on the Radxa Rock.
Signed-off-by: Beniamino Galvani <b.galvani@gmail.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3188-radxarock.dts')
-rw-r--r-- | arch/arm/boot/dts/rk3188-radxarock.dts | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts index 7628b4868d2a..b7f34232e3d2 100644 --- a/arch/arm/boot/dts/rk3188-radxarock.dts +++ b/arch/arm/boot/dts/rk3188-radxarock.dts @@ -58,6 +58,13 @@ }; }; + ir_recv: gpio-ir-receiver { + compatible = "gpio-ir-receiver"; + gpios = <&gpio0 10 1>; + pinctrl-names = "default"; + pinctrl-0 = <&ir_recv_pin>; + }; + vcc_sd0: sdmmc-regulator { compatible = "regulator-fixed"; regulator-name = "sdmmc-supply"; @@ -191,6 +198,12 @@ rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>; }; }; + + ir-receiver { + ir_recv_pin: ir-recv-pin { + rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>; + }; + }; }; &uart0 { |