diff options
author | Yixun Lan <yixun.lan@amlogic.com> | 2017-12-15 15:59:06 +0100 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2018-01-06 00:27:31 +0100 |
commit | 7bd46a79aad54953229ddde8714f37f3d878e092 (patch) | |
tree | 8be0b76f4debc5f8617371f54f05bbbdfa12c9d2 /arch/arm64/boot/dts/amlogic | |
parent | arm64: dts: meson-axg: switch uart_ao clock to CLK81 (diff) | |
download | linux-7bd46a79aad54953229ddde8714f37f3d878e092.tar.xz linux-7bd46a79aad54953229ddde8714f37f3d878e092.zip |
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>
Diffstat (limited to 'arch/arm64/boot/dts/amlogic')
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg-s400.dts | 6 | ||||
-rw-r--r-- | arch/arm64/boot/dts/amlogic/meson-axg.dtsi | 14 |
2 files changed, 20 insertions, 0 deletions
diff --git a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts index 70eca1f8736a..e85fb665f12e 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts +++ b/arch/arm64/boot/dts/amlogic/meson-axg-s400.dts @@ -20,3 +20,9 @@ &uart_AO { status = "okay"; }; + +&ir { + status = "okay"; + pinctrl-0 = <&remote_input_ao_pins>; + pinctrl-names = "default"; +}; diff --git a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi index e2b8a9c8bf0b..1c4f1aa1cd98 100644 --- a/arch/arm64/boot/dts/amlogic/meson-axg.dtsi +++ b/arch/arm64/boot/dts/amlogic/meson-axg.dtsi @@ -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"; + }; }; }; }; |