[PATCH 1/7] ARM: dts: sun8i: h3: nanopi-m1: Enable IR controller

Philipp Rossak embed3d at gmail.com
Tue Aug 29 20:01:04 PDT 2017


From: Philipp Rossak <embed3d at gmail.com>

The Nanopi M1 has an onboard IR receiver.
This enables the onboard IR receiver subnode.

Signed-off-by: Philipp Rossak <embed3d at gmail.com>
---
 arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts b/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
index ec63d10..3a2ccdb 100644
--- a/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
+++ b/arch/arm/boot/dts/sun8i-h3-nanopi-m1.dts
@@ -55,6 +55,12 @@
 	status = "okay";
 };
 
+&ir {
+	pinctrl-names = "default";
+	pinctrl-0 = <&ir_pins_a>;
+	status = "okay";
+};
+
 &ohci1 {
 	status = "okay";
 };
-- 
2.7.4




More information about the linux-arm-kernel mailing list