OSDN Git Service

ARM: dts: meson8b: odroid-c1: enable the IR receiver
authorMartin Blumenstingl <martin.blumenstingl@googlemail.com>
Sun, 6 May 2018 20:57:49 +0000 (22:57 +0200)
committerKevin Hilman <khilman@baylibre.com>
Wed, 9 May 2018 22:38:16 +0000 (15:38 -0700)
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>
arch/arm/boot/dts/meson8b-odroidc1.dts
arch/arm/boot/dts/meson8b.dtsi

index 7d8ad46..ef3177d 100644 (file)
        };
 };
 
+&ir_receiver {
+       status = "okay";
+       pinctrl-0 = <&ir_recv_pins>;
+       pinctrl-names = "default";
+};
+
 &sdio {
        status = "okay";
 
index 6cfd7e2..08f7f6b 100644 (file)
                                function = "uart_ao";
                        };
                };
+
+               ir_recv_pins: remote {
+                       mux {
+                               groups = "remote_input";
+                               function = "remote";
+                       };
+               };
        };
 };