[<prev] [next>] [day] [month] [year] [list]
Message-ID: <AM3PR03MB0966D9984EDA595D2888DC25AC770@AM3PR03MB0966.eurprd03.prod.outlook.com>
Date: Sat, 2 Mar 2019 17:03:14 +0000
From: Jonas Karlman <jonas@...boo.se>
To: "linux-rockchip@...ts.infradead.org"
<linux-rockchip@...ts.infradead.org>
CC: Heiko Stuebner <heiko@...ech.de>, Rob Herring <robh+dt@...nel.org>,
"Mark Rutland" <mark.rutland@....com>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
"devicetree@...r.kernel.org" <devicetree@...r.kernel.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
Jonas Karlman <jonas@...boo.se>
Subject: [PATCHi 3/3] arm64: dts: rockchip: add ir-receiver node on
rk3328-rock64
Add ir-receiver node to enable on-board IR on Rock64.
Signed-off-by: Jonas Karlman <jonas@...boo.se>
---
arch/arm64/boot/dts/rockchip/rk3328-rock64.dts | 13 +++++++++++++
1 file changed, 13 insertions(+)
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
index c4031b7718fc..25d0f57254fb 100644
--- a/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3328-rock64.dts
@@ -79,6 +79,13 @@
};
};
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
+ pinctrl-0 = <&ir_int>;
+ pinctrl-names = "default";
+ };
+
sound {
compatible = "audio-graph-card";
label = "rockchip,rk3328";
@@ -297,6 +304,12 @@
};
&pinctrl {
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <2 RK_PA2 RK_FUNC_GPIO &pcfg_pull_none>;
+ };
+ };
+
pmic {
pmic_int_l: pmic-int-l {
rockchip,pins = <2 RK_PA6 RK_FUNC_GPIO &pcfg_pull_up>;
--
2.17.1
Powered by blists - more mailing lists