提交 08567053 编写于 作者: B Beniamino Galvani 提交者: Heiko Stuebner

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: NBeniamino Galvani <b.galvani@gmail.com>
Signed-off-by: NHeiko Stuebner <heiko@sntech.de>
上级 550c7f4e
......@@ -58,6 +58,13 @@
};
};
ir_recv: gpio-ir-receiver {
compatible = "gpio-ir-receiver";
gpios = <&gpio0 10 1>;
pinctrl-names = "default";
pinctrl-0 = <&ir_recv_pin>;
};
vcc_sd0: sdmmc-regulator {
compatible = "regulator-fixed";
regulator-name = "sdmmc-supply";
......@@ -191,6 +198,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>;
};
};
};
&uart0 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册