ARM64: dts: meson-axg: enable IR controller

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

Signed-off-by: Yixun Lan <yixun.lan@amlogic.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
This commit is contained in:
Yixun Lan 2017-12-15 22:59:06 +08:00 committed by Kevin Hilman
parent 06b7a63187
commit 7bd46a79aa
2 changed files with 20 additions and 0 deletions

View File

@ -20,3 +20,9 @@
&uart_AO {
status = "okay";
};
&ir {
status = "okay";
pinctrl-0 = <&remote_input_ao_pins>;
pinctrl-names = "default";
};

View File

@ -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";
};
};
};
};