From: Beniamino Galvani Date: Sun, 13 Jul 2014 12:10:01 +0000 (+0200) Subject: ARM: dts: rk3188-radxarock: add GPIO IR receiver node X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=08567053f5cc4255ab53b75277b6102a3202bd75;p=linux-beck.git 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 Signed-off-by: Heiko Stuebner --- 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 = ; }; }; + + ir-receiver { + ir_recv_pin: ir-recv-pin { + rockchip,pins = ; + }; + }; }; &uart0 {