summaryrefslogtreecommitdiff
path: root/arch/arm/boot/dts/rk3288-r89.dts
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2015-11-27 23:35:00 +0100
committerHeiko Stuebner <heiko@sntech.de>2015-12-04 20:01:27 +0100
commit066111411101f6b020af1a7c752859a12476ba21 (patch)
treef2c757fbd3f54988e5c8b199428f288003658604 /arch/arm/boot/dts/rk3288-r89.dts
parent0560d7c678ae9f4c67b7480f9a42a72c0655c5c5 (diff)
ARM: dts: rockchip: add gpio-ir-receiver to the R89 board
Add support for the IR receiver present on the R89 board. Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Diffstat (limited to 'arch/arm/boot/dts/rk3288-r89.dts')
-rw-r--r--arch/arm/boot/dts/rk3288-r89.dts13
1 files changed, 13 insertions, 0 deletions
diff --git a/arch/arm/boot/dts/rk3288-r89.dts b/arch/arm/boot/dts/rk3288-r89.dts
index 14b9fc73c8a4..17f13c73fe5e 100644
--- a/arch/arm/boot/dts/rk3288-r89.dts
+++ b/arch/arm/boot/dts/rk3288-r89.dts
@@ -78,6 +78,13 @@
};
};
+ ir: ir-receiver {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpio7 0 GPIO_ACTIVE_LOW>;
+ pinctrl-names = "default";
+ pinctrl-0 = <&ir_int>;
+ };
+
vcc_host: vcc-host-regulator {
compatible = "regulator-fixed";
enable-active-high;
@@ -310,6 +317,12 @@
};
};
+ ir {
+ ir_int: ir-int {
+ rockchip,pins = <7 0 RK_FUNC_GPIO &pcfg_pull_up>;
+ };
+ };
+
pmic {
pmic_int: pmic-int {
rockchip,pins = <RK_GPIO0 4 RK_FUNC_GPIO &pcfg_pull_up>;