[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1405253401-15534-1-git-send-email-b.galvani@gmail.com>
Date: Sun, 13 Jul 2014 14:10:01 +0200
From: Beniamino Galvani <b.galvani@...il.com>
To: linux-arm-kernel@...ts.infradead.org
Cc: Heiko Stuebner <heiko@...ech.de>, linux-kernel@...r.kernel.org,
Beniamino Galvani <b.galvani@...il.com>
Subject: [PATCH] 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@...il.com>
---
arch/arm/boot/dts/rk3188-radxarock.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm/boot/dts/rk3188-radxarock.dts b/arch/arm/boot/dts/rk3188-radxarock.dts
index 19d45b4..1d87bcb 100644
--- a/arch/arm/boot/dts/rk3188-radxarock.dts
+++ b/arch/arm/boot/dts/rk3188-radxarock.dts
@@ -23,6 +23,13 @@
reg = <0x60000000 0x80000000>;
};
+ ir_recv: ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio0 10 1>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_recv_pin>;
+ };
+
soc {
uart0: serial@...24000 {
status = "okay";
@@ -117,6 +124,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>;
+ };
+ };
};
};
--
1.7.10.4
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists