mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
47 lines
1.2 KiB
Diff
47 lines
1.2 KiB
Diff
From f4d11b0e7f35b2cf9a5f864410e1f9e081d21329 Mon Sep 17 00:00:00 2001
|
|
From: Alex Bee <knaerzche@gmail.com>
|
|
Date: Sat, 27 Feb 2021 18:01:13 +0100
|
|
Subject: [PATCH 40/59] WIP/1002: arm64: dts: rockchip: Add ir-receiver node
|
|
for RK3328 ROC CC
|
|
|
|
Signed-off-by: Alex Bee <knaerzche@gmail.com>
|
|
---
|
|
arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi | 14 ++++++++++++++
|
|
1 file changed, 14 insertions(+)
|
|
|
|
diff --git a/arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi b/arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi
|
|
index 7eef6f7f108f..3fe0c17fd2b1 100644
|
|
--- a/arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi
|
|
+++ b/arch/arm64/boot/dts/rockchip/rk3328-roc.dtsi
|
|
@@ -84,6 +84,13 @@ vcc_phy: regulator-vcc-phy {
|
|
regulator-boot-on;
|
|
};
|
|
|
|
+ ir-receiver {
|
|
+ compatible = "gpio-ir-receiver";
|
|
+ gpios = <&gpio2 RK_PA2 GPIO_ACTIVE_LOW>;
|
|
+ pinctrl-0 = <&ir_int>;
|
|
+ pinctrl-names = "default";
|
|
+ };
|
|
+
|
|
leds {
|
|
compatible = "gpio-leds";
|
|
|
|
@@ -304,6 +311,13 @@ &io_domains {
|
|
};
|
|
|
|
&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 = <1 RK_PD0 RK_FUNC_GPIO &pcfg_pull_up>;
|
|
--
|
|
2.34.1
|
|
|