aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/mips
diff options
context:
space:
mode:
authorAlex Smith <alex.smith@imgtec.com>2020-03-06 22:06:31 +0100
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2020-03-23 13:43:32 +0100
commitf5e8fcf85a25bac26c32a0000dbab5857ead9113 (patch)
tree9c5b265113365a29b0cb5e50cfb42c4b1496d49f /arch/mips
parentMerge tag 'mips_fixes_5.6.1' into mips-next (diff)
downloadwireguard-linux-f5e8fcf85a25bac26c32a0000dbab5857ead9113.tar.xz
wireguard-linux-f5e8fcf85a25bac26c32a0000dbab5857ead9113.zip
MIPS: DTS: CI20: add DT node for IR sensor
The infrared sensor on the CI20 board is connected to a GPIO and can be operated by using the gpio-ir-recv driver. Add a DT node for the sensor to allow that driver to be used. Signed-off-by: Alex Smith <alex.smith@imgtec.com> Signed-off-by: H. Nikolaus Schaller <hns@goldelico.com> Reviewed-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'arch/mips')
-rw-r--r--arch/mips/boot/dts/ingenic/ci20.dts5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingenic/ci20.dts
index c340f947baa0..fc4e64200c3d 100644
--- a/arch/mips/boot/dts/ingenic/ci20.dts
+++ b/arch/mips/boot/dts/ingenic/ci20.dts
@@ -62,6 +62,11 @@
enable-active-high;
};
+ ir: ir {
+ compatible = "gpio-ir-receiver";
+ gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
+ };
+
wlan0_power: fixedregulator@1 {
compatible = "regulator-fixed";
regulator-name = "wlan0_power";