Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7bd46a79 authored by Yixun Lan's avatar Yixun Lan Committed by Kevin Hilman
Browse files

ARM64: dts: meson-axg: enable IR controller



Enable IR remote controller which found in Amlogic's Meson-AXG SoCs.

Signed-off-by: default avatarYixun Lan <yixun.lan@amlogic.com>
Signed-off-by: default avatarKevin Hilman <khilman@baylibre.com>
parent 06b7a631
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -20,3 +20,9 @@
&uart_AO {
	status = "okay";
};

&ir {
	status = "okay";
	pinctrl-0 = <&remote_input_ao_pins>;
	pinctrl-names = "default";
};
+14 −0
Original line number Diff line number Diff line
@@ -342,6 +342,13 @@
					#gpio-cells = <2>;
					gpio-ranges = <&pinctrl_aobus 0 0 15>;
				};

				remote_input_ao_pins: remote_input_ao {
					mux {
						groups = "remote_input_ao";
						function = "remote_input_ao";
					};
				};
			};

			pwm_AO_ab: pwm@7000 {
@@ -375,6 +382,13 @@
				clock-names = "xtal", "pclk", "baud";
				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";
			};
		};
	};
};