mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
96b6eb8a77
commit
f5e8fcf85a
|
@ -62,6 +62,11 @@ eth0_power: fixedregulator@0 {
|
||||||
enable-active-high;
|
enable-active-high;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
ir: ir {
|
||||||
|
compatible = "gpio-ir-receiver";
|
||||||
|
gpios = <&gpe 3 GPIO_ACTIVE_LOW>;
|
||||||
|
};
|
||||||
|
|
||||||
wlan0_power: fixedregulator@1 {
|
wlan0_power: fixedregulator@1 {
|
||||||
compatible = "regulator-fixed";
|
compatible = "regulator-fixed";
|
||||||
regulator-name = "wlan0_power";
|
regulator-name = "wlan0_power";
|
||||||
|
|
Loading…
Reference in New Issue