diff options
author | Beniamino Galvani <b.galvani@gmail.com> | 2014-07-13 08:10:01 -0400 |
---|---|---|
committer | Heiko Stuebner <heiko@sntech.de> | 2014-07-26 18:25:59 -0400 |
commit | 08567053f5cc4255ab53b75277b6102a3202bd75 (patch) | |
tree | 549f009c32fed96ce816ae40f2a11f6467031689 | |
parent | 550c7f4e6377cf5093b1b8d6b99cde2506bfea23 (diff) |
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>
-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 @@ | |||
58 | }; | 58 | }; |
59 | }; | 59 | }; |
60 | 60 | ||
61 | ir_recv: gpio-ir-receiver { | ||
62 | compatible = "gpio-ir-receiver"; | ||
63 | gpios = <&gpio0 10 1>; | ||
64 | pinctrl-names = "default"; | ||
65 | pinctrl-0 = <&ir_recv_pin>; | ||
66 | }; | ||
67 | |||
61 | vcc_sd0: sdmmc-regulator { | 68 | vcc_sd0: sdmmc-regulator { |
62 | compatible = "regulator-fixed"; | 69 | compatible = "regulator-fixed"; |
63 | regulator-name = "sdmmc-supply"; | 70 | regulator-name = "sdmmc-supply"; |
@@ -191,6 +198,12 @@ | |||
191 | rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>; | 198 | rockchip,pins = <RK_GPIO3 27 RK_FUNC_GPIO &pcfg_output_low>; |
192 | }; | 199 | }; |
193 | }; | 200 | }; |
201 | |||
202 | ir-receiver { | ||
203 | ir_recv_pin: ir-recv-pin { | ||
204 | rockchip,pins = <RK_GPIO0 10 RK_FUNC_GPIO &pcfg_pull_none>; | ||
205 | }; | ||
206 | }; | ||
194 | }; | 207 | }; |
195 | 208 | ||
196 | &uart0 { | 209 | &uart0 { |