summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVivek Unune <npcomplete13@gmail.com>2020-03-14 02:05:13 +0300
committerHeiko Stuebner <heiko@sntech.de>2020-03-17 03:48:12 +0300
commitcd2fd91e3defe7730dc68dc1c1271434e5f27f55 (patch)
treecf3680501d920bcc7c0e9f6f44655702b79af0b0
parent77460b3d7d794fd30c010958c2346cc9ac5aadd4 (diff)
downloadlinux-cd2fd91e3defe7730dc68dc1c1271434e5f27f55.tar.xz
arm64: dts: rockchip: Add Hugsun X99 IR receiver
Add the IR receiver and its associated pinctrl entry. Tested with LibreElec linux-next-20200305 Signed-off-by: Vivek Unune <npcomplete13@gmail.com> Link: https://lore.kernel.org/r/20200313230513.123049-1-npcomplete13@gmail.com Signed-off-by: Heiko Stuebner <heiko@sntech.de>
-rw-r--r--arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts b/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts
index ee4867fbefe8..9bd14bc0e7d5 100644
--- a/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts
+++ b/arch/arm64/boot/dts/rockchip/rk3399-hugsun-x99.dts
@@ -29,6 +29,13 @@
regulator-max-microvolt = <5000000>;
};
+ ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio0 RK_PA6 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_rx>;
+ };
+
vcc_sys: vcc-sys {
compatible = "regulator-fixed";
regulator-name = "vcc_sys";
@@ -483,6 +490,12 @@
};
};
+ ir {
+ ir_rx: ir-rx {
+ rockchip,pins = <0 RK_PA6 1 &pcfg_pull_none>;
+ };
+ };
+
pmic {
pmic_int_l: pmic-int-l {
rockchip,pins =