arm64: dts: meson-g12a: Add IR nodes
authorNeil Armstrong <narmstrong@baylibre.com>
Fri, 12 Apr 2019 10:05:16 +0000 (12:05 +0200)
committerKevin Hilman <khilman@baylibre.com>
Tue, 21 May 2019 17:58:39 +0000 (10:58 -0700)
Amlogic G12A SoCs uses the exact same IR decoder as previous
families, add the IR node and the pintctrl setting.

Signed-off-by: Neil Armstrong <narmstrong@baylibre.com>
Reviewed-by: Martin Blumenstingl<martin.blumenstingl@googlemail.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
arch/arm64/boot/dts/amlogic/meson-g12a.dtsi

index efadd78..2f4f4dd 100644 (file)
                                                mux {
                                                        groups = "pwm_ao_d_e";
                                                        function = "pwm_ao_d";
+                                               };
+                                       };
+
+                                       remote_input_ao_pins: remote-input-ao {
+                                               mux {
+                                                       groups = "remote_ao_input";
+                                                       function = "remote_ao_input";
                                                        bias-disable;
                                                };
                                        };
                                status = "disabled";
                        };
 
+                       ir: ir@8000 {
+                               compatible = "amlogic,meson-gxbb-ir";
+                               reg = <0x0 0x8000 0x0 0x20>;
+                               interrupts = <GIC_SPI 196 IRQ_TYPE_EDGE_RISING>;
+                               status = "disabled";
+                       };
+
                        saradc: adc@9000 {
                                compatible = "amlogic,meson-g12a-saradc",
                                             "amlogic,meson-saradc";