Skip to content

Commit

Permalink
ARM64: dts: meson-axg: enable IR controller
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Yixun Lan authored and Kevin Hilman committed Jan 5, 2018
1 parent 06b7a63 commit 7bd46a7
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
6 changes: 6 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-axg-s400.dts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,9 @@
&uart_AO {
status = "okay";
};

&ir {
status = "okay";
pinctrl-0 = <&remote_input_ao_pins>;
pinctrl-names = "default";
};
14 changes: 14 additions & 0 deletions arch/arm64/boot/dts/amlogic/meson-axg.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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";
};
};
};
};

0 comments on commit 7bd46a7

Please sign in to comment.