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

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
...@@ -20,3 +20,9 @@ aliases { ...@@ -20,3 +20,9 @@ aliases {
&uart_AO { &uart_AO {
status = "okay"; status = "okay";
}; };
&ir {
status = "okay";
pinctrl-0 = <&remote_input_ao_pins>;
pinctrl-names = "default";
};
...@@ -342,6 +342,13 @@ gpio_ao: bank@14 { ...@@ -342,6 +342,13 @@ gpio_ao: bank@14 {
#gpio-cells = <2>; #gpio-cells = <2>;
gpio-ranges = <&pinctrl_aobus 0 0 15>; 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 { pwm_AO_ab: pwm@7000 {
...@@ -375,6 +382,13 @@ uart_AO_B: serial@4000 { ...@@ -375,6 +382,13 @@ uart_AO_B: serial@4000 {
clock-names = "xtal", "pclk", "baud"; clock-names = "xtal", "pclk", "baud";
status = "disabled"; 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";
};
}; };
}; };
}; };
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment