瀏覽代碼

ARM: dts: meson8b: odroid-c1: enable the IR receiver

The Odroid-C1 comes with an IR receiver. It is connected to the GPIOAO_7
pin and thus using the SoC's internal IR decoder.

Signed-off-by: Martin Blumenstingl <martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Martin Blumenstingl 7 年之前
父節點
當前提交
15b520f132
共有 2 個文件被更改,包括 13 次插入0 次删除
  1. 6 0
      arch/arm/boot/dts/meson8b-odroidc1.dts
  2. 7 0
      arch/arm/boot/dts/meson8b.dtsi

+ 6 - 0
arch/arm/boot/dts/meson8b-odroidc1.dts

@@ -148,6 +148,12 @@
 	};
 };
 
+&ir_receiver {
+	status = "okay";
+	pinctrl-0 = <&ir_recv_pins>;
+	pinctrl-names = "default";
+};
+
 &sdio {
 	status = "okay";
 

+ 7 - 0
arch/arm/boot/dts/meson8b.dtsi

@@ -148,6 +148,13 @@
 				function = "uart_ao";
 			};
 		};
+
+		ir_recv_pins: remote {
+			mux {
+				groups = "remote_input";
+				function = "remote";
+			};
+		};
 	};
 };