]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
ARM: dts: rockchip: add gpio-ir-receiver to the R89 board
authorHeiko Stuebner <heiko@sntech.de>
Fri, 27 Nov 2015 22:35:00 +0000 (23:35 +0100)
committerHeiko Stuebner <heiko@sntech.de>
Fri, 4 Dec 2015 19:01:27 +0000 (20:01 +0100)
Add support for the IR receiver present on the R89 board.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
arch/arm/boot/dts/rk3288-r89.dts

index 14b9fc73c8a47f704d0b78a64a1fc42762e1d031..17f13c73fe5e078e1adebbd1932615d41b89bbcb 100644 (file)
@@ -78,6 +78,13 @@ button@0 {
                };
        };
 
+       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 @@ pwrbtn: pwrbtn {
                };
        };
 
+       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>;